Senthil Kumaran
10cdc63dd4
Merge from 3.2. 'idle_formatwarning' is the correct method name.
2011-07-03 17:40:39 -07:00
Senthil Kumaran
aa90e7c573
Fix closes issue12438 - idlelib.PyShell's showformatwarning method was passing an incorrect arg.
2011-07-03 17:39:20 -07:00
Senthil Kumaran
ad1013c338
merge from 3.2
2011-07-03 17:21:44 -07:00
Senthil Kumaran
7079240c4a
Fix closes issue12432 - remove the unused sys from glob.py
2011-07-03 17:21:05 -07:00
Victor Stinner
5f9a995ad7
(merge 3.2) Issue #12451 : pydoc: importfile() now opens the Python script in
...
binary mode, instead of text mode using the locale encoding, to avoid encoding
issues.
2011-07-04 02:09:44 +02:00
Victor Stinner
e975af62f2
Issue #12451 : pydoc: importfile() now opens the Python script in binary mode,
...
instead of text mode using the locale encoding, to avoid encoding issues.
2011-07-04 02:08:50 +02:00
Victor Stinner
7d8c8a095a
(merge 3.2) Issue #12451 : runpy: run_path() now opens the Python script in
...
binary mode, instead of text mode using the locale encoding, to support other
encodings than UTF-8 (scripts using the coding cookie).
2011-07-04 01:47:40 +02:00
Victor Stinner
6c47102982
Issue #12451 : runpy: run_path() now opens the Python script in binary mode,
...
instead of text mode using the locale encoding, to support other encodings than
UTF-8 (scripts using the coding cookie).
2011-07-04 01:45:39 +02:00
Victor Stinner
3663abab59
(merge 3.2) Issue #12451 : xml.dom.pulldom: parse() now opens files in binary
...
mode instead of the text mode (using the locale encoding) to avoid encoding
issues.
2011-07-04 01:27:37 +02:00
Victor Stinner
bbdc08ea6e
Issue #12451 : xml.dom.pulldom: parse() now opens files in binary mode instead
...
of the text mode (using the locale encoding) to avoid encoding issues.
2011-07-04 01:25:55 +02:00
Benjamin Peterson
f07c9a1e69
this is expressed better as a for loop
2011-07-03 17:23:22 -05:00
Benjamin Peterson
9bfd0dee9b
no one passes NULL here (or should anyway)
2011-07-03 17:06:32 -05:00
Benjamin Peterson
878802435d
convert generator exc state functions into static functions
2011-07-03 16:48:31 -05:00
Benjamin Peterson
536feac7f8
merge 3.2
2011-07-03 16:27:41 -05:00
Benjamin Peterson
ac91341333
never retain a generator's caller's exception state on the generator after a yield/return
...
This requires some trickery to properly save the exception state if the
generator creates its own exception state.
2011-07-03 16:25:11 -05:00
Benjamin Peterson
ffada78059
merge 3.2
2011-07-03 13:50:16 -05:00
Benjamin Peterson
9cf960c94f
add '
2011-07-03 13:49:59 -05:00
Benjamin Peterson
7b7099c36f
merge 3.2 ( #12475 )
2011-07-03 13:48:36 -05:00
Benjamin Peterson
92843e3c14
merge heads
2011-07-03 13:45:33 -05:00
Benjamin Peterson
d2ed630243
merge heads
2011-07-03 13:44:56 -05:00
Benjamin Peterson
83195c3f0c
restore a generator's caller's exception state both on yield and (last) return
...
This prevents generator exception state from leaking into the caller.
Closes #12475 .
2011-07-03 13:44:00 -05:00
Benjamin Peterson
774f83cda4
merge 3.2
2011-07-03 13:32:17 -05:00
Benjamin Peterson
c77eccd608
add 3.2.2 heading
2011-07-03 13:31:34 -05:00
Senthil Kumaran
37d72b7164
merge from 3.2
2011-07-03 10:23:43 -07:00
Georg Brandl
aeaeefa88b
Remove mention of medical condition from the test suite.
2011-07-03 19:22:42 +02:00
Senthil Kumaran
946eb865a3
reST indentation fix in sqlite3 docs. rst uses 3 space indentation.
2011-07-03 10:17:22 -07:00
Antoine Pitrou
1c405b3e60
Followup to 51c1f2cedb96 (and issue #12456 ):
...
qsize() raises NotImplementedError on OS X, don't use it.
2011-07-03 13:17:06 +02:00
Vinay Sajip
4334d740ed
Issue #12406 : Added upates for packaging's .exe files, command_template, and sysconfig.cfg.
2011-07-03 10:35:41 +01:00
Georg Brandl
21e4a0a1ba
Dummy-merge configure change from 3.2 that is already in default.
2011-07-03 09:25:32 +02:00
Georg Brandl
187c111a55
Regenerate configure.
2011-07-03 09:23:20 +02:00
R David Murray
db4120bf9d
merge #12147 : make send_message correctly handle Sender and Resent- headers.
2011-07-02 21:10:44 -04:00
R David Murray
ac4e5abc78
#12147 : make send_message correctly handle Sender and Resent- headers.
...
Original patch by Nicolas Estibals. My tweaks to the patch were mostly
style/cosmetic, and adding more tests.
2011-07-02 21:03:19 -04:00
Antoine Pitrou
020436b0d4
Issue #12456 : fix a possible hang on shutdown of a concurrent.futures.ProcessPoolExecutor.
2011-07-02 21:20:25 +02:00
Vinay Sajip
aac0f75b3b
Correct uninitialized data problem in marshal code.
2011-07-02 18:42:21 +01:00
Vinay Sajip
401d09dca2
Merged unused variable removal from 3.2.
2011-07-02 17:22:58 +01:00
Vinay Sajip
623e8b86af
Removed some unused local variables.
2011-07-02 17:21:37 +01:00
Vinay Sajip
3232284391
Removed breaking typo accidentally introduced during merge with 3.2.
2011-07-02 17:19:51 +01:00
Vinay Sajip
65897a386e
Closes #12291 for 3.3 - merged fix from 3.2.
2011-07-02 17:16:02 +01:00
Vinay Sajip
5bdae3bb7c
Closes #12291 : Fixed bug which was found when doing multiple loads from one stream.
2011-07-02 16:42:47 +01:00
Éric Araujo
2ee61884fe
Clean up NEWS entry and tests for shutil.disk_usage ( #12442 )
2011-07-02 16:45:45 +02:00
Benjamin Peterson
9d872e19aa
fix possibily uninitialized memory usage ( closes #12474 )
2011-07-02 09:22:13 -05:00
Charles-François Natali
723585bbaf
Merge issue #12352 : Fix a deadlock in multiprocessing.Heap when a block is
...
freed by the garbage collector while the Heap lock is held.
2011-07-02 14:43:11 +02:00
Charles-François Natali
a4a04069fd
Merge issue #12352 : Fix a deadlock in multiprocessing.Heap when a block is
...
freed by the garbage collector while the Heap lock is held.
2011-07-02 14:39:53 +02:00
Charles-François Natali
778db49da9
Issue #12352 : Fix a deadlock in multiprocessing.Heap when a block is freed by
...
the garbage collector while the Heap lock is held.
2011-07-02 14:35:49 +02:00
R David Murray
7ae4448ed2
merge #11873 : another try at fixing the regex, courtesy of Victor Stinner
2011-07-01 14:57:00 -04:00
R David Murray
ee1a7cb4a4
#11873 : another try at fixing the regex, courtesy of Victor Stinner
2011-07-01 14:55:43 -04:00
R David Murray
296b96c635
merge #11873 : fix test regex so it covers windows os.sep as well.
2011-07-01 11:53:19 -04:00
R David Murray
a3bb2f5514
#11873 : fix test regex so it covers windows os.sep as well.
2011-07-01 11:51:50 -04:00
Victor Stinner
19e5bcdd9c
(merge 3.2) Issue #12363 : increase the timeout of siginterrupt() tests
...
Move also the "ready" trigger after the installation of the signal handler and
the call to siginterrupt().
Use a timeout of 5 seconds instead of 3. Two seconds are supposed to be enough,
but some of our buildbots are really slow (especially the FreeBSD 6 VM).
2011-07-01 15:59:54 +02:00
Victor Stinner
dfde0d4650
Issue #12363 : increase the timeout of siginterrupt() tests
...
Move also the "ready" trigger after the installation of the signal handler and
the call to siginterrupt().
Use a timeout of 5 seconds instead of 3. Two seconds are supposed to be enough,
but some of our buildbots are really slow (especially the FreeBSD 6 VM).
2011-07-01 15:58:39 +02:00