Roger Serwy
71c9e1a5c3
#6649 : Fixed missing exit status in IDLE. Patch by Guilherme Polo.
2013-03-31 01:00:15 -05:00
Roger Serwy
6e4e4abf16
#6649 : Fixed missing exit status in IDLE. Patch by Guilherme Polo.
2013-03-31 00:57:16 -05:00
R David Murray
5cbf3a0d6e
Merge #17435 : Don't use mutable default values in Timer.
...
Patch by Denver Coneybeare with some test modifications by me.
2013-03-30 17:22:30 -04:00
R David Murray
19aeb439c6
Issue #17435 : Don't use mutable default values in Timer.
...
Patch by Denver Coneybeare with some test modifications by me.
2013-03-30 17:19:38 -04:00
Benjamin Peterson
337b1737df
merge 2.7.4 release branch
2013-03-30 10:37:25 -04:00
Benjamin Peterson
d627e122d7
fall back when an old test_support doesn't have various data and functions ( closes #17533 )
2013-03-30 10:36:31 -04:00
Ezio Melotti
0503de9c83
#17526 : merge with 3.3.
2013-03-30 05:19:06 +02:00
Ezio Melotti
1b145927d7
#17526 : fix an IndexError raised while passing code without filename to inspect.findsource(). Initial patch by Tyler Doyle.
2013-03-30 05:17:24 +02:00
Ezio Melotti
e66e7de5d6
#17526 : fix an IndexError raised while passing code without filename to inspect.findsource(). Initial patch by Tyler Doyle.
2013-03-30 05:10:28 +02:00
Vinay Sajip
04cc55a14c
Closes #17540 : Merged fix from 3.3.
2013-03-29 17:59:15 +00:00
Vinay Sajip
28421c6f62
Issue #17540 : Added style to Formatter configuration by dict.
2013-03-29 17:56:54 +00:00
Antoine Pitrou
2463e5fee4
Issue #16692 : The ssl module now supports TLS 1.1 and TLS 1.2. Initial patch by Michele Orrù.
2013-03-28 22:24:43 +01:00
Christian Heimes
92acb0a81c
Issue 17538: Document XML vulnerabilties
2013-03-26 17:53:05 +01:00
Christian Heimes
23790b4be0
Issue 17538: Document XML vulnerabilties
2013-03-26 17:53:05 +01:00
Christian Heimes
9869e60dc2
Issue 17538: Document XML vulnerabilties
2013-03-26 17:48:28 +01:00
Christian Heimes
768f6a5360
Issue 17538: Document XML vulnerabilties
2013-03-26 17:47:23 +01:00
Christian Heimes
7380a67267
Issue 17538: Document XML vulnerabilties
2013-03-26 17:35:55 +01:00
Georg Brandl
c40f97f8be
NEWS: add new header for Python 3.3.2
2013-03-26 14:09:40 +01:00
Georg Brandl
f4e68b1816
fix variable reference to fix --enable-profiling ( closes #17550 )
2013-03-26 14:04:40 +01:00
Benjamin Peterson
fccfb824e6
merge 3.3 ( #17550 )
2013-03-26 08:58:16 -04:00
Benjamin Peterson
dbc5f8c39b
move to correct section
2013-03-26 08:57:42 -04:00
Benjamin Peterson
4b394db41f
merge 2.7.4 release branch ( #17550 )
2013-03-26 08:56:16 -04:00
Benjamin Peterson
615ea1a98f
fix variable reference to fix --enable-profiling ( closes #17550 )
2013-03-26 08:55:37 -04:00
Benjamin Peterson
b9be7bbe2e
fix variable reference to fix --enable-profiling ( closes #17550 )
2013-03-26 08:55:37 -04:00
Ezio Melotti
1f8898a591
#17323 : The "[X refs, Y blocks]" printed by debug builds has been disabled by default. It can be re-enabled with the `-X showrefcount` option.
2013-03-26 01:59:56 +02:00
Vinay Sajip
1e76e8643b
Issue #12718 : Set importer on instance if Python function, to avoid bad interaction with winpdb.
2013-03-25 23:37:41 +00:00
Charles-François Natali
84e4316489
Issue #17025 : multiprocessing: Reduce Queue and SimpleQueue contention.
2013-03-25 18:20:40 +01:00
Georg Brandl
a809e4a540
merge with upstream 3.3 branch
2013-03-25 07:01:37 +01:00
Martin v. Löwis
5fe5b4ead3
#17425 : merge 3.3
2013-03-24 22:53:04 +01:00
Martin v. Löwis
cc0b927b74
Issue #17425 : Build with openssl 1.0.1d on Windows.
2013-03-24 22:45:50 +01:00
Martin v. Loewis
5be6d74a0d
Issue #17425 : Build with openssl 1.0.0k on Windows.
2013-03-24 22:03:30 +01:00
doko@ubuntu.com
f85aca8d1e
- Issue #17536 : Add to webbrowser's browser list: www-browser, x-www-browser,
...
iceweasel, iceape.
2013-03-24 18:50:23 +01:00
doko@ubuntu.com
945c3bbf42
- Issue #17536 : Add to webbrowser's browser list: www-browser, x-www-browser,
...
iceweasel, iceape.
2013-03-24 18:46:49 +01:00
Benjamin Peterson
bc1d9c9963
merge 2.7.4 release branch
2013-03-23 22:32:34 -05:00
Benjamin Peterson
da2c7ebd23
allow any type with __getitem__ to be a mapping for the purposes of % ( #15801 )
2013-03-23 22:32:00 -05:00
Benjamin Peterson
2350ecd711
merge 2.7.4 release branch
2013-03-23 16:35:57 -05:00
Benjamin Peterson
7e2f197a2b
update NEWS for #17531
2013-03-23 16:35:45 -05:00
Benjamin Peterson
4a03c7d482
merge 2.7.4 release branch
2013-03-23 15:40:48 -05:00
Benjamin Peterson
01d9a775fa
group ids and user ids can be longs now ( #17531 )
2013-03-23 15:40:36 -05:00
Benjamin Peterson
aec813993f
add 2.7.5 header
2013-03-23 15:24:13 -05:00
Benjamin Peterson
31289230e2
return int instead long when possible ( #17531 )
2013-03-23 15:22:20 -05:00
Antoine Pitrou
64c16c3311
Issue #17150 : pprint now uses line continuations to wrap long string literals.
2013-03-23 20:30:39 +01:00
Gregory P. Smith
4a8ea9e2a6
Fixes issue #17488 : Change the subprocess.Popen bufsize parameter default value
...
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
2013-03-23 12:00:00 -07:00
Gregory P. Smith
a1b9ed32ee
Fixes issue #17488 : Change the subprocess.Popen bufsize parameter default value
...
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
2013-03-23 11:54:22 -07:00
Gregory P. Smith
a1ed539268
Fixes issue #17488 : Change the subprocess.Popen bufsize parameter default value
...
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
2013-03-23 11:44:25 -07:00
Benjamin Peterson
a1f6fab464
version to 2.7.4rc1
2013-03-23 10:17:29 -05:00
Georg Brandl
d08d0b1c69
Bump to 3.3.1rc1.
2013-03-23 16:05:12 +01:00
Georg Brandl
0a1bc11c66
Fix suspicious markup in the docs.
2013-03-23 15:59:46 +01:00
Ezio Melotti
e94cbd188b
#17479 : merge with 3.3.
2013-03-23 16:36:58 +02:00
Ezio Melotti
daa42c778e
#17479 : test_io now works with unittest test discovery. Patch by Zachary Ware.
2013-03-23 16:30:16 +02:00
Vinay Sajip
8ec95b81d5
Closes #17521 : Merged fix from 3.3.
2013-03-23 11:23:05 +00:00
Vinay Sajip
9b862b9d66
Issue #17521 : Merged fix from 3.2.
2013-03-23 11:22:00 +00:00
Vinay Sajip
68b4cc87cd
Issue #17521 : Corrected non-enabling of logger following two calls to fileConfig().
2013-03-23 11:18:45 +00:00
Vinay Sajip
bb2dad8915
Issue #17521 : Corrected non-enabling of logger following two calls to fileConfig().
2013-03-23 11:18:10 +00:00
Vinay Sajip
30f0f054a4
Merged Misc/NEWS update for #17508 .
2013-03-23 11:00:28 +00:00
Vinay Sajip
e29dd24706
Merged Misc/NEWS update for #17508 .
2013-03-23 10:59:49 +00:00
Vinay Sajip
a4cfd60f3d
Updated Misc/NEWS with #17508 .
2013-03-23 10:57:47 +00:00
Vinay Sajip
0e29f22855
Updated Misc/NEWS with #17508 .
2013-03-23 10:56:39 +00:00
Kristján Valur Jónsson
684cd0e643
Issue #17522 : Add the PyGILState_Check() API.
2013-03-23 03:36:16 -07:00
Martin v. Loewis
18613e6e7b
Issue #17425 : Build against openssl 0.9.8y on Windows.
2013-03-22 22:01:56 +01:00
Benjamin Peterson
469ee9d84c
backout 66e30c4870bb for breaking OSX ( #13150 )
2013-03-22 09:37:13 -05:00
Terry Jan Reedy
2b6c26ebe3
Issue #13248 : NEWS and What's New items
2013-03-21 19:36:26 -04:00
doko@ubuntu.com
28b7c05131
- Issue #13150 : sysconfig no longer parses the Makefile and config.h files
...
when imported, instead doing it at build time. This makes importing
sysconfig faster and reduces Python startup time by 20%.
2013-03-21 15:02:16 -07:00
doko@ubuntu.com
6d3d0fe0b2
- Issue #16754 : Fix the incorrect shared library extension on linux. Introduce
...
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:39:52 -07:00
doko@ubuntu.com
1621d77fc8
- Issue #16754 : Fix the incorrect shared library extension on linux. Introduce
...
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:31:41 -07:00
doko@ubuntu.com
d5537d071c
- Issue #16754 : Fix the incorrect shared library extension on linux. Introduce
...
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:21:49 -07:00
Victor Stinner
d06b35c1b6
(Merge 3.3) Issue #17209 : curses.window.get_wch() now handles correctly KeyboardInterrupt (CTRL+c)
2013-03-21 12:21:43 +01:00
Victor Stinner
bd2d30cf31
Issue #17209 : curses.window.get_wch() now handles correctly KeyboardInterrupt (CTRL+c)
2013-03-21 12:21:06 +01:00
R David Murray
82c6b45c14
Merge: #5713 : Handle 421 error codes during sendmail by closing the socket.
...
This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.
Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.
2013-03-20 21:13:56 -04:00
R David Murray
f1a40b4ec5
Merge: #5713 : Handle 421 error codes during sendmail by closing the socket.
...
This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.
Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.
2013-03-20 21:12:17 -04:00
R David Murray
d312c740f1
#5713 : Handle 421 error codes during sendmail by closing the socket.
...
This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.
Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.
2013-03-20 20:36:14 -04:00
Antoine Pitrou
c9b3ef2df0
Issue #16997 : unittest.TestCase now provides a subTest() context manager to procedurally generate, in an easy way, small test instances.
2013-03-20 20:16:47 +01:00
R David Murray
9cc7d45571
#17485 : Delete the Content-Length header if the data attribute is deleted.
...
This is a follow on to issue 16464. Original patch by Daniel Wozniak.
2013-03-20 00:10:51 -04:00
Kristján Valur Jónsson
d7009c6913
Issue #16475 : Support object instancing, recursion and interned strings
...
in marshal
2013-03-19 18:02:10 -07:00
R David Murray
c7c42efb16
#15927 : Fix cvs.reader parsing of escaped \r\n with quoting off.
...
This fix means that such values are correctly roundtripped, since
cvs.writer already does the correct escaping.
Patch by Michael Johnson.
2013-03-19 22:41:47 -04:00
Michael Foord
04cbe0c35b
Closes issue 17467. Add readline and readlines support to unittest.mock.mock_open
2013-03-19 17:22:51 -07:00
Kristján Valur Jónsson
9795ca44fb
Issue #10212 : Support new buffer interface for struct.unpack and
...
cStringIO
2013-03-19 17:17:47 -07:00
Gregory P. Smith
110f25d53d
merge heads & use iso8601 date format
2013-03-19 15:33:23 -07:00
Gregory P. Smith
3cc791c5a1
merge from 3.2
2013-03-19 15:30:41 -07:00
Gregory P. Smith
c70e53aca8
Fixes Issue #17192 : Update the ctypes module's libffi to v3.0.13. This
...
specifically addresses a stack misalignment issue on x86 and issues
on some more recent platforms.
2013-03-19 15:24:46 -07:00
Kristján Valur Jónsson
8927e8f421
Issue #12098 : multiprocessing on Windows now starts child processes
...
using the same sys.flags as the current process.
Backport from default branch.
2013-03-19 15:07:35 -07:00
Gregory P. Smith
cca8507758
merge heads in 3.3
2013-03-19 15:05:52 -07:00
Gregory P. Smith
dd35162894
merge heads in 3.2
2013-03-19 15:03:26 -07:00
Gregory P. Smith
0408bf9cfb
Fixes Issue #17192 : Update the ctypes module's libffi to v3.0.13. This
...
specifically addresses a stack misalignment issue on x86 and issues
on some more recent platforms.
2013-03-19 14:59:02 -07:00
doko@ubuntu.com
4950a3b6cc
- Issue #17477 : Update the bsddb module to pybsddb 5.3.0, supporting
...
db-5.x, and dropping support for db-4.1 and db-4.2.
2013-03-19 14:46:29 -07:00
R David Murray
a39c47aab0
#8862 : Fix curses cleanup with getchar is interrupted by a signal.
...
I have no idea how one would write a test for this.
Patch by July Tikhonov.
2013-03-19 16:26:53 -04:00
R David Murray
af3ba4873a
Merge: #8862 : Fix curses cleanup with getchar is interrupted by a signal.
...
I have no idea how one would write a test for this.
Patch by July Tikhonov.
2013-03-19 16:26:19 -04:00
R David Murray
779dab9447
Merge: #8862 : Fix curses cleanup with getchar is interrupted by a signal.
...
I have no idea how one would write a test for this.
Patch by July Tikhonov.
2013-03-19 16:24:35 -04:00
R David Murray
f5d7cc239e
#8862 : Fix curses cleanup with getchar is interrupted by a signal.
...
I have no idea how one would write a test for this.
Patch by July Tikhonov.
2013-03-19 16:23:09 -04:00
Kristján Valur Jónsson
6ebc8f3f38
Issue #9090 : Error code 10035 calling socket.recv() on a socket with a timeout
...
(WSAEWOULDBLOCK - A non-blocking socket operation could not be completed
immediately)
2013-03-19 10:58:59 -07:00
R David Murray
660e89b163
Merge: #17443 : Fix buffering in IMAP4_stream.
...
In Python2 Popen uses *FILE objects, which wind up buffering even though
subprocess defaults to no buffering. In Python3, subprocess streams really
are unbuffered by default, but the imaplib code assumes read is buffered. This
patch uses the default buffer size from the io module to get buffered streams
from Popen.
Much debugging work and patch by Diane Trout.
The imap protocol is too complicated to write a test for this simple
change with our current level of test infrastructure.
2013-03-19 13:56:54 -04:00
R David Murray
7889944b83
Merge: #17443 : Fix buffering in IMAP4_stream.
...
In Python2 Popen uses *FILE objects, which wind up buffering even though
subprocess defaults to no buffering. In Python3, subprocess streams really
are unbuffered by default, but the imaplib code assumes read is buffered. This
patch uses the default buffer size from the io module to get buffered streams
from Popen.
Much debugging work and patch by Diane Trout.
The imap protocol is too complicated to write a test for this simple
change with our current level of test infrastructure.
2013-03-19 13:56:01 -04:00
R David Murray
fcb6d6a3b3
#17443 : Fix buffering in IMAP4_stream.
...
In Python2 Popen uses *FILE objects, which wind up buffering even though
subprocess defaults to no buffering. In Python3, subprocess streams really
are unbuffered by default, but the imaplib code assumes read is buffered. This
patch uses the default buffer size from the io module to get buffered streams
from Popen.
Much debugging work and patch by Diane Trout.
The imap protocol is too complicated to write a test for this simple
change with our current level of test infrastructure.
2013-03-19 13:52:33 -04:00
R David Murray
ac0cea5fab
Merge: #17476 : make allmethods actually return all methods.
...
This fixes a regression relative to Python2. (In 2, methods on a class were
unbound methods and matched the inspect queries being done, in 3 they are just
functions and so were missed).
This is an undocumented function that pydoc itself does not use, but
I found that numpy at least uses it in its documentation generator.
Original patch by Matt Bachmann.
2013-03-19 02:47:44 -04:00
R David Murray
52dfc74080
#17476 : make allmethods actually return all methods.
...
This fixes a regression relative to Python2. (In 2, methods on a class were
unbound methods and matched the inspect queries being done, in 3 they are just
functions and so were missed).
This is an undocumented function that pydoc itself does not use, but
I found that numpy at least uses it in its documentation generator.
Original patch by Matt Bachmann.
2013-03-19 02:32:35 -04:00
R David Murray
9929bc543a
#17476 : make allmethods actually return all methods.
...
This fixes a regression relative to Python2. (In 2, methods on a class were
unbound methods and matched the inspect queries being done, in 3 they are just
functions and so were missed).
This is an undocumented function that pydoc itself does not use, but
I found that numpy at least uses it in its documentation generator.
Original patch by Matt Bachmann.
2013-03-19 02:31:06 -04:00
Senthil Kumaran
41518b4af0
#17474 - Remove the various deprecated methods of Request class.
2013-03-18 18:06:00 -07:00
Michael Foord
80cbc9e998
Closes issue 16709. unittest test discovery sorts test files for consistent test ordering
2013-03-18 17:50:12 -07:00
Gregory P. Smith
029273fc90
Fixes issue #17192 : Update the ctypes module's libffi to v3.0.13. This
...
specifically addresses a stack misalignment issue on x86 and issues on
some more recent platforms.
2013-03-18 17:11:20 -07:00
Gregory P. Smith
46ce27ab1e
Fixes issue #17192 : Update the ctypes module's libffi to v3.0.13. This
...
specifically addresses a stack misalignment issue on x86 and issues on
some more recent platforms.
2013-03-18 16:58:50 -07:00