Antoine Pitrou
9e82b17e9d
Issue #21711 : support for "site-python" directories has now been removed from the site module (it was deprecated in 3.4).
2014-06-12 19:41:30 -04:00
Larry Hastings
d9d7567eac
Issue #21629 : Merge from 3.4.
2014-06-11 04:36:09 -07:00
Larry Hastings
f150378ef0
Issue #21629 : Fix Argument Clinic's "--converters" feature.
2014-06-11 04:31:29 -07:00
Giampaolo Rodola'
915d14190e
fix issue #17552 : add socket.sendfile() method allowing to send a file over a socket by using high-performance os.sendfile() on UNIX. Patch by Giampaolo Rodola'·
2014-06-11 03:54:30 +02:00
Serhiy Storchaka
b398d33c65
Issue #18039 : dbm.dump.open() now always creates a new database when the
...
flag has the value 'n'. Patch by Claudiu Popa.
2014-06-10 21:16:00 +03:00
Victor Stinner
f10642e8a9
Merge 3.4
2014-06-10 10:26:38 +02:00
Victor Stinner
bb2fc5b2a5
Issue #21326 : Add a new is_closed() method to asyncio.BaseEventLoop
...
Add BaseEventLoop._closed attribute and use it to check if the event loop was
closed or not, instead of checking different attributes in each subclass of
BaseEventLoop.
run_forever() and run_until_complete() methods now raise a RuntimeError('Event loop is
closed') exception if the event loop was closed.
BaseProactorEventLoop.close() now also cancels "accept futures".
2014-06-10 10:23:10 +02:00
Serhiy Storchaka
3a56117a60
Issue #21310 : Fixed possible resource leak in failed open().
2014-06-09 13:35:43 +03:00
Serhiy Storchaka
f10063e3c3
Issue #21310 : Fixed possible resource leak in failed open().
2014-06-09 13:32:34 +03:00
Kushal Das
047f14c3c6
Closes #21256 : Printout of keyword args in deterministic order in mock calls.
...
Printout of keyword args should be in deterministic order in
a mock function call. This will help to write better doctests.
2014-06-09 13:45:56 +05:30
Serhiy Storchaka
85e4235c0e
Issue #21677 : Fixed chaining nonnormalized exceptions in io close() methods.
2014-06-09 09:15:42 +03:00
Serhiy Storchaka
8a8f7f9830
Issue #21677 : Fixed chaining nonnormalized exceptions in io close() methods.
2014-06-09 09:13:04 +03:00
Benjamin Peterson
4fb01ffe66
backout 0fb7789b5eeb for test breakage ( #20578 )
2014-06-07 23:18:12 -07:00
Benjamin Peterson
eac219436c
merge 3.4 ( #11709 )
2014-06-07 20:17:29 -07:00
Benjamin Peterson
159824ea2a
make sure the builtin help function doesn't fail when sys.stdin is not a valid file ( closes #11709 )
...
Original patch by Amaury Forgeot d'Arc with a test by bdettmer.
2014-06-07 20:14:26 -07:00
Benjamin Peterson
10e847bbc7
add BufferedIOBase.readinto1 ( closes #20578 )
...
Patch by Nikolaus Rath.
2014-06-07 20:06:48 -07:00
Benjamin Peterson
66f80e92c3
merge 3.4 ( #12063 )
2014-06-07 17:55:53 -07:00
Benjamin Peterson
96e0430dfb
document TokenError and unclosed expression behavior ( closes #12063 )
...
Patch by Amandine Lee.
2014-06-07 17:47:41 -07:00
Benjamin Peterson
9d19da701d
merge 3.4 ( #13223 )
2014-06-07 16:47:15 -07:00
Benjamin Peterson
ed1160b39c
don't remove self from example code in the HTML output ( closes #13223 )
...
Patch by Víctor Terrón.
2014-06-07 16:44:00 -07:00
Benjamin Peterson
edb07d28fb
merge 3.4 ( #21463 )
2014-06-07 15:09:36 -07:00
Benjamin Peterson
3c2dca67ac
in ftp cache pruning, avoid changing the size of a dict while iterating over it ( closes #21463 )
...
Patch by Skyler Leigh Amador.
2014-06-07 15:08:04 -07:00
Benjamin Peterson
33919e8423
merge 3.4 ( #21404 )
2014-06-07 12:48:09 -07:00
Benjamin Peterson
9b2731bfdd
document the compress_level argument to tarfile.open ( closes #21404 )
...
Patch by Katherine Busch.
2014-06-07 12:45:37 -07:00
Benjamin Peterson
3e439797ba
merge 3.4 ( #21642 )
2014-06-07 12:39:51 -07:00
Benjamin Peterson
c416162302
allow the keyword else immediately after (no space) an integer ( closes #21642 )
2014-06-07 12:36:39 -07:00
Zachary Ware
3266a8fa59
Issue #21671 : Merge with 3.4
2014-06-06 01:27:34 -05:00
Zachary Ware
7d55da42a4
Issue #21671 , CVE-2014-0224: Update the Windows build to openssl-1.0.1h
2014-06-06 01:23:53 -05:00
Victor Stinner
d967fc9da2
Issue #21515 : tempfile.TemporaryFile now uses os.O_TMPFILE flag is available
2014-06-05 14:27:45 +02:00
Terry Jan Reedy
7497ec0fd0
Merge heads from 3.4.
2014-06-05 03:45:08 -04:00
Terry Jan Reedy
537e2c8632
Issue #18910 : Add unittest for textView. Patch by Phil Webster.
2014-06-05 03:38:34 -04:00
Terry Jan Reedy
13f4aba10b
merge from 3.4
2014-06-04 20:54:43 -04:00
Terry Jan Reedy
7936e6f755
Issue #18292 : Idle - test AutoExpand. Patch by Saihadhav Heblikar.
2014-06-04 20:50:59 -04:00
Terry Jan Reedy
24330ffb4d
Merge with 3.4
2014-06-03 20:57:15 -04:00
Terry Jan Reedy
e3fcfc240d
Issue #18409 : Idle: add unittest for AutoComplete. Patch by Phil Webster.
2014-06-03 20:54:21 -04:00
Terry Jan Reedy
15ec11e4e3
Merge with 3.4
2014-06-02 20:43:13 -04:00
Terry Jan Reedy
b52f876767
Issue 21533: Dicts take iterables, not iterators. Patch by Wolfgang Maier.
2014-06-02 20:42:56 -04:00
Zachary Ware
e7e1375e57
Issue #18492 : Merge with 3.4
2014-06-02 16:04:25 -05:00
Zachary Ware
66f2928479
Issue #18492 : Allow all resources when tests are not run by regrtest.py.
...
This changeset also includes cleanup allowed by this behavior change.
2014-06-02 16:01:29 -05:00
Victor Stinner
2bc4d95bb6
Issue #21233 : Revert bytearray(int) optimization using calloc()
2014-06-02 22:22:42 +02:00
Victor Stinner
f849f46487
(Merge 3.4) Issue #21634 : Fix pystone micro-benchmark: use floor division
...
instead of true division to benchmark integers instead of floating point
numbers. Set pystone version to 1.2. Patch written by Lennart Regebro.
2014-06-02 14:18:15 +02:00
Victor Stinner
d4d39c761c
Issue #21634 : Fix pystone micro-benchmark: use floor division instead of true
...
division to benchmark integers instead of floating point numbers. Set pystone
version to 1.2. Patch written by Lennart Regebro.
2014-06-02 14:16:44 +02:00
Ned Deily
8f794eef9b
Issue #17095 : Fix Modules/Setup *shared* support.
...
Original patch by Thomas Wouters.
2014-06-02 01:15:32 -07:00
Ned Deily
b166191886
Issue #17095 : Fix Modules/Setup *shared* support.
...
Original patch by Thomas Wouters.
2014-06-02 01:05:29 -07:00
Gregory P. Smith
3fe9e8d5a5
Don't restrict ourselves to a "max" fd when closing fds before exec()
...
when we have a way to get an actual list of all open fds from the OS.
Fixes issue #21618 : The subprocess module would ignore fds that were
inherited by the calling process and already higher than POSIX resource
limits would otherwise allow. On systems with a functioning /proc/self/fd
or /dev/fd interface the max is now ignored and all fds are closed.
2014-06-01 13:22:12 -07:00
Gregory P. Smith
d4dcb70287
Don't restrict ourselves to a "max" fd when closing fds before exec()
...
when we have a way to get an actual list of all open fds from the OS.
Fixes issue #21618 : The subprocess module would ignore fds that were
inherited by the calling process and already higher than POSIX resource
limits would otherwise allow. On systems with a functioning /proc/self/fd
or /dev/fd interface the max is now ignored and all fds are closed.
2014-06-01 13:18:28 -07:00
Serhiy Storchaka
3ffa7ab2ef
Issue #21605 : Added tests for Tkinter images.
2014-06-01 12:36:39 +03:00
Serhiy Storchaka
694c3153b0
Issue #21605 : Added tests for Tkinter images.
2014-06-01 12:34:56 +03:00
Brett Cannon
2a17bde930
Issue #20383 : Introduce importlib.util.module_from_spec().
...
Along the way, dismantle importlib._bootstrap._SpecMethods as it was
no longer relevant and constructing the new function required
partially dismantling the class anyway.
2014-05-30 14:55:29 -04:00
Serhiy Storchaka
1753d2255e
Issue #21552 : Fixed possible integer overflow of too long string lengths in
...
the tkinter module on 64-bit platforms.
2014-05-30 14:25:22 +03:00