Richard Oudkerk
3165a75e45
Merge 3.2
2012-08-14 12:51:14 +01:00
Richard Oudkerk
e88a2445bc
Issue #15646 : Prevent equivalent of a fork bomb when using multiprocessing
...
on Windows without the "if __name__ == '__main__'" idiom.
2012-08-14 11:41:32 +01:00
Brian Curtin
835df52471
Merge 3.2
2012-08-13 17:12:02 -05:00
Brian Curtin
6f5c5cb75b
Fix #15496 . Add directory removal helpers to make Windows tests more reliable. Patch by Jeremy Kloth
2012-08-13 17:05:57 -05:00
Andrew Svetlov
4e9e9c1c44
Issue #15571 : comment the fact what python impl of TextIOWrapper always works in write_throuth mode
2012-08-13 16:09:54 +03:00
Brett Cannon
b428f47cf6
Don't overwrite a __path__ value from extension modules if already
...
set.
2012-08-11 19:43:29 -04:00
Georg Brandl
826d570779
Merge with 3.2.
2012-08-11 11:02:23 +02:00
Georg Brandl
7b250a5cff
Revert 961a15aff2a6, this is already checked in another way.
2012-08-11 11:02:14 +02:00
Georg Brandl
68fad6fb37
Merge with 3.2.
2012-08-11 10:59:45 +02:00
Georg Brandl
22bfa37ed0
Closes #15620 : check for presence of readline.clear_history(), which is apparently missing on some readline versions, before calling it in the test.
2012-08-11 10:59:23 +02:00
Georg Brandl
1b94ab79a9
Bump to 3.3b2.
2012-08-11 08:49:20 +02:00
Georg Brandl
a81b481e3a
Fix markup errors and update pydoc topics.
2012-08-11 08:43:59 +02:00
Meador Inge
80dd1af4e0
Issue #15424 : Add a __sizeof__ implementation for array objects.
...
Patch by Ludwig Hähne.
2012-08-10 23:21:39 -05:00
Meador Inge
03b4d5072a
Issue #15424 : Add a __sizeof__ implementation for array objects.
...
Patch by Ludwig Hähne.
2012-08-10 22:35:45 -05:00
Philip Jenvey
688a551ca0
fix docstring wording
2012-08-10 16:21:35 -07:00
Brett Cannon
f410ce8c09
Issue #15502 : Refactor some code.
2012-08-10 17:41:23 -04:00
Philip Jenvey
731d48a65f
update docstring per the extension package fix, refactor
2012-08-10 11:53:54 -07:00
Brett Cannon
ac9f2f3de3
Issue #15576 : Allow extension modules to be a package's __init__
...
module again. Also took the opportunity to stop accidentally exporting
_imp.extension_suffixes() as public.
2012-08-10 13:47:54 -04:00
Brett Cannon
f4dc9204cc
Issue #15502 : Finish bringing importlib.abc in line with the current
...
state of the import system. Also make importlib.invalidate_caches()
work with sys.meta_path instead of sys.path_importer_cache to
completely separate the path-based import system from the overall
import system.
Patch by Eric Snow.
2012-08-10 12:21:12 -04:00
Andrew Svetlov
25a02d403c
Issue #15601 : fix tkinter test_variables failure with OS X Aqua Tk 8.4
2012-08-09 21:51:21 +03:00
Ned Deily
3a2b97e48a
Issue #14992 : merge from 3.2
2012-08-08 21:03:02 -07:00
Ned Deily
c622f4254b
Issue #14992 : Prevent test_os test_exist_ok_s_isgid_directory test case
...
failure on OS X built with 10.4 ABI.
2012-08-08 20:57:24 -07:00
Victor Stinner
9d512ab97f
Issue #13072 : Fix test_array for installation without the ctypes module
2012-08-09 00:43:56 +02:00
Victor Stinner
2965011668
regrtest: give more information when a child process fails with an error
...
different than KeyboardInterrupt
2012-08-08 22:37:26 +02:00
Victor Stinner
bded28c081
Issue #13072 : Ooops, now fix test_array for Linux with 32-bit wchar_t...
2012-08-08 20:19:37 +02:00
Victor Stinner
8d4734f6b2
Issue #13072 : Fix test_array for Windows with 16-bit wchar_t
2012-08-08 20:09:21 +02:00
Benjamin Peterson
0ed05059de
merge heads
2012-08-06 17:53:19 -07:00
Benjamin Peterson
b37df519c7
fix yield from return value on custom iterators ( closes #15568 )
2012-08-06 17:53:09 -07:00
Brett Cannon
d340b43d75
Issue #15163 : Pydoc shouldn't show __loader__ as a part of a module's
...
data.
Also alphabetized the attributes in the blacklist to make it easier to
detect changes.
Initial patch by Éric Araujo.
2012-08-06 17:19:22 -04:00
Brett Cannon
cb4996afe4
Issue #15471 : Don't use mutable object as default values for the
...
parameters of importlib.__import__().
2012-08-06 16:34:44 -04:00
Benjamin Peterson
21603c96e8
merge heads
2012-08-05 15:05:53 -07:00
Benjamin Peterson
4eda93723e
add another testcase
2012-08-05 15:05:34 -07:00
Antoine Pitrou
415d0f5cd3
Merge
2012-08-05 14:53:49 +02:00
Antoine Pitrou
4adc9a8cc9
Fix CGI tests to take into account the platform's line ending (issue #13119 )
2012-08-05 14:53:33 +02:00
Antoine Pitrou
e768c39890
Fix CGI tests to take into account the platform's line ending (issue #13119 )
2012-08-05 14:52:45 +02:00
Nadeem Vawda
043540088a
#15546 : Also fix GzipFile.peek().
2012-08-05 14:45:41 +02:00
Nick Coghlan
e3ded955f3
Issue #14814 : Remove redundant property from interface objects - prefixlen can be accessed via the associated network object
2012-08-05 22:45:22 +10:00
Nick Coghlan
730f67f2fa
Issue 14814: Docs work showed some more cases of networks pretending to be addresses and highlighted the weird approach to implementing the 'is_whatever' properties. Impl now illustrates far more clearly that networks have a property if both their network and broadcast addresses have that property
2012-08-05 22:02:18 +10:00
Nick Coghlan
e0c3f5edc0
Close #15559 : Implementing __index__ creates a nasty interaction with the bytes constructor. At least for 3.3, ipaddress objects must now be explicitly converted with int() and thus can't be passed directly to the hex() builtin.
2012-08-05 18:20:17 +10:00
Nadeem Vawda
37d3ff1487
#15546 : Fix {GzipFile,LZMAFile}.read1()'s handling of pathological input data.
2012-08-05 02:19:09 +02:00
Antoine Pitrou
9c92a691e1
Fix test_venv to work with universal newlines (issue #13119 )
2012-08-05 00:33:10 +02:00
Antoine Pitrou
6f1a40ffd3
Merge universal newlines-related fixes (issue #13119 )
2012-08-05 00:25:31 +02:00
Antoine Pitrou
ec2d26930c
Fix universal newlines test to avoid the newline translation done by sys.stdout.
2012-08-05 00:23:40 +02:00
Antoine Pitrou
894375a2fd
Fix test_sys under Windows (issue #13119 )
2012-08-05 00:15:06 +02:00
Andrew Svetlov
fa556bd75c
Issue #13052 : Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
...
Patch by Roger Serwy.
2012-08-04 21:42:48 +03:00
Andrew Svetlov
5ad514d281
Issue #13052 : Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
...
Patch by Roger Serwy.
2012-08-04 21:38:22 +03:00
Antoine Pitrou
8aaeb2f4dc
Merge
2012-08-04 16:17:10 +02:00
Antoine Pitrou
848698727f
Issue #12655 : Instead of requiring a custom type, os.sched_getaffinity and
...
os.sched_setaffinity now use regular sets of integers to represent the
CPUs a process is restricted to.
2012-08-04 16:16:35 +02:00
Nadeem Vawda
8280b4ba02
#15546 : Fix BZ2File.read1()'s handling of pathological input data.
2012-08-04 15:29:28 +02:00
Giampaolo Rodola'
d9f38bc704
asynchat speedup improvement: avoid to use a function mimicking old buffer() builtin behavior; instead use plain slicing
2012-08-04 14:38:16 +02:00