- 26 Feb, 2012 2 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
-
- 25 Feb, 2012 13 commits
-
-
Ezio Melotti authored
-
Ezio Melotti authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
When people find bugs in scripts such as reindent.py, msgfmt.py or pygettext.py, we have to try to reproduce the bug manually, apply a fix and test manually again. The alternative is to only read the code and trust that it works. This test file is a way to stop that unsatisfactory state of things and write proper unit tests instead.
-
Éric Araujo authored
-
Éric Araujo authored
These regex changes fix a number of issues for distutils on Windows: - #6884: impossible to include a file starting with 'build' - #9691 and #14004: sdist includes too many files - #13193: test_filelist failures This commit replaces the incorrect changes done in 0a94e2f807c7 and 90b30d62caf2 to fix #13193; we were too eager to fix the test failures and I did not study the code enough before greenlighting patches. This time we have unit tests from the problems reported by users to be sure we have the right fix. Thanks to Nadeem Vawda for his help.
-
Nadeem Vawda authored
-
Stefan Krah authored
and lifetime issues of dynamically allocated Py_buffer members (#9990) as well as crashes (#8305, #7433). Many new features have been added (See whatsnew/3.3), and the documentation has been updated extensively. The ndarray test object from _testbuffer.c implements all aspects of PEP-3118, so further development towards the complete implementation of the PEP can proceed in a test-driven manner. Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review and many ideas. - Issue #12834: Fix incorrect results of memoryview.tobytes() for non-contiguous arrays. - Issue #5231: Introduce memoryview.cast() method that allows changing format and shape without making a copy of the underlying memory.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Philip Jenvey authored
-
Victor Stinner authored
dict anymore if the key is present. Reject also non-string qualified names. And fix reference leaks in type.__new__().
-
- 24 Feb, 2012 13 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
str.title(). Compute correctly how much memory is required for the test (memuse).
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Brett Cannon authored
-
Antoine Pitrou authored
-
Ezio Melotti authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Victor Stinner authored
-
Brett Cannon authored
-
Brett Cannon authored
-
- 23 Feb, 2012 12 commits
-
-
Victor Stinner authored
* Decode thousands separator and decimal point using PyUnicode_DecodeLocale() (from the locale encoding), instead of decoding them implicitly from latin1 * Remove _PyUnicode_InsertThousandsGroupingLocale(), it was not used * Change _PyUnicode_InsertThousandsGrouping() API to return the maximum character if unicode is NULL * Replace MIN/MAX macros by Py_MIN/Py_MAX * stringlib/undef.h undefines STRINGLIB_IS_UNICODE * stringlib/localeutil.h only supports Unicode
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Victor Stinner authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Georg Brandl authored
-
Georg Brandl authored
-