- 27 Feb, 2012 11 commits
-
-
Stefan Krah authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Éric Araujo authored
I added some tests in 2105ab8553b7 and found no bug, but it turns out that the doctest is not actually run. While converting the doctest to unittest style, I stumbled upon this bug again and this time applied the code patch provided by Filip Gruszczyński.
-
Stefan Krah authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
- 26 Feb, 2012 19 commits
-
-
Antoine Pitrou authored
Issue #13521: dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes. Patch by Filip Gruszczyński.
-
Antoine Pitrou authored
Issue #13521: dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes. Patch by Filip Gruszczyński.
-
Nadeem Vawda authored
-
Nadeem Vawda authored
-
Georg Brandl authored
-
Benjamin Peterson authored
-
Antoine Pitrou authored
-
Charles-François Natali authored
-
Gregory P. Smith authored
Issue #14123: Explicitly mention that old style % string formatting has caveats but is not going away any time soon.
-
Gregory P. Smith authored
but is not going away any time soon.
-
Nick Coghlan authored
-
Ezio Melotti authored
#14081: The sep and maxsplit parameter to str.split, bytes.split, and bytearray.split may now be passed as keyword arguments.
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
- 25 Feb, 2012 10 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
-