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
Victor Stinner
b429d3b09c
Fix doc of an internal function: unicode_write_cstr()
2012-02-22 21:22:20 +01:00
Charles-François Natali
6db1c40b37
Issue #14077 : importlib: Fix regression introduced by de6703671386.
2012-02-22 21:03:09 +01:00
Antoine Pitrou
e887f3135c
Null merge
2012-02-22 19:23:13 +01:00
Antoine Pitrou
cf1c8339f9
Issue #14084 : Fix a file descriptor leak when importing a module with a bad encoding.
2012-02-22 18:08:30 +01:00