Eli Bendersky
4ace240fe5
Clean-up duplicated code in tests
2013-05-25 07:12:14 -07:00
Eli Bendersky
7b3022f24f
Issue #13612 : handle unknown encodings without a buffer overflow.
...
This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.
Based on a patch by Serhiy Storchaka.
2013-05-25 05:27:10 -07:00
Eli Bendersky
6dc32b34dd
Issue #13612 : handle unknown encodings without a buffer overflow.
...
This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.
Based on a patch by Serhiy Storchaka.
2013-05-25 05:25:48 -07:00
Antoine Pitrou
19fef69b75
Fix compilation under MSVC: ssl_set_mode() is a macro, and the MSVC preprocessor doesn't process #ifdef's inside a macro argument list.
...
(found explanation at http://www.tech-archive.net/Archive/VC/microsoft.public.vc.language/2007-05/msg00385.html )
2013-05-25 13:23:03 +02:00
Antoine Pitrou
765f3cce48
Fix test_bad_address on Ubuntu 13.04
2013-05-25 13:08:34 +02:00
Antoine Pitrou
6b5a38c728
Fix test_bad_address on Ubuntu 13.04
2013-05-25 13:08:13 +02:00
Antoine Pitrou
3a65ad7f08
Issue #8240 : Set the SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag on SSL sockets.
2013-05-25 13:02:32 +02:00
Vinay Sajip
3b84eae03e
Closes #18046 : Simplified logging internals relating to levels and their names. Thanks to Alex Gaynor for the patch.
2013-05-25 03:20:34 -07:00
Benjamin Peterson
e08b583d88
merge 3.3
2013-05-24 14:36:04 -07:00
Benjamin Peterson
3b08a2978e
indicate that read/write work with bytes ( closes #18009 )
2013-05-24 14:35:57 -07:00
Brett Cannon
6489d0b380
merge fix for issue #17953
2013-05-24 17:31:37 -04:00
Senthil Kumaran
8307075ce8
Fix #17272 - Make Request.full_url and Request.get_full_url return same result under all circumstances.
...
Document the change of Request.full_url to a property.
2013-05-24 09:14:12 -07:00
Brett Cannon
c3511c1dd8
Issue #17953 : document that sys.modules shouldn't be replaced (thanks
...
to interp->modules) and that deleting essential items from the dict
can cause Python to blow up.
Thanks to Terry Reedy for coming up with initial wording and Yogesh
Chaudhari for coming up with a patch using that wording in parallel to
my own patch.
2013-05-24 08:05:07 -04:00
Ronald Oussoren
dc3e6cc452
(3.3->default) Issue #17269 : Workaround for a platform bug in getaddrinfo on OSX
...
Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.
2013-05-24 13:51:21 +02:00
Ronald Oussoren
27a4ac535f
Issue #17269 : Workaround for a platform bug in getaddrinfo on OSX
...
Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.
2013-05-24 13:47:37 +02:00
Senthil Kumaran
cbc77bbbc0
merge from 3.3
...
Fix #18007 : Document CookieJar.add_cookie_header request parameter changes in 3.3 and 3.4.
2013-05-23 05:28:34 -07:00
Senthil Kumaran
05ec6aca3a
Fix #18007 : Document CookieJar.add_cookie_header request parameter changes in 3.3
2013-05-23 05:27:38 -07:00
Nick Coghlan
c633f97808
Merge issue 17844 from 3.3
2013-05-23 20:25:09 +10:00
Nick Coghlan
650e322fc6
Issue 17844: Clarify meaning of different codec tables
2013-05-23 20:24:02 +10:00
Raymond Hettinger
8f34da3f5f
merge
2013-05-23 00:15:19 -07:00
Raymond Hettinger
c1939b8f75
Issue #18031 : %-formatting isn't dead yet and might pull through.
2013-05-23 00:14:47 -07:00
Ned Deily
6a00b6f4fd
Issue #17532 : merge
2013-05-22 15:24:44 -07:00
Ned Deily
7f0882c920
Issue #17532 : Always include Options menu for IDLE on OS X.
...
Patch by Guilherme Simões.
2013-05-22 15:19:40 -07:00
Benjamin Peterson
965efe9e5e
merge 3.3
2013-05-22 13:27:32 -07:00
Benjamin Peterson
6724612755
add test for inequality
2013-05-22 13:27:25 -07:00
Serhiy Storchaka
447b6e3c6e
Issue #16986 : ElementTree now correctly parses a string input not only when
...
an internal XML encoding is UTF-8 or US-ASCII.
2013-05-22 17:21:06 +03:00
Serhiy Storchaka
43e145b6a4
Move a NEWS entity to a correct place.
2013-05-22 17:19:41 +03:00
Serhiy Storchaka
66d53fa9ad
Issue #16986 : ElementTree now correctly parses a string input not only when
...
an internal XML encoding is UTF-8 or US-ASCII.
2013-05-22 17:07:51 +03:00
Serhiy Storchaka
549681c79b
Issue #17844 : Add links to encoders and decoders for bytes-to-bytes codecs.
2013-05-22 15:35:35 +03:00
Serhiy Storchaka
9e62d35e65
Issue #17844 : Add links to encoders and decoders for bytes-to-bytes codecs.
2013-05-22 15:33:09 +03:00
Giampaolo Rodola'
80e1c43ddf
Fix issue #17996 : expose socket.AF_LINK constant on BSD and OSX.
2013-05-21 21:02:04 +02:00
R David Murray
b3a579223e
merge #17973 : fix technical inaccuracy in faq entry (it now passes doctest).
2013-05-21 11:45:09 -04:00
R David Murray
95ae99205e
#17973 : fix technical inaccuracy in faq entry (it now passes doctest).
2013-05-21 11:44:41 -04:00
Serhiy Storchaka
3ee6dabf5b
Issue #17900 : Allowed pickling of recursive OrderedDicts. Decreased pickled
...
size and pickling time.
2013-05-21 12:47:57 +03:00
Charles-François Natali
b10c71daa2
Backed out changeset c0f2b038fc12
2013-05-21 10:45:46 +02:00
Charles-François Natali
c7c333d25d
Issue #17683 : socket module: return AF_UNIX addresses in Linux abstract
...
namespace as string.
2013-05-21 09:49:18 +02:00
Roger Serwy
87ff387254
#14146 : merge with 3.3.
2013-05-20 22:16:53 -05:00
Roger Serwy
caf3024fa6
#14146 : Highlight source line while debugging on Windows.
2013-05-20 22:13:39 -05:00
Vinay Sajip
067e48b7d8
Closes #17743 : Merged fix from 3.3.
2013-05-20 15:39:11 -07:00
Vinay Sajip
bfc8f26ec2
Issue #17743 : Now use extended syntax of set command in .bat files.
2013-05-20 15:38:12 -07:00
Vinay Sajip
1eae2237e1
Closes #17744 : Merged fix from 3.3.
2013-05-20 15:30:10 -07:00
Vinay Sajip
e254751a63
Issue #17744 : Now unset VIRTUAL_ENV environment variable when deactivating.
2013-05-20 15:28:52 -07:00
Ned Deily
de88c0d2f2
Issue #18026 : merge
2013-05-20 14:32:06 -07:00
Ned Deily
ea3cfc5f34
Issue #18026 : fix ctypes doc typo
2013-05-20 14:29:44 -07:00
Benjamin Peterson
8d89c2aaba
change AST codegen to use PyModule_AddIntMacro
2013-05-20 10:28:48 -07:00
Charles-Francois Natali
74ca886788
Issue #17917 : Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant()
...
when applicable.
2013-05-20 19:13:19 +02:00
Charles-Francois Natali
d66b10e165
Issue #17684 : Fix some test_socket failures due to limited FD passing support
...
on OS-X. Patch by Jeff Ramnani.
2013-05-20 19:08:19 +02:00
Charles-Francois Natali
7c4f8dacf4
Issue #17914 : We can now inline _bsd_cpu_count().
2013-05-20 17:40:32 +02:00
Charles-Francois Natali
d59087de5b
Issue #17914 : Remove OS-X special-case, and use the correct int type.
2013-05-20 17:31:06 +02:00
Benjamin Peterson
cc00e01fad
test that the compiler support -Werror=statement-after-declaration before using it
2013-05-20 08:22:04 -07:00