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
Georg Brandl
a21513478f
Added tag v3.2.1rc2 for changeset 5df549718fb4
2011-07-03 11:54:09 +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
06ddddf117
NEWS rewrap.
2011-07-03 09:42:43 +02:00
Georg Brandl
d4fa7ed8db
Bump to 3.2.1rc2.
2011-07-03 09:41:27 +02:00
Georg Brandl
f069100d0d
Fix bad markup.
2011-07-03 09:39:49 +02:00
Georg Brandl
fa76ceb3c8
Update pydoc topics.
2011-07-03 09:31:04 +02:00
Georg Brandl
7f3cd98beb
Fix target path in message.
2011-07-03 09:30:42 +02: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
f8bebf8566
Improve reST target
2011-07-02 16:58:25 +02:00
Victor Stinner
2b49f12a63
(merge 3.2) Issue #12423 : Fix os.abort() documentation
...
The Python signal handler for SIGABRT is not called on os.abort() (only if the
signal is raised manually or sent by another process). Patch by Kamil Kisiel.
2011-07-08 02:27:06 +02:00
Victor Stinner
2cded9c3f3
Issue #12016 : Multibyte CJK decoders now resynchronize faster
...
They only ignore the first byte of an invalid byte sequence.
For example, b'\xff\n'.decode('gb2312', 'replace') gives '\ufffd\n' instead of
'\ufffd'.
2011-07-08 01:45:13 +02:00
Victor Stinner
081fe46ff9
Issue #9566 : cast unsigned int to Py_ssize_t in md5 and sha1 modules
...
Fix a compiler warning on Windows 64 bits.
2011-07-08 01:10:28 +02:00
Vinay Sajip
0bec35d2d0
Closes #12391 : temporary files are now cleaned up.
2011-07-07 12:59:31 +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
Victor Stinner
77c7218e37
(null merge 3.2, patch already applied to 3.3)
2011-07-01 15:25:58 +02:00
Victor Stinner
8d64248c69
Issue #12363 : improve siginterrupt() tests
...
Backport commits 968b9ff9a059 and aff0a7b0cb12 from the default branch to 3.2
branch. Extract of the changelog messages:
"The previous tests used time.sleep() to synchronize two processes. If the host
was too slow, the test could fail.
The new tests only use one process, but they use a subprocess to:
- have only one thread
- have a timeout on the blocking read (select cannot be used in the test,
select always fail with EINTR, the kernel doesn't restart it)
- not touch signal handling of the parent process"
and
"Add a basic synchronization code between the child and the parent processes:
the child writes "ready" to stdout."
I replaced .communicate(timeout=3.0) by an explicit waiting loop using
Popen.poll().
2011-07-01 15:24:50 +02:00