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
R David Murray
455f296188
#17464 : improve pydoc test coverage.
...
Patch by Matt Bachmann.
2013-03-19 00:00:33 -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
Benjamin Peterson
45c9704b73
use the HTTPS for pypi upload
2013-03-18 15:20:56 -07:00
R David Murray
1a48b9dd7d
#5024 : whichhdr now returns the frame count for WAV files.
...
Patch by Ned Jackson Lovely based on a suggestion by Robert Pyle.
2013-03-18 17:42:42 -04:00
Senthil Kumaran
052ddb01b3
#17460 : Remove the strict argument of HTTPConnection and removing the
...
DeprecationWarning being issued from 3.2 onwards.
2013-03-18 14:11:41 -07:00
Benjamin Peterson
57048b6f9f
add Sven Brauch for his #16795 contribution
2013-03-18 10:52:04 -07:00
Benjamin Peterson
cda75be02a
unify some ast.argument's attrs; change Attribute column offset ( closes #16795 )
...
Patch from Sven Brauch.
2013-03-18 10:48:58 -07:00
R David Murray
0351928359
Merge #17448 : Make test_sax skip if there are no xml parsers.
...
Patch by Rafael Santos.
2013-03-18 00:21:43 -04: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
5a948a7eee
merge
2013-03-17 15:49:21 -07: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
cb3ae4b1c9
Issue #16389 : Fixed an issue number in previos commit.
2013-03-16 23:00:16 +02: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
f5efe3b796
Issue #16564 : Fixed a performance regression relative to Python 3.1 in the
...
caching of compiled regular expressions.
2013-03-16 22:55:04 +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
469da97c1e
#11420 : merge with 3.3.
2013-03-16 21:50:04 +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
Benjamin Peterson
2d6acd2ac2
reject non-docs strings between future imports ( closes #17434 )
2013-03-16 09:15:47 -07:00
Terry Jan Reedy
58e1e50be1
typo
2013-03-16 02:53:09 -04:00
Terry Jan Reedy
1faba025e9
Merge with 3.3
2013-03-16 02:52:24 -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
2fab35877d
Add missing FeedParser and BytesFeedParser to email.parser.__all__.
2013-03-15 21:00:48 -04:00
R David Murray
5efee58014
Merge: #17431 : Fix missing import of BytesFeedParser in email.parser.
2013-03-15 20:45:11 -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
Senthil Kumaran
2688644eef
#1291 http.server's send_error takes an optional explain argument
2013-03-15 07:53:21 -07:00
Terry Jan Reedy
12bb353d43
Merge with 3.2: closes issue #17047
2013-03-15 03:41:35 -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
d49af5dc2e
Issue #17414 : Add timeit, repeat, and default_timer to timeit.__all__.
...
Revise module docstring and update itertools import and use.
2013-03-15 03:04:25 -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
c12956ddf2
Issue #1285086 : Get rid of the refcounting hack and speed up
...
urllib.parse.unquote() and urllib.parse.unquote_to_bytes().
2013-03-14 21:34:55 +02: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
Brett Cannon
327992330e
Issue #17099 : Have importlib.find_loader() raise ValueError when
...
__loader__ is not set on a module. This brings the exception in line
with when __loader__ is None (which is equivalent to not having the
attribute defined).
2013-03-13 11:09:08 -07:00
Brett Cannon
4802becb16
Issue #17117 : Have both import itself and importlib.util.set_loader()
...
set __loader__ on a module when set to None.
Thanks to Gökcen Eraslan for the fix.
2013-03-13 10:41:36 -07:00
Benjamin Peterson
3b965a237c
expose O_PATH if possible
2013-03-13 10:27:41 -05:00
Ezio Melotti
405952f1a8
#17368 : merge with 3.3.
2013-03-13 01:55:07 +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
Eli Bendersky
981c3bde8d
Issue #11367 : fix documentation of some find* methods in ElementTree
2013-03-12 06:08:04 -07:00
Eli Bendersky
b439cf5faa
Issue #11367 : fix documentation of some find* methods in ElementTree
2013-03-12 06:06:06 -07:00
Eli Bendersky
72cdb5c39e
Issue #11367 : fix documentation of some find* methods in ElementTree
2013-03-12 06:04:33 -07:00
Eli Bendersky
7343cb0790
Issue #11367 : fix documentation of some find* methods in ElementTree
2013-03-12 06:01:22 -07:00
Terry Jan Reedy
21e52aad13
Fix issue number
2013-03-12 02:19:09 -04:00
Ezio Melotti
0ce306abf3
#17066 : merge with 3.3.
2013-03-12 07:50:53 +02: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
Terry Jan Reedy
8e7586bd44
Issue #17047 : remove doubled words added in 3.4,
...
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 18:38:13 -04:00
Ezio Melotti
a41fb4be5b
#17351 : merge with 3.3.
2013-03-11 09:43:25 +02:00
Ezio Melotti
c9cfcf1e6c
#17351 : merge with 3.2.
2013-03-11 09:42:40 +02:00
Ezio Melotti
af8838f443
#17351 : remove "object" inheritance from docs. Patch by Phil Elson.
2013-03-11 09:30:21 +02:00
Ezio Melotti
617e2c186d
#16004 : Add `make touch`.
2013-03-11 09:14:09 +02:00
Raymond Hettinger
e318a883fe
Issue #15806 : Add contextlib.ignored().
2013-03-10 22:26:51 -07:00
Ezio Melotti
c0417357d1
#11963 : merge with 3.3.
2013-03-11 06:03:05 +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
Raymond Hettinger
ec4b174de4
Issue #17385 : Fix quadratic behavior in threading.Condition
2013-03-10 17:57:28 -07:00
Ezio Melotti
efaad09c9a
#11963 : remove human verification from test_subprocess.
2013-03-11 00:34:33 +02:00
Brett Cannon
ff73758b8f
merge
2013-03-09 14:25:08 -05:00
Brett Cannon
b7e6b89554
Touch up the Python 2 to 3 porting guide
2013-03-09 14:22:35 -05:00
Eli Bendersky
84fae785ce
Issue #16954 : Add docstrings for ElementTree
...
Based on patch by David Lam
2013-03-09 07:12:48 -08:00
Terry Jan Reedy
c75be9341d
Merge: closes issue 16643 (not ....2 as in last commit message)
2013-03-09 02:19:33 -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
Terry Jan Reedy
11c08fd4b4
Issue #17332 : fix json doc typo /convered/converted/ found by Ernie Hershey.
2013-03-08 19:40:17 -05:00
Terry Jan Reedy
b6f1d6419d
Issue #17332 : fix json doc typo /convered/converted/ found by Ernie Hershey.
2013-03-08 19:39:30 -05:00
Terry Jan Reedy
9cbcc2f1c0
Issue #17332 : fix json doc typo /convered/converted/ found by Ernie Hershey.
2013-03-08 19:35:15 -05:00
Terry Jan Reedy
3d08f25acf
Issue #17332 : fix json doc typo /convered/converted/ found by Ernie Hershey.
2013-03-08 19:35:15 -05:00
Benjamin Peterson
00e9886bd9
Add PyDict_SetDefault. ( closes #17327 )
...
Patch by Stefan Behnel and I.
2013-03-07 22:16:29 -05:00
R David Murray
2e78cd9b5e
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 17:31:21 -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
d4725f3f20
Merge typo fix in Misc/NEWS entry from 3.3.
2013-03-07 19:56:15 +02: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
90c91afd2e
Merge fix for #15465 from 3.3
2013-03-07 23:45:03 +10: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
Eli Bendersky
3612da6b2b
call_commethod was only used in samples/Windows, which no longer exists.
...
This method is dead code - not documented, not tested. As far as we know, it
can be horribly broken.
2013-03-06 06:21:46 -08:00
Victor Stinner
cf77da9fb5
Backed out changeset b9f7b1bf36aa
2013-03-06 01:09:24 +01:00
Victor Stinner
313cac88c5
Issue #17223 : Fix PyUnicode_FromUnicode() on Windows (16-bit wchar_t type)
...
to reject invalid UTF-16 surrogate.
2013-03-06 00:41:50 +01:00
Ezio Melotti
87a249c119
#11732 : merge with 3.3.
2013-03-05 20:33:38 +02: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
df1d3c5c4b
Reverting the changeset b87792757ee8 made for Issue #12921
2013-03-05 02:28:18 -08: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
24431f1802
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:26:33 -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
221760a3aa
Issue #17278 : Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
2013-03-04 20:35:55 +01: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