Łukasz Langa
949053bff2
Fix #19546 : onfigparser exceptions expose implementation details. Patch by Claudiu Popa.
2014-09-04 01:36:33 -07:00
Terry Jan Reedy
f29468118b
NEWS items for Idle.
2014-09-03 19:54:06 -04:00
Terry Jan Reedy
be74668dd5
NEWS items for Idle.
2014-09-03 19:52:46 -04:00
Terry Jan Reedy
e1562b56f5
merge with 3.4
2014-09-03 19:43:12 -04:00
Terry Jan Reedy
67fe046878
NEWS items for turtledemo.
2014-09-03 19:39:25 -04:00
Victor Stinner
ae58649721
Issue #22043 : time.monotonic() is now always available
...
threading.Lock.acquire(), threading.RLock.acquire() and socket operations now
use a monotonic clock, instead of the system clock, when a timeout is used.
2014-09-02 23:18:25 +02:00
Victor Stinner
282124b8c4
Closes #22258 : Fix the the internal function set_inheritable() on Illumos.
...
This platform exposes the function ioctl(FIOCLEX), but calling it fails with
errno is ENOTTY: "Inappropriate ioctl for device". set_inheritable() now falls
back to the slower fcntl() (F_GETFD and then F_SETFD).
2014-09-02 11:41:04 +02:00
Guido van Rossum
cfd4661e78
Closes #21527 : Add default number of workers to ThreadPoolExecutor. (Claudiu Popa.)
2014-09-02 10:39:18 -07:00
Victor Stinner
8257b6283e
(Merge 3.4) Closes #22258 : Fix the the internal function set_inheritable() on
...
Illumos. This platform exposes the function ioctl(FIOCLEX), but calling it
fails with errno is ENOTTY: "Inappropriate ioctl for device". set_inheritable()
now falls back to the slower fcntl() (F_GETFD and then F_SETFD).
2014-09-02 11:49:48 +02:00
R David Murray
b10be15508
Merge #22215 : have the smtplib 'quit' command reset the state.
2014-08-30 16:55:45 -04:00
R David Murray
0cff49fcf9
#22215 : have the smtplib 'quit' command reset the state.
...
Without this reset, starttls would fail if a connect/starttls was done after a
quit, because smtplib assumed the existing value of emspt_features was
accurate, but it gets reset when starttls completes (and the new value does
not contain the starttls capability, since tls is already started at that
point). (There may be additional places where this lack of reset was an
issue as well.)
Patch by Milan Oberkirch.
2014-08-30 16:51:59 -04:00
Antoine Pitrou
5ce8f35931
Issue #22098 : ctypes' BigEndianStructure and LittleEndianStructure now define an empty __slots__ so that subclasses don't always get an instance dict.
...
Patch by Claudiu Popa.
2014-08-30 00:37:18 +02:00
Antoine Pitrou
fa9211b11d
Issue #22185 : Fix an occasional RuntimeError in threading.Condition.wait() caused by mutation of the waiters queue without holding the lock.
...
Patch by Doug Zongker.
2014-08-29 23:27:33 +02:00
Antoine Pitrou
a64b92edd3
Issue #22185 : Fix an occasional RuntimeError in threading.Condition.wait() caused by mutation of the waiters queue without holding the lock.
...
Patch by Doug Zongker.
2014-08-29 23:26:36 +02:00
Victor Stinner
7efb83393c
Issue #22287 : On UNIX, _PyTime_gettimeofday() now uses
...
clock_gettime(CLOCK_REALTIME) if available. As a side effect, Python now
depends on the librt library on Solaris and on Linux (only with glibc older
than 2.17).
2014-08-29 15:41:08 +02:00
Berker Peksag
0dc10e0d1c
Issue #22182 : Use e.args to unpack exceptions correctly in distutils.file_util.move_file.
...
Patch by Claudiu Popa.
2014-08-29 07:09:25 +03:00
Berker Peksag
6685883c02
Issue #22182 : Use e.args to unpack exceptions correctly in distutils.file_util.move_file.
...
Patch by Claudiu Popa.
2014-08-29 07:07:35 +03:00
Gregory P. Smith
a232613679
The webbrowser module now uses subprocess's start_new_session=True rather
...
than a potentially risky preexec_fn=os.setsid call.
2014-08-27 09:41:05 -07:00
Gregory P. Smith
feac3980ce
The webbrowser module now uses subprocess's start_new_session=True rather
...
than a potentially risky preexec_fn=os.setsid call.
2014-08-27 09:34:38 -07:00
Victor Stinner
3822760f2d
Issue #22042 : signal.set_wakeup_fd(fd) now raises an exception if the file
...
descriptor is in blocking mode.
2014-08-27 12:59:44 +02:00
Antoine Pitrou
cdcafb78b2
Issue #16808 : inspect.stack() now returns a named tuple instead of a tuple.
...
Patch by Daniel Shahaf.
2014-08-24 10:50:28 -04:00
Serhiy Storchaka
66106626ed
Issue #22236 : Tkinter tests now don't reuse default root window. New root
...
window is created for every test class.
Fixed Tkinter images copying operations in NoDefaultRoot mode.
Tcl command names generated for "after" callbacks now contains a name of
original function.
2014-08-24 09:10:58 +03:00
Serhiy Storchaka
d00aff2f62
Issue #22236 : Tkinter tests now don't reuse default root window. New root
...
window is created for every test class.
Fixed Tkinter images copying operations in NoDefaultRoot mode.
Tcl command names generated for "after" callbacks now contains a name of
original function.
2014-08-24 09:07:47 +03:00
Antoine Pitrou
ef3b9ed0ac
Issue #2527 : Add a *globals* argument to timeit functions, in order to override the globals namespace in which the timed code is executed.
...
Patch by Ben Roberts.
2014-08-22 23:13:50 -04:00
Ned Deily
682c04c70c
Issue #21166 : merge from 3.4
2014-08-22 13:36:30 -07:00
Ned Deily
fcbc246e9f
Issue #21166 : Prevent possible segfaults and other random failures of
...
python --generate-posix-vars in pybuilddir.txt build target by ensuring
that pybuilddir.txt is always regenerated when configure is run and
that the newly built skeleton python does not inadvertently import
modules from previously installed instances.
2014-08-22 13:32:49 -07:00
Brett Cannon
145759c892
Merge for issue #22191 fix
2014-08-22 10:46:07 -04:00
Brett Cannon
14ad5319d9
Issue #22191 : Fix warnings.__all__.
...
Thanks to Jon Poler for the patch.
2014-08-22 10:44:47 -04:00
Antoine Pitrou
55ac5b3f7b
Issue #22118 : Switch urllib.parse to use RFC 3986 semantics for the resolution of relative URLs, rather than RFCs 1808 and 2396.
...
Patch by Demian Brecht.
2014-08-21 19:16:17 -04:00
Serhiy Storchaka
a7eb746278
Issue #21549 : Added the "members" parameter to TarFile.list().
2014-08-21 10:01:16 +03:00
Benjamin Peterson
48ad7c0b01
use __qualname__ to compute bound method repr ( closes #21389 )
...
Patch from Steven Barker.
2014-08-20 18:41:57 -05:00
Senthil Kumaran
2b7ccbda90
merge from 3.4
...
Fix Issue #8797 : Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull.
2014-08-20 07:55:53 +05:30
Senthil Kumaran
783737625d
Fix Issue #8797 : Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull.
2014-08-20 07:53:58 +05:30
Benjamin Peterson
344ff4ab2b
allow recursion depth to be specified ( closes #19628 )
...
Patch from Claudiu Popa.
2014-08-19 16:13:26 -05:00
Serhiy Storchaka
ef1a79799f
Issue #15696 : Add a __sizeof__ implementation for mmap objects on Windows.
2014-08-19 17:12:46 +03:00
Serhiy Storchaka
76b47655ff
Issue #15696 : Add a __sizeof__ implementation for mmap objects on Windows.
2014-08-19 17:11:20 +03:00
Victor Stinner
daca3d7e9b
Issue #22206 : Using pthread, PyThread_create_key() now sets errno to ENOMEM and
...
returns -1 (error) on integer overflow.
2014-08-17 22:11:06 +02:00
Serhiy Storchaka
0879001f00
Issue #22068 : Avoided reference loops with Variables and Fonts in Tkinter.
2014-08-17 15:32:42 +03:00
Serhiy Storchaka
87bbf257ef
Issue #22068 : Avoided reference loops with Variables and Fonts in Tkinter.
2014-08-17 15:31:59 +03:00
Serhiy Storchaka
95d5c9d5ff
Issue #22201 : Command-line interface of the zipfile module now correctly
...
extracts ZIP files with directory entries. Patch by Ryan Wilson.
2014-08-17 15:17:56 +03:00
Serhiy Storchaka
97f17ff840
Issue #22201 : Command-line interface of the zipfile module now correctly
...
extracts ZIP files with directory entries. Patch by Ryan Wilson.
2014-08-17 15:14:48 +03:00
Serhiy Storchaka
41a08e557a
Issue #22165 : SimpleHTTPRequestHandler now supports undecodable file names.
2014-08-17 08:24:49 +03:00
Serhiy Storchaka
cb5bc408ad
Issue #22165 : SimpleHTTPRequestHandler now supports undecodable file names.
2014-08-17 08:22:11 +03:00
Nick Coghlan
f9e227e5a9
Issue #20184 : Add signature introspection for 30 of the builtins
...
Also adds a test to test_inspect to track progress on builtin
introspection support, to ensure it doesn't regress in the future.
2014-08-17 14:01:19 +10:00
Senthil Kumaran
e2953e5146
merge 3.4; backout changeset 3435c5865cfc due to buildbot failures. Ref #8797
2014-08-16 22:54:24 +05:30
Senthil Kumaran
402df0975c
backout changeset 3435c5865cfc due to buildbot failures. Ref #8797
2014-08-16 22:52:37 +05:30
Senthil Kumaran
39e6c07beb
merge from 3.4
...
Fix Issue #8797 : Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull.
2014-08-16 14:19:09 +05:30
Senthil Kumaran
b2e3a939bf
Fix Issue #8797 : Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull.
2014-08-16 14:17:38 +05:30
Serhiy Storchaka
d7728cafc5
Issue #15381 : Optimized line reading in io.BytesIO.
2014-08-14 22:26:38 +03:00
Berker Peksag
3714ab4c27
Issue #21445 : Pass exception messages correctly to assertTrue in
...
the FileCompareTestCase.test_matching test.
Patch by Steven Barker.
2014-08-14 08:35:15 +03:00