Ezio Melotti
3836d70ed5
#17690 : test_time now works with unittest test discovery. Patch by Zachary Ware.
2013-04-11 20:29:42 +03:00
R David Murray
5e2f593145
#14971 : Use class method name, not function.__name__, during unittest discovery.
2013-04-11 08:55:45 -04:00
Benjamin Peterson
c9314d9e08
don't run frame if it has no stack ( closes #17669 )
2013-04-10 17:00:56 -04:00
Ezio Melotti
cd514cf175
#12820 : add tests for the xml.dom.minicompat module. Patch by John Chandler and Phil Connell.
2013-04-10 19:30:11 +03:00
Senthil Kumaran
d9fbf36bbd
#17678 : Fix DeprecationWarning in the http/cookiejar.py by changing the usage
...
of get_origin_req_host() to origin_req_host.
Patch by Wei-Cheng Pan
2013-04-09 07:07:59 -07:00
Roger Serwy
0803a39561
#17657 : Show full Tk version in IDLE's about dialog.
...
Patch by Todd Rovito.
2013-04-08 20:57:13 -05:00
Serhiy Storchaka
a6df938fef
Close #17666 : Fix reading gzip files with an extra field.
2013-04-08 22:35:02 +03:00
Serhiy Storchaka
7e69f0085e
Close #17666 : Fix reading gzip files with an extra field.
2013-04-08 22:35:02 +03:00
Andrew Svetlov
b0f9fa7a03
Add NEWS entry for #17502 : Process DEFAULT values in mock side_effect that returns iterator.
2013-04-08 12:59:30 +03:00
Roger Serwy
7733be8f26
#17613 : Prevent traceback when removing syntax colorizer in IDLE.
2013-04-07 12:41:16 -05:00
Roger Serwy
6b2918ae75
#1207589 : Backwards-compatibility patch for right-click menu in IDLE.
2013-04-07 12:15:52 -05:00
Roger Serwy
0ef392cde7
#16887 : IDLE now accepts Cancel in tabify/untabify dialog box.
2013-04-06 20:26:53 -05:00
Serhiy Storchaka
278d03bd66
Revert a premature patch for issue #14010 (changeset aaaf36026511).
2013-04-06 22:52:34 +03:00
Benjamin Peterson
c496eda6fb
move IDLE news to its own section
2013-04-06 15:14:06 -04:00
Serhiy Storchaka
e8f706eda7
Issue #14010 : Fix a crash when iterating or deleting deeply nested filters
...
(builting and in itertools module, i.e. map(), itertools.chain(), etc).
2013-04-06 21:14:43 +03:00
Georg Brandl
cca5548159
merge with 3.3.1 release clone
2013-04-06 16:42:43 +02:00
Georg Brandl
8bc7e31529
Bump to 3.2.4.
2013-04-06 09:36:20 +02:00
Benjamin Peterson
38546ee51c
close search and replace dialog after it is used ( closes #17625 )
2013-04-03 22:35:12 -04:00
Benjamin Peterson
7684fa8a38
close search and replace dialog after it is used ( closes #17625 )
2013-04-03 22:35:12 -04:00
Benjamin Peterson
cf658c2833
close search and replace dialog after it is used ( closes #17625 )
2013-04-03 22:35:12 -04:00
Ezio Melotti
0f38908684
#17572 : Avoid chained exceptions while passing bad directives to time.strptime(). Initial patch by Claudiu Popa.
2013-04-04 02:09:20 +03:00
Terry Jan Reedy
a99e1711f7
Issue #15940 : NEWS entry
2013-04-03 13:07:46 -04:00
Richard Oudkerk
614c578dec
Issue #17619 : Make input() check for Ctrl-C correctly on Windows.
2013-04-03 13:44:50 +01:00
Roger Serwy
6b7a5ae2c1
#14254 : IDLE now handles readline correctly across shell restarts.
2013-04-03 00:42:24 -05:00
Roger Serwy
0d28a61d23
#17614 : IDLE no longer raises exception when quickly closing a file.
2013-04-02 22:39:39 -05:00
Roger Serwy
d7c9d9cdcd
#17614 : IDLE no longer raises exception when quickly closing a file.
2013-04-02 22:37:12 -05:00
R David Murray
c993a19480
#13163 : fix names of _get_socket args
...
This was already done in Python3, but having it wrong leads to
incorrect debug output, so it seems worth fixing in 2.7 as well.
Patch by Victor Terrón.
2013-04-02 12:15:07 -04:00
Benjamin Peterson
6395241471
list slotdefs in offset order rather than sorting them ( closes #17610 )
...
This means we can remove our usage of qsort() than relied on undefined behavior.
2013-04-01 17:41:41 -04:00
Brett Cannon
f8ffec0617
Issue #17357 : Add missing verbosity messages when running under
...
-v/-vv that were lost in the transition to importlib.
2013-04-01 13:10:51 -04:00
Roger Serwy
34d0c66ef2
#6698 : IDLE now opens just an editor window when configured to do so.
2013-03-31 23:28:55 -05:00
Roger Serwy
c35151cf41
#6698 : IDLE now opens just an editor window when configured to do so.
2013-03-31 23:28:55 -05:00
Roger Serwy
cadd7864d8
#8900 : Using keyboard shortcuts in IDLE to open a file no longer raises an exception.
2013-03-31 15:53:08 -05:00
Roger Serwy
420e2d8e39
#8900 : Using keyboard shortcuts in IDLE to open a file no longer raises an exception.
2013-03-31 15:53:08 -05:00
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
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
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
28421c6f62
Issue #17540 : Added style to Formatter configuration by dict.
2013-03-29 17:56:54 +00: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
768f6a5360
Issue 17538: Document XML vulnerabilties
2013-03-26 17:47:23 +01:00
Christian Heimes
1df04e88ae
Issue 17538: Document XML vulnerabilties
2013-03-26 17:35:55 +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
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
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
Georg Brandl
a809e4a540
merge with upstream 3.3 branch
2013-03-25 07:01:37 +01:00
Georg Brandl
4eb5f1a567
merge with main repo 3.2 branch
2013-03-25 06:56:31 +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
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
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
b673d99698
Bump to 3.2.4rc1.
2013-03-23 16:02:08 +01:00
Georg Brandl
0a1bc11c66
Fix suspicious markup in the docs.
2013-03-23 15:59:46 +01: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
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
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
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
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
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
bd2d30cf31
Issue #17209 : curses.window.get_wch() now handles correctly KeyboardInterrupt (CTRL+c)
2013-03-21 12:21:06 +01: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
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
3cc791c5a1
merge from 3.2
2013-03-19 15:30:41 -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
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
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
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
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
R David Murray
f3a1b6efe0
Merge #17448 : Make test_sax skip if there are no xml parsers.
...
Patch by Rafael Santos.
2013-03-18 00:20:43 -04:00
R David Murray
a846f5ace8
#17448 : Make test_sax skip if there are no xml parsers.
...
Patch by Rafael Santos.
2013-03-18 00:18:12 -04:00
Brett Cannon
3e2fe05e62
Issue #16880 : _imp.load_dynamic() is not defined on a platform that
...
does not support dynamic loading (e.g. Atari), so make sure that imp
doesn't assume it always exists.
Patch by Christian Heimes.
2013-03-17 15:48:16 -07:00
Serhiy Storchaka
1eec53d9ba
Issue #16389 : Fixed an issue number in previos commit.
2013-03-16 22:59:59 +02:00
Serhiy Storchaka
a99dfd1ab6
Issue #16389 : Fixed an issue number in previos commit.
2013-03-16 22:59:27 +02:00
Serhiy Storchaka
969ff72642
Issue #16564 : Fixed a performance regression relative to Python 3.1 in the
...
caching of compiled regular expressions.
2013-03-16 22:53:48 +02:00
Serhiy Storchaka
0f606a636a
Issue #16564 : Fixed a performance regression relative to Python 3.1 in the
...
caching of compiled regular expressions.
2013-03-16 22:52:09 +02:00
Ezio Melotti
e5e7a7cbf4
#11420 : merge with 3.2.
2013-03-16 21:49:20 +02:00
Ezio Melotti
e015b6b1fc
#11420 : make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters.
2013-03-16 20:04:44 +02:00
Ezio Melotti
c28f6fa505
#11420 : make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters.
2013-03-16 19:48:51 +02:00
Terry Jan Reedy
58e1e50be1
typo
2013-03-16 02:53:09 -04:00
Terry Jan Reedy
b73ac54835
Issue # 10652: make tcl/tk tests run after __all__ test, patch by Zachary Ware.
2013-03-16 02:51:18 -04:00
Terry Jan Reedy
743c85a32e
Issue # 10652: make tcl/tk tests run after __all__ test, patch by Zachary Ware.
2013-03-16 02:37:06 -04:00
R David Murray
8093d6f822
Merge: #17431 : Fix missing import of BytesFeedParser in email.parser.
2013-03-15 20:42:29 -04:00
R David Murray
612528d95d
#17431 : Fix missing import of BytesFeedParser in email.parser.
...
Initial patch contributed by Edmond Burnett.
2013-03-15 20:38:15 -04:00
Terry Jan Reedy
ad6b28c946
Merge with 3.2: issue #17047 news entry
2013-03-15 03:39:38 -04:00
Terry Jan Reedy
4b3975b944
Issue #17047 : Add news entry
2013-03-15 03:33:11 -04:00
Terry Jan Reedy
0b2173a1ee
Issue #17412 : update 2.7 Doc/make.bat to also use sphinx-1.0.7.
2013-03-14 19:32:22 -04:00
Serhiy Storchaka
a9d24e6766
Issue #1285086 : Get rid of the refcounting hack and speed up
...
urllib.parse.unquote() and urllib.parse.unquote_to_bytes().
2013-03-14 21:33:35 +02:00
Serhiy Storchaka
8ea4616f16
Issue #1285086 : Get rid of the refcounting hack and speed up
...
urllib.parse.unquote() and urllib.parse.unquote_to_bytes().
2013-03-14 21:31:37 +02:00
Serhiy Storchaka
923baea9f9
Issue #1285086 : Get rid of the refcounting hack and speed up urllib.unquote().
2013-03-14 21:31:09 +02:00
Serhiy Storchaka
2556c8388c
Issue #17299 : Add test coverage for cPickle with file objects and general IO
...
objects. Original patch by Aman Shah.
2013-03-14 20:59:09 +02:00
Ezio Melotti
220391fa6e
#17368 : merge with 3.2.
2013-03-13 01:53:38 +02:00
Ezio Melotti
a7d64a6f4c
#17368 : Fix an off-by-one error in the Python JSON decoder that caused a failure while decoding empty object literals when object_pairs_hook was specified.
2013-03-13 01:52:34 +02:00
Ezio Melotti
fda7a8ce78
#17368 : Fix an off-by-one error in the Python JSON decoder that caused a failure while decoding empty object literals when object_pairs_hook was specified.
2013-03-13 01:49:57 +02:00
Terry Jan Reedy
21e52aad13
Fix issue number
2013-03-12 02:19:09 -04:00
Ezio Melotti
0fb37ea34d
#17066 : test_robotparser now works with unittest test discovery. Patch by Zachary Ware.
2013-03-12 07:49:12 +02:00
Terry Jan Reedy
f9d31069db
Issue #14707 : add news entry
2013-03-12 01:26:28 -04:00
Ezio Melotti
617e2c186d
#16004 : Add `make touch`.
2013-03-11 09:14:09 +02:00
Ezio Melotti
3300878d8c
#11963 : merge with 3.2.
2013-03-11 05:59:55 +02:00
Ezio Melotti
42a541bd49
#11963 : remove human verification from test_parser and test_subprocess.
2013-03-11 05:53:34 +02:00
Ezio Melotti
efaad09c9a
#11963 : remove human verification from test_subprocess.
2013-03-11 00:34:33 +02:00
Brett Cannon
b7e6b89554
Touch up the Python 2 to 3 porting guide
2013-03-09 14:22:35 -05:00
Terry Jan Reedy
adecf3f66f
Issue #16642 : sched.scheduler timefunc initial default is time.monotonic.
...
Patch by Ramchandra Apte
2013-03-09 02:14:27 -05:00
R David Murray
addb0be63e
Merge: #14645 : Generator now emits correct linesep for all parts.
...
Previously the parts of the message retained whatever linesep they had on
read, which means if the messages weren't read in univeral newline mode, the
line endings could well be inconsistent. In general sending it via smtplib
would result in them getting fixed, but it is better to generate them
correctly to begin with. Also, the new send_message method of smtplib does
not do the fixup, so that method is producing rfc-invalid output without this
fix.
2013-03-07 16:43:58 -05:00
R David Murray
e67c6c545b
#14645 : Generator now emits correct linesep for all parts.
...
Previously the parts of the message retained whatever linesep they had on
read, which means if the messages weren't read in univeral newline mode, the
line endings could well be inconsistent. In general sending it via smtplib
would result in them getting fixed, but it is better to generate them
correctly to begin with. Also, the new send_message method of smtplib does
not do the fixup, so that method is producing rfc-invalid output without this
fix.
2013-03-07 16:38:03 -05:00
Ezio Melotti
0e7ec44aa9
Merge typo fix in Misc/NEWS entry from 3.2.
2013-03-07 19:55:08 +02:00
Ezio Melotti
697e7bacbc
Fix typo in Misc/NEWS entry.
2013-03-07 19:53:19 +02:00
Ezio Melotti
1f38621a33
#11732 : add a new suppress_crash_popup() context manager to test.support that disables crash popups on Windows and use it in test_ctypes.
2013-03-07 18:44:29 +02:00
Nick Coghlan
7d82c8621b
Close #15465 : Document C API version macros
...
Mostly moving the existing macro docs over from the standard
library docs to the C API docs where they belong.
Patch by Kushal Das.
2013-03-07 23:14:44 +10:00
Ezio Melotti
25a404520d
#11732 : add a new suppress_crash_popup() context manager to test.support.
2013-03-05 20:26:17 +02:00
Senthil Kumaran
884f0585a4
Reverting the changeset 5d76a4746d9d made for Issue #12921
2013-03-05 02:26:50 -08:00
Senthil Kumaran
1e7551dc87
Reverting the changeset 5126e62c60af made for Issue #12921
2013-03-05 02:25:58 -08:00
Senthil Kumaran
6234cc0098
Reverting the changeset c31d700dea8b made for Issue #12921
2013-03-05 02:24:03 -08:00
Senthil Kumaran
c37f835a43
Fix Issue #12921 : BaseHTTPServer's send_error should send the correct error
...
response message when send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:23:44 -08:00
Senthil Kumaran
3fb066d286
Fix Issue #12921 : BaseHTTPServer's send_error should send the correct error
...
response message when send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:22:57 -08:00
Senthil Kumaran
c74e764c21
Fix Issue #12921 : BaseHTTPServer's send_error should send the correct error
...
response message when send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:21:13 -08:00
Ned Deily
eec152d217
Issue #16848 : python-config now returns proper --ldflags values for OS X
...
framework builds.
2013-03-04 14:31:04 -08:00
Antoine Pitrou
31584e30ab
Issue #17278 : Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
2013-03-04 20:33:36 +01:00
Antoine Pitrou
44d5214927
Issue #17278 : Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
2013-03-04 20:30:01 +01:00
Antoine Pitrou
49e4dfeec8
Issue #17278 : Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
2013-03-04 20:30:01 +01:00
Benjamin Peterson
b1efa53662
fix possible setdefault refleak ( closes #17328 )
2013-03-04 09:47:50 -05:00
Nadeem Vawda
ad246bfb71
Issue #13898 : test_ssl no longer prints a spurious stack trace on Ubuntu.
2013-03-03 22:44:22 +01:00
Nadeem Vawda
7b39b9b51b
Issue #13898 : test_ssl no longer prints a spurious stack trace on Ubuntu.
2013-03-03 22:31:21 +01:00
Gregory P. Smith
255bf5b9ec
Issue #16962 : Use getdents64 instead of the obsolete getdents syscall in
...
the subprocess module on Linux.
2013-03-03 10:45:05 -08:00
Mark Dickinson
7cac1c25a1
Issue #16445 : Fix potential segmentation fault when deleting an exception message.
2013-03-03 11:13:34 +00:00
Ezio Melotti
bce9a5d5cd
#17334 : test_index now works with unittest test discovery. Patch by Zachary Ware.
2013-03-02 14:47:07 +02:00
Ezio Melotti
02bf701b25
#17333 : test_imaplib now works with unittest test discovery. Patch by Zachary Ware.
2013-03-02 14:25:56 +02:00
Ezio Melotti
f79493bf9e
#17082 : test_dbm* now work with unittest test discovery. Patch by Zachary Ware.
2013-03-01 11:23:28 +02:00
Ezio Melotti
520378f81d
#17079 : test_ctypes now works with unittest test discovery. Patch by Zachary Ware.
2013-03-01 10:55:17 +02:00
Chris Jerdonek
79333db79a
Issue #16406 : Combine the doc pages for uploading and registering to PyPI.
2013-02-27 10:03:26 -08:00
Chris Jerdonek
13fb979638
Issue #16406 : Combine the doc pages for uploading and registering to PyPI.
2013-02-27 10:00:20 -08:00
Chris Jerdonek
2277b947bb
Issue #16406 : combine the doc pages for uploading and registering to PyPI.
2013-02-27 09:55:39 -08:00
R David Murray
1cb0cb2fcd
#17296 : backport fix for issue 1692335, naive exception pickling.
2013-02-27 08:57:09 -05:00
Ezio Melotti
e601fb0691
#17304 : test_hash now works with unittest test discovery. Patch by Zachary Ware.
2013-02-27 10:09:12 +02:00
Ezio Melotti
1ed6be3793
#17303 : test_future* now work with unittest test discovery. Patch by Zachary Ware.
2013-02-27 10:00:03 +02:00
Richard Oudkerk
5b8a3242c4
Merge
2013-02-26 13:00:15 +00:00
Richard Oudkerk
7aaa1ef858
Issue #17018 : Make Process.join() retry if os.waitpid() fails with EINTR.
2013-02-26 12:39:57 +00:00
Richard Oudkerk
ba48264bce
Issue #17018 : Make Process.join() retry if os.waitpid() fails with EINTR.
2013-02-26 12:37:07 +00:00
Victor Stinner
29ec595c6a
Issue #17223 : array module: Fix a crasher when converting an array containing
...
invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array),
str(array) and array.tounicode(). Patch written by Manuel Jacob.
2013-02-26 00:27:38 +01:00
Victor Stinner
d21b58c05d
Issue #17223 : Fix PyUnicode_FromUnicode() for string of 1 character outside
...
the range U+0000-U+10ffff.
2013-02-26 00:15:54 +01:00
R David Murray
5b2cf5e651
#17275 : Fix class name in init errors in C bufferedio classes.
...
This fixes an apparent copy-and-paste error.
Original patch by Manuel Jacob.
2013-02-23 22:11:21 -05:00
R David Murray
9f10f56d13
Merge #17275 : Fix class name in init errors in C bufferedio classes.
...
This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob.
2013-02-23 22:07:55 -05:00
R David Murray
67bfe80758
#17275 : Fix class name in init errors in C bufferedio classes.
...
This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob.
2013-02-23 21:51:05 -05:00
Petri Lehtinen
e766c742c1
Revert "Issue #16121 : Fix line number accounting in shlex"
2013-02-23 23:12:35 +01:00
Petri Lehtinen
0362b54fd9
Revert "Issue #16121 : Fix line number accounting in shlex"
2013-02-23 23:12:03 +01:00
Petri Lehtinen
f794bde17d
Revert "Issue #16121 : Fix line number accounting in shlex"
2013-02-23 23:05:54 +01:00
Petri Lehtinen
6d61eaa0d0
Issue #16121 : Fix line number accounting in shlex
2013-02-23 22:09:51 +01:00
Petri Lehtinen
7a05113ccf
Issue #16121 : Fix line number accounting in shlex
2013-02-23 22:08:07 +01:00
Petri Lehtinen
43072780df
Issue #16121 : Fix line number accounting in shlex
2013-02-23 22:07:39 +01:00
Petri Lehtinen
7de72ad8a0
Issue #16403 : Document how distutils uses the maintainer field in PKG-INFO
2013-02-23 21:09:12 +01:00
Petri Lehtinen
905b648754
Issue #16403 : Document how distutils uses the maintainer field in PKG-INFO
2013-02-23 21:06:16 +01:00
Petri Lehtinen
fead3c8cca
Issue #16403 : Document how distutils uses the maintainer field in PKG-INFO
2013-02-23 21:05:48 +01:00
Petri Lehtinen
e2c114733b
Issue #16695 : Document how glob handles filenames starting with a dot
2013-02-23 19:55:36 +01:00
Petri Lehtinen
ee4a20bad6
Issue #16695 : Document how glob handles filenames starting with a dot
2013-02-23 19:53:27 +01:00
Petri Lehtinen
2342784d28
Issue #16695 : Document how glob handles filenames starting with a dot
2013-02-23 19:53:03 +01:00
Petri Lehtinen
3c75a48c86
Issue #8890 : Stop advertising an insecure use of /tmp in docs
2013-02-23 19:34:44 +01:00
Petri Lehtinen
9f74c6cf7d
Issue #8890 : Stop advertising an insecure use of /tmp in docs
2013-02-23 19:27:49 +01:00
Petri Lehtinen
0b785036ef
Issue #8890 : Stop advertising an insecure use of /tmp in docs
2013-02-23 19:24:31 +01:00
Petri Lehtinen
f484efdb60
Issue #14720 : sqlite3: Convert datetime microseconds correctly
2013-02-23 19:09:45 +01:00
Petri Lehtinen
8b945148e3
Issue #14720 : sqlite3: Convert datetime microseconds correctly
...
Patch by Lowe Thiderman
2013-02-23 19:05:56 +01:00
Petri Lehtinen
9e14755b46
Issue #14720 : sqlite3: Convert datetime microseconds correctly
...
Patch by Lowe Thiderman
2013-02-23 19:05:09 +01:00
Petri Lehtinen
d2132144a4
Issue #5033 : Fix building of the sqlite3 extension module
2013-02-23 17:24:00 +01:00
Petri Lehtinen
ed909bcbdd
Issue #5033 : Fix building of the sqlite3 extension module
2013-02-23 17:16:20 +01:00
Petri Lehtinen
c23178ba36
Issue #5033 : Fix building of the sqlite3 extension module
2013-02-23 17:05:28 +01:00
Ezio Melotti
35246bd5b1
#17249 : merge with 3.2.
2013-02-23 05:58:38 +02:00