Commit Graph

76171 Commits

Author SHA1 Message Date
Antoine Pitrou 6a35e18161 Issue #15633: httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length. 2013-02-02 23:04:56 +01:00
Antoine Pitrou beec61ae4e Issue #15633: httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length. 2013-02-02 22:49:34 +01:00
Nadeem Vawda c27bcbf863 Back out fix for issue #13886; it introduced a new bug in interactive readline use. 2013-02-02 20:25:19 +01:00
Nadeem Vawda 6375257188 Back out fix for issue #13886; it introduced a new bug in interactive readline use. 2013-02-02 20:05:11 +01:00
Serhiy Storchaka 672671da47 Fix the test for issue #6972.
Remove trailing dots on Windows.
2013-02-02 19:51:37 +02:00
Serhiy Storchaka e5e6444497 Fix the test for issue #6972.
Remove trailing dots on Windows.
2013-02-02 19:50:59 +02:00
Serhiy Storchaka d357a3f841 Issue #17034: Use Py_CLEAR() in bytesobject.c. 2013-02-02 18:45:54 +02:00
Serhiy Storchaka f458a03617 Issue #17034: Use Py_CLEAR() in bytesobject.c. 2013-02-02 18:45:22 +02:00
Serhiy Storchaka d4198c4234 Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972. 2013-02-02 13:28:05 +02:00
Serhiy Storchaka 44b8cbfcba Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972. 2013-02-02 13:27:30 +02:00
Serhiy Storchaka e080a7a5d4 Fix tests for issue #11159. 2013-02-02 12:17:30 +02:00
Serhiy Storchaka 1a4ed4ce18 Fix tests for issue #11159. 2013-02-02 12:17:05 +02:00
Serhiy Storchaka f22bc64728 Null merge 2013-02-02 10:38:59 +02:00
Serhiy Storchaka 889e1e3e5d Merge heads 2013-02-02 10:38:06 +02:00
Serhiy Storchaka 5a9c1a753f Merge heads 2013-02-02 10:37:36 +02:00
Serhiy Storchaka efbf40f9e1 Issue #11159: Add tests for testing SAX parser support of non-ascii file names. 2013-02-02 10:31:50 +02:00
Serhiy Storchaka d52023968a Issue #11159: Add tests for testing SAX parser support of non-ascii file names. 2013-02-02 10:31:17 +02:00
Ned Deily c2aadc267a Issue #15116: merge from 3.2 2013-02-02 00:19:05 -08:00
Ned Deily ae8d6ac3f4 Issue #15116: Remove references to appscript as it is no longer being
supported.
2013-02-02 00:16:14 -08:00
Ned Deily 380f7a186f Issue #15587: merge from 3.2 2013-02-01 23:15:51 -08:00
Ned Deily 9cd864dcbf Issue #15587: Enable Tk high-resolution text rendering on Macs with
Retina displays.  Applies to Tkinter apps, such as IDLE, on OS X
framework builds linked with Cocoa Tk 8.5+.
Suggested by Kevin Walzer
2013-02-01 23:12:42 -08:00
Gregory P. Smith 90fa9508a6 In the _hashlib module, only initialize the static data for OpenSSL's
constructors once, to avoid memory leaks when finalizing and re-initializing
the Python interpreter.
2013-02-01 17:07:39 -08:00
Gregory P. Smith aded2e5e59 In the _hashlib module, only initialize the static data for OpenSSL's
constructors once, to avoid memory leaks when finalizing and re-initializing
the Python interpreter.
2013-02-01 17:05:29 -08:00
Gregory P. Smith b2da96b3bb null merge from 3.2 (3.3's code already refactored) 2013-02-01 16:15:01 -08:00
Gregory P. Smith ce9e3c3af9 Silence a -Wformat-extra-argument warning when compiling. 2013-02-01 16:14:00 -08:00
Ned Deily 8214b9b293 Issue #16256: merge from 3.2 2013-02-01 14:05:26 -08:00
Ned Deily 6214d4937c Issue #16256: OS X installer now sets correct permissions for doc directory. 2013-02-01 13:59:42 -08:00
Brett Cannon addebca751 merge 2013-02-01 16:37:07 -05:00
Gregory P. Smith ee9b172255 null merge 2013-02-01 13:08:51 -08:00
Gregory P. Smith 99ec7f6f3e Additional fix for issue #12268: The io module file object write methods no
longer abort early when a write system call is interrupted (EINTR).
2013-02-01 13:08:23 -08:00
Gregory P. Smith 9b57cf5810 better corrected news entry 2013-02-01 13:06:44 -08:00
Gregory P. Smith b9817b01ed Additional fix for Issue #12268: The io module file object writelines() methods no longer abort early when one of its write system calls is interrupted (EINTR). 2013-02-01 13:03:39 -08:00
Brett Cannon da9cf0eef8 Issue #17098: Be more stringent of setting __loader__ on early imported
modules. Also made test more rigorous.
2013-02-01 15:31:49 -05:00
Brett Cannon e7387b4708 Add a test for fix of issue #17098 2013-02-01 14:43:59 -05:00
Gregory P. Smith 193e1be72d Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.
2013-02-01 11:31:31 -08:00
Gregory P. Smith b47acbf46a Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.
2013-02-01 11:22:43 -08:00
Brett Cannon 0ecd30b4af Issue #17098: Make sure every module has __loader__ defined.
Thanks to Thomas Heller for the bug report.
2013-02-01 14:04:12 -05:00
Serhiy Storchaka 89fa86b035 Issue #1783: Remove declarations of nonexistent private variables. 2013-02-01 13:14:47 +02:00
Serhiy Storchaka 04d86c7c87 Issue #1783: Remove declarations of nonexistent private variables. 2013-02-01 13:14:20 +02:00
Ezio Melotti 84ad6aea73 #16128: merge with 3.2. 2013-02-01 05:20:06 +02:00
Ezio Melotti 188ad851fb #16128: clarify that instances of user-defined classes compare equal with themselves. 2013-02-01 05:18:44 +02:00
Serhiy Storchaka 3ff4571af3 Issue #17041: Fix doctesting when Python is configured with the
--without-doc-strings.
2013-01-31 16:11:28 +02:00
Serhiy Storchaka 9a11f17673 Issue #17041: Fix doctesting when Python is configured with the
--without-doc-strings.
2013-01-31 16:11:04 +02:00
Serhiy Storchaka cc9e5369d3 Added test to ensure localized calendar methods return strings and not bytes. 2013-01-31 16:01:21 +02:00
Serhiy Storchaka f9fcdb7e90 Added test to ensure localized calendar methods return strings and not bytes. 2013-01-31 16:00:42 +02:00
Serhiy Storchaka d72bfe9eb9 Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an
incomplete "End of Central Directory" record.  Original patch by Guilherme
Polo and Alan McIntyre.
2013-01-31 15:29:20 +02:00
Serhiy Storchaka d2b1527f14 Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an
incomplete "End of Central Directory" record.  Original patch by Guilherme
Polo and Alan McIntyre.
2013-01-31 15:27:07 +02:00
Ned Deily 58ed80efa6 null merge 2013-01-31 01:34:02 -08:00
Ned Deily fc20d77b40 Issue #13590: OS X Xcode 4 - improve support for universal extension modules
In particular, fix extension module build failures when trying to use
    32-bit-only installer Pythons on systems with Xcode 4 (currently
    OS X 10.8, 10.7, and optionally 10.6).
    * Backport 3.3.0 fixes to 3.2 branch (for release in 3.2.4)
    * Since Xcode 4 removes ppc support, extension module builds now
      check for ppc compiler support and by default remove ppc and
      ppc64 archs when they are not available.
    * Extension module builds now revert to using system installed
      headers and libs (/usr and /System/Library) if the SDK used
      to build the interpreter is not installed or has moved.
    * Try to avoid building extension modules with deprecated
      and problematic Apple llvm-gcc compiler.  If original compiler
      is not available, use clang instead by default.
2013-01-31 01:28:23 -08:00
Vinay Sajip 2b4fcfbbec Updated venv documentation with an example. 2013-01-30 13:44:00 +00:00