Stefan Krah
9a2d99e28a
- Issue #10181 : New memoryview implementation fixes multiple ownership
...
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.
2012-02-25 12:24:21 +01:00
Martin v. Löwis
5a3d04623b
Merge with 3.2
2012-02-25 10:47:30 +01:00
Martin v. Löwis
3d4809f464
Package mime.types
2012-02-25 10:40:13 +01:00
Philip Jenvey
4b42ff609d
unused imports, pep8
2012-02-24 21:48:17 -08:00
Victor Stinner
6f73874edd
Close #14095 : type.__new__() doesn't remove __qualname__ key from the class
...
dict anymore if the key is present. Reject also non-string qualified names.
And fix reference leaks in type.__new__().
2012-02-25 01:22:36 +01:00
Victor Stinner
b0800dc53b
Oops, revert unwanted changes
2012-02-25 00:47:08 +01:00
Victor Stinner
abc649ddbe
Issue #14107 : fix bigmem tests on str.capitalize(), str.swapcase() and
...
str.title(). Compute correctly how much memory is required for the test
(memuse).
2012-02-25 00:43:27 +01:00
Benjamin Peterson
c6fbf47b28
merge heads
2012-02-24 11:49:07 -05:00
Benjamin Peterson
6eaaeff00e
merge 3.2
2012-02-24 11:48:47 -05:00
Benjamin Peterson
ab5a044aec
merge 3.2.2 release branch for rc
2012-02-24 11:47:29 -05:00
Brett Cannon
625cd23da4
Simplify importib._resolve_name().
2012-02-24 11:20:54 -05:00
Antoine Pitrou
842c0f17eb
Fix compilation error under Windows (and warnings too).
2012-02-24 13:30:46 +01:00
Ezio Melotti
91932da338
#13973 : move a couple of imports at module level. Patch by Tshepang Lekhonkhobe.
2012-02-24 12:44:04 +02:00
Brett Cannon
2fe4bb10e7
merge
2012-02-23 20:48:13 -05:00
Brett Cannon
4b03b68635
Turn _return_module() into _handle_fromlist().
2012-02-23 20:47:57 -05:00
Victor Stinner
90f50d4df9
Issue #13706 : Fix format(float, "n") for locale with non-ASCII decimal point (e.g. ps_aF)
2012-02-24 01:44:47 +01:00
Brett Cannon
6858cabb26
merge
2012-02-23 19:34:55 -05:00
Brett Cannon
dfc32706a0
Make the benchmark recording more sensible for importlib.test.benchmark.
2012-02-23 19:34:35 -05:00
Victor Stinner
41a863cb81
Issue #13706 : Fix format(int, "n") for locale with non-ASCII thousands separator
...
* 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
2012-02-24 00:37:51 +01:00
Brett Cannon
dcb30cf959
merge
2012-02-23 18:30:04 -05:00
Brett Cannon
f500778f65
Improper type for __package__ should raise TypeError, not ValueError.
2012-02-23 18:29:12 -05:00
Brett Cannon
068915cc8b
Do a type check instead of an interface check.
2012-02-23 18:18:48 -05:00
Victor Stinner
0a786221d9
Issue #13846 : Enhance time.monotonic() documentation
2012-02-24 00:10:45 +01:00
Vinay Sajip
a751885e0e
Merged upstream changes.
2012-02-23 20:55:35 +00:00
Vinay Sajip
349c900ed0
Merged upstream changes.
2012-02-23 20:53:40 +00:00
Vinay Sajip
13d244f72e
Merged upstream changes.
2012-02-23 20:51:57 +00:00
Vinay Sajip
323e4fb864
Merged fix added for recent changes in non-threading environments.
2012-02-23 20:51:18 +00:00
Vinay Sajip
f05090372a
Fix added for recent changes in non-threading environments.
2012-02-23 20:49:08 +00:00
Georg Brandl
195261ea45
Added tag v3.2.3rc1 for changeset 7085403daf43
2012-02-23 21:19:41 +01:00
Georg Brandl
2142ee8718
Update copyright year.
2012-02-23 21:19:25 +01:00
Georg Brandl
e578021696
Add 3.2.3 to license.
2012-02-23 21:19:18 +01:00
Georg Brandl
335d628a66
merge with 3.2
2012-02-23 21:17:27 +01:00
Georg Brandl
bada35bdf5
merge heads
2012-02-23 21:16:49 +01:00
Georg Brandl
afe05bd494
Bump version to 3.2.3rc1.
2012-02-23 21:14:12 +01:00
Georg Brandl
29ca21c702
Update pydoc topics.
2012-02-23 21:12:41 +01:00
Georg Brandl
eb25fb7af7
Fix markup errors.
2012-02-23 21:12:39 +01:00
Vinay Sajip
57c223791d
Merged logging flush/close changes from 3.2.
2012-02-23 20:03:49 +00:00
Vinay Sajip
0abf61db4d
logging: Added locking in flush() and close() handler methods. Thanks to Fayaz Yusuf Khan for the suggestion.
2012-02-23 19:45:52 +00:00
Benjamin Peterson
c4c90bdf20
merge 3.2
2012-02-23 10:54:36 -05:00
Benjamin Peterson
ba528f57ca
merge 3.1
2012-02-23 10:54:28 -05:00
Benjamin Peterson
273cd1812a
update copyright year
2012-02-23 10:53:44 -05:00
Benjamin Peterson
ea1cb7a9c3
merge 3.2
2012-02-23 10:48:22 -05:00
Benjamin Peterson
bff13be344
merge 3.1 (with 3.1.5rc1 release tag)
2012-02-23 10:48:03 -05:00
Benjamin Peterson
31833d4728
Added tag v3.1.5rc1 for changeset ee26aca3219c
2012-02-23 10:46:00 -05:00
Benjamin Peterson
36a6558891
version now 3.1.5rc1
2012-02-23 10:45:48 -05:00
Brett Cannon
5b761f1dca
Merge
2012-02-23 10:17:56 -05:00
Nadeem Vawda
197e22c1d7
Simplify zlib bigmem tests.
2012-02-23 14:23:17 +02:00
Nadeem Vawda
bc8c8175cc
Fix previous fix (for test_zlib) to work on 32-bit systems.
2012-02-23 14:16:15 +02:00
Nadeem Vawda
b063a48406
Issue #13873 : Fix crash in test_zlib on bigmem buildbot.
2012-02-23 13:36:25 +02:00
Brett Cannon
34d8e41a47
Refactor importlib to make it easier to re-implement in C.
2012-02-22 18:33:05 -05:00