summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* - Issue #10181: New memoryview implementation fixes multiple ownershipStefan Krah2012-02-254-50/+3517
| | | | | | | | | | | | | | | | | | 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.
* unused imports, pep8Philip Jenvey2012-02-252-12/+12
|
* Close #14095: type.__new__() doesn't remove __qualname__ key from the classVictor Stinner2012-02-251-3/+13
| | | | | dict anymore if the key is present. Reject also non-string qualified names. And fix reference leaks in type.__new__().
* Issue #14107: fix bigmem tests on str.capitalize(), str.swapcase() andVictor Stinner2012-02-241-6/+39
| | | | | str.title(). Compute correctly how much memory is required for the test (memuse).
* Simplify importib._resolve_name().Brett Cannon2012-02-241-11/+5
|
* #13973: move a couple of imports at module level. Patch by Tshepang ↵Ezio Melotti2012-02-241-2/+1
| | | | Lekhonkhobe.
* mergeBrett Cannon2012-02-241-1/+9
|\
| * Issue #13706: Fix format(float, "n") for locale with non-ASCII decimal point ↵Victor Stinner2012-02-241-1/+9
| | | | | | | | (e.g. ps_aF)
* | Turn _return_module() into _handle_fromlist().Brett Cannon2012-02-241-25/+25
|/
* mergeBrett Cannon2012-02-241-0/+15
|\
| * Issue #13706: Fix format(int, "n") for locale with non-ASCII thousands separatorVictor Stinner2012-02-231-0/+15
| | | | | | | | | | | | | | | | | | | | | | * 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
* | Make the benchmark recording more sensible for importlib.test.benchmark.Brett Cannon2012-02-241-29/+27
|/
* mergeBrett Cannon2012-02-232-27/+54
|\
| * Merged fix added for recent changes in non-threading environments.Vinay Sajip2012-02-232-7/+28
| |\
| | * Fix added for recent changes in non-threading environments.Vinay Sajip2012-02-232-7/+28
| | |
| * | Merged logging flush/close changes from 3.2.Vinay Sajip2012-02-232-27/+33
| |\ \ | | |/
| | * logging: Added locking in flush() and close() handler methods. Thanks to ↵Vinay Sajip2012-02-232-29/+35
| | | | | | | | | | | | Fayaz Yusuf Khan for the suggestion.
| | * Fix (presumably) test_hash under big-endian systems (PPC).Antoine Pitrou2012-02-221-2/+8
| | |
* | | Improper type for __package__ should raise TypeError, not ValueError.Brett Cannon2012-02-232-2/+2
| | |
* | | Do a type check instead of an interface check.Brett Cannon2012-02-231-2/+2
|/ /
* | MergeBrett Cannon2012-02-231-29/+7
|\ \
| * | Simplify zlib bigmem tests.Nadeem Vawda2012-02-231-6/+2
| | |
| * | Fix previous fix (for test_zlib) to work on 32-bit systems.Nadeem Vawda2012-02-231-2/+2
| | |
| * | Issue #13873: Fix crash in test_zlib on bigmem buildbot.Nadeem Vawda2012-02-231-23/+5
| | |
* | | Refactor importlib to make it easier to re-implement in C.Brett Cannon2012-02-221-45/+31
|/ /
* | Issue #14077: importlib: Fix regression introduced by de6703671386.Charles-François Natali2012-02-221-3/+6
| |
* | Fix sporadic test_subprocess regression introduced by 834650d63130.Ross Lagerwall2012-02-221-2/+2
| |
* | Fix (presumably) test_hash under big-endian systems (PPC).Antoine Pitrou2012-02-221-2/+8
| |
* | Additional debug info in case of failureAntoine Pitrou2012-02-221-2/+1
| |
* | unload() should be sufficientAntoine Pitrou2012-02-221-2/+2
| |
* | Try to debug sporadic test failuresAntoine Pitrou2012-02-221-2/+5
| |
* | site: don't import traceback at startup to speed up Python startupVictor Stinner2012-02-211-1/+1
| |
* | enable hash randomization by defaultBenjamin Peterson2012-02-212-4/+4
| |
* | Actually run the new tests.Antoine Pitrou2012-02-211-0/+1
| |
* | Add a test that memoryviews have hash randomization enabled.Antoine Pitrou2012-02-211-0/+6
| |
* | Merge branch '3.2'Petri Lehtinen2012-02-211-0/+18
|\ \ | |/ | | | | Closes #8033.
| * sqlite3: Fix 64-bit integer handling in user functions on 32-bit architecturesPetri Lehtinen2012-02-211-0/+18
| | | | | | | | Closes #8033.
* | Merge the HTMLParser fix with 3.2.Ezio Melotti2012-02-212-7/+32
|\ \ | |/
| * HTMLParser is now able to handle slashes in the start tag.Ezio Melotti2012-02-212-7/+32
| |
* | update to Unicode 6.1Benjamin Peterson2012-02-211-2/+2
| |
* | Merge more test vs hashing-order fixes from 3.2.Georg Brandl2012-02-202-1/+3
|\ \ | |/
| * Disable an inspect test: it depends on dict ordering which parameter is ↵Georg Brandl2012-02-201-1/+2
| | | | | | | | reported as duplicate.
| * Delete the iterator, which could accidentally keep a temporary reference to ↵Antoine Pitrou2012-02-201-0/+1
| | | | | | | | the yielded element.
* | Merge 3.2: Issue #13703 plus some related test suite fixes.Georg Brandl2012-02-2020-80/+224
|\ \ | |/
| * Make "regrtest -j" "-R"-awareAntoine Pitrou2012-02-201-0/+1
| |
| * Fix obscure failures of datetime-related tests due to the datetime tests ↵Georg Brandl2012-02-202-19/+23
| | | | | | | | failing to restore the system state completely after testing the pure-Python versions.
| * Fix dbm_gnu test relying on set order.Georg Brandl2012-02-201-1/+1
| |
| * Fix use of deprecated assertRegexpMatches method.Georg Brandl2012-02-201-1/+1
| |
| * Remove setting hash seed to regrtest's random seed and re-execv()ing: this ↵Georg Brandl2012-02-201-5/+0
| | | | | | | | doesn't preserve Python flags and fails from a temp directory.
| * Another test_dis dict order dependency.Georg Brandl2012-02-201-6/+6
| |