Commit graph

83807 commits

Author SHA1 Message Date
Gregory P. Smith
b599c61179 Fix the unittest to run properly when the working directory has
additional bits set (such as the setgid or sticky bits).
2014-01-20 01:10:33 -08:00
Benjamin Peterson
27b490c713 merge 3.3 (#6627) 2014-01-20 00:12:24 -05:00
Benjamin Peterson
1cfe009b96 put notes in a ..note section 2014-01-20 00:10:23 -05:00
Benjamin Peterson
f6ffb4b264 document that a new Python thread context is created in ctypes callbacks (closes #6627)
Patch by Nikolaus Rath.
2014-01-20 00:09:53 -05:00
Larry Hastings
665757847e Improve fix for issue #20300. 2014-01-19 03:01:23 -08:00
Larry Hastings
c4fe092bc3 Issue #20300: Fix exception when setting conversion class member "default"
to None.
2014-01-19 02:27:34 -08:00
Larry Hastings
b7ccb20423 Issue #20294: Argument Clinic now supports argument parsing for __new__ and
__init__ functions.
2014-01-18 23:50:21 -08:00
Larry Hastings
b470575e24 Issue #20299: Argument Clinic custom converters may now change the default
value of c_default and py_default with a class member.
2014-01-18 21:54:15 -08:00
Benjamin Peterson
dc3cce077d merge 3.3 (#17811) 2014-01-18 22:57:05 -05:00
Benjamin Peterson
e83ed43281 improve description of buffers argument for readv/writev (closes #17811)
Patch by Nikolaus Rath.
2014-01-18 22:54:59 -05:00
Benjamin Peterson
bd22d39bae merge 3.3 (#18574) 2014-01-18 22:32:05 -05:00
Benjamin Peterson
a96860c91c correct news entry for #18574 2014-01-18 22:31:27 -05:00
Benjamin Peterson
c28ab08887 merge 3.3 (#18574) 2014-01-18 21:51:11 -05:00
Benjamin Peterson
3836593a2d add Nikolaus Rath to ACKS 2014-01-18 21:50:35 -05:00
Benjamin Peterson
044242360d fix handling of 100-continue status code (closes #18574) 2014-01-18 21:50:18 -05:00
Serhiy Storchaka
49776ef9e7 Use correct C type in byte_converter. 2014-01-19 00:38:36 +02:00
Stefan Krah
5de3278b23 Fix test failures (--without-doc-strings). 2014-01-18 23:18:39 +01:00
R David Murray
bbf18bee3c Merge #19855: restore use of LC_ALL, not LC_MESSAGES 2014-01-18 15:02:00 -05:00
R David Murray
4295353568 #19855: restore use of LC_ALL, not LC_MESSAGES
I didn't realize LC_ALL was an override, and I should have.  I tried to
make a test, but it is not clear that the LC variables actually affect
the strings that uuid is using to parse the command output.
2014-01-18 14:56:10 -05:00
Serhiy Storchaka
5d83d1a814 Issue #20270: urllib.urlparse now supports empty ports. 2014-01-18 18:31:41 +02:00
Serhiy Storchaka
ff97b08d00 Issue #20270: urllib.urlparse now supports empty ports. 2014-01-18 18:30:33 +02:00
Serhiy Storchaka
2d1f092469 Issue #20244: Fixed possible file leaks when unexpected error raised in
tarfile open functions.
2014-01-18 16:28:37 +02:00
Serhiy Storchaka
e413cde95f Issue #20244: Fixed possible file leaks when unexpected error raised in
tarfile open functions.
2014-01-18 16:28:08 +02:00
Serhiy Storchaka
aee0e63ed0 Issue #20243: TarFile no longer raise ReadError when opened in write mode. 2014-01-18 16:14:49 +02:00
Serhiy Storchaka
c2d01423e0 Issue #20243: TarFile no longer raise ReadError when opened in write mode. 2014-01-18 16:14:10 +02:00
Serhiy Storchaka
7d68a1c921 Issue #20238: TarFile opened with external fileobj and "w:gz" mode didn't
write complete output on close.
2014-01-18 15:53:39 +02:00
Serhiy Storchaka
9fbec7ad5e Issue #20238: TarFile opened with external fileobj and "w:gz" mode didn't
write complete output on close.
2014-01-18 15:53:05 +02:00
Serhiy Storchaka
ce644a09ac Issue #20245: The open functions in the tarfile module now correctly handle empty mode. 2014-01-18 15:37:21 +02:00
Serhiy Storchaka
53ad0cd284 Issue #20245: The open functions in the tarfile module now correctly handle empty mode. 2014-01-18 15:35:37 +02:00
Larry Hastings
537d760766 Doc improvements for Clinic howto "Goals" section. 2014-01-18 01:08:50 -08:00
Larry Hastings
4903e00141 Issue #20292: Small bug fix for Argument Clinic supporting format units
for strings with explicit encodings.
2014-01-18 00:26:16 -08:00
Benjamin Peterson
3c16c1d821 merge 3.3 2014-01-18 00:49:30 -05:00
Benjamin Peterson
af69fe2311 rm extra whitespace 2014-01-18 00:49:04 -05:00
Benjamin Peterson
9308c420d3 merge 3.3 2014-01-18 00:47:06 -05:00
Benjamin Peterson
eacec1ccff link to builtin open not io.open 2014-01-18 00:47:00 -05:00
Benjamin Peterson
d8af6700b9 merge 3.3 (#17814) 2014-01-18 00:46:49 -05:00
Benjamin Peterson
3d8814e1d3 describe type of Popen streams (closes #17814)
Patch more or less by Nikolaus Rath.
2014-01-18 00:45:56 -05:00
Larry Hastings
bebf73511a Issue #20287: Argument Clinic's output is now configurable, allowing
delaying its output or even redirecting it to a separate file.
2014-01-17 17:47:17 -08:00
Zachary Ware
601d366844 Issue #20265: Merge with 3.3 2014-01-17 15:24:18 -06:00
Zachary Ware
c3cf97b4ea Issue #20265: Updated some parts of the Using Windows document.
Includes:
-mention cx_Freeze instead of py2exe (at least until py2exe supports Python 3)
-update ActivePython link
-Remove mention of platforms that were never supported by Python 3 (Win9x, DOS)
2014-01-17 15:23:42 -06:00
Gregory P. Smith
83fed26953 avoid a compiler warning about assigning const char * to char *. 2014-01-17 12:09:05 -08:00
Gregory P. Smith
f34890937b avoid a compiler warning about assigning const char * to char *. 2014-01-17 12:08:49 -08:00
Gregory P. Smith
4cfbac80bd sort os.listxattr results before comparing it to avoid depending on the ordering of the directory information in the underlying filesystem. 2014-01-17 12:01:40 -08:00
Gregory P. Smith
1093bf2c7f sort os.listxattr results before comparing it to avoid depending on the
ordering of the directory information in the underlying filesystem.
2014-01-17 12:01:22 -08:00
Vinay Sajip
5714e815c9 Merged documentation update from 3.3. 2014-01-17 18:36:41 +00:00
Vinay Sajip
eb14deca15 Added example to recently added cookbook entry. 2014-01-17 18:36:02 +00:00
Brett Cannon
24f60b4616 Issues #20194,20195: Add missing :deprecated: markers to some module
docs.
2014-01-17 12:06:28 -05:00
Brett Cannon
f0996a9970 Issue #20208: Clarify some things in the Python porting HOWTO.
Thanks to Rodrigo Bernardo Pimentel, Ondřej Čertík, and Dmitry
Shachnev for the feedback leading to the changes.
2014-01-17 11:45:01 -05:00
Brett Cannon
c089f70b54 Issue #18394: Document that cgi.FieldStorage now cleans up after its
'file' attribute properly in Python 3.4.

Thanks to Marcel Hellkamp for pointing out the oversight.
2014-01-17 11:03:19 -05:00
Zachary Ware
50c8583492 Merge typo/grammar fixes from 3.3. 2014-01-17 09:31:19 -06:00