Commit Graph

56124 Commits

Author SHA1 Message Date
Antoine Pitrou c5618f039d Mention the *limit* argument of TextIO.readline(). 2012-07-25 22:40:05 +02:00
Antoine Pitrou 707bd4e385 Mention the *limit* argument of TextIO.readline(). 2012-07-25 22:38:33 +02:00
Vinay Sajip f7dbb0f64e Closes #15445: Merged documentation update from 3.2. 2012-07-25 19:20:32 +01:00
Vinay Sajip 393e23fbb5 Issue #15445: Updated logging configuration documentation to highlight potential security risk posed by listen() in certain scenarios. 2012-07-25 19:19:25 +01:00
Martin v. Löwis 099414875b merge 3.2 2012-07-25 11:33:02 +02:00
Martin v. Löwis 30d5e6c13f Issue #7163: Propagate return value of sys.stdout.write.
Patch by Roger Serwy.
2012-07-25 11:32:26 +02:00
Martin v. Löwis f4b341b0e6 merge 3.2 2012-07-25 10:49:32 +02:00
Martin v. Löwis c882b7c51a Issue #15318: Prevent writing to sys.stdin.
Patch by Roger Serwy and myself.
2012-07-25 10:47:20 +02:00
Antoine Pitrou f3923e9dd7 Issue #15413: os.times() had disappeared under Windows. 2012-07-24 21:23:53 +02:00
R David Murray 4c66896553 #15232: make NEWS entry more accurate. 2012-07-24 14:24:13 -04:00
R David Murray 186396dce6 #15232: make NEWS entry more accurate. 2012-07-24 14:22:19 -04:00
Eli Bendersky f7a54a0f12 Cleanup the doc a bit: remove useless example and sentence 2012-07-24 20:44:48 +03:00
Eli Bendersky c43c558658 Issue #15321: update PyPI upload doc to say --no-raw passed to rst2html.py. Patch by Chris Jerdonek 2012-07-24 19:51:06 +03:00
Eli Bendersky e431ed2354 Clarify what happens if shallow is false. Also, the caching note is not really correct since the cache gets occasionally cleared; therefore I removed it. 2012-07-24 19:47:34 +03:00
Ned Deily c59cc8f5ea Issue #14197: merge 2012-07-24 03:45:39 -07:00
Ned Deily ecd4e9de5a Issue #14197: For OS X framework builds, ensure links to the shared
library are created with the proper ABI suffix.
2012-07-24 03:31:48 -07:00
Jesus Cea e9f35cc149 MERGE: Rollback an incorrect Doc/ACKS.txt entry 2012-07-23 18:43:18 +02:00
Jesus Cea 55624da8a8 Rollback an incorrect Doc/ACKS.txt entry 2012-07-23 18:42:37 +02:00
Jesus Cea 653e4b30e3 MERGE: Better test for Issue #15402: Add a __sizeof__ method to struct.Struct 2012-07-23 18:16:18 +02:00
Jesus Cea 189fdf187b Better test for Issue #15402: Add a __sizeof__ method to struct.Struct 2012-07-23 18:15:33 +02:00
Meador Inge 9f65899d19 Issue #15402: Add a __sizeof__ method to struct.Struct.
Initial patch by Serhiy Storchaka.
2012-07-23 10:22:36 -05:00
Meador Inge b14d8c9bcf Issue #15402: Add a __sizeof__ method to struct.Struct.
Initial patch by Serhiy Storchaka.
2012-07-23 10:01:29 -05:00
Meador Inge fe114f0293 Putting the 3.2 -> default merge info in a happy place. 2012-07-23 09:16:53 -05:00
Raymond Hettinger d3f63d3661 Simplify the LaTeX section (only three escapes are needed for alltt) 2012-07-23 00:24:24 -05:00
Senthil Kumaran 7e918cfe28 merge heads. 2012-07-22 19:32:44 -07:00
Senthil Kumaran 392bfd30af merge heads. 2012-07-22 19:32:17 -07:00
Senthil Kumaran d74062948d - Issue #15250: Document that filecmp.dircmp compares files shallowly. Patch contributed by Chris Jerdonek. 2012-07-22 19:31:36 -07:00
Senthil Kumaran 28a9f2193a - Issue #15250: Document that filecmp.dircmp compares files shallowly. Patch contributed by Chris Jerdonek. 2012-07-22 19:12:58 -07:00
R David Murray 970bef295d Merge #15232: correctly mangle From lines in MIME preamble and epilogue 2012-07-22 21:53:54 -04:00
R David Murray 6a31bc6d81 #15232: correctly mangle From lines in MIME preamble and epilogue 2012-07-22 21:47:53 -04:00
R David Murray 4fb6b0a104 Merge #15429: Fix invalid mention of types.NoneType from None docs. 2012-07-22 20:43:42 -04:00
R David Murray e60e12b57a #15429: Fix invalid mention of types.NoneType from None docs. 2012-07-22 20:43:13 -04:00
Andrew Svetlov 80823d7ed7 #15094: fix incorrectly placed #endif in _tkinter.c.
Patch by Serhiy Storchaka.
2012-07-22 13:56:54 +03:00
Ned Deily c7a5a76b1e Issue #15184: Some config variables in test_sysconfig_module
may differ between sysconfig and distutils.sysconfig due to
compiler customizations on OS X.  For now, move those vars
into a separate test and skip if the customization has taken
place in distutils.  The long-term solution is to eliminate
having two sysconfig modules.
2012-07-22 02:56:36 -07:00
Ned Deily 2c80e120a9 Issue #15188: Prevent test_ldshared_value failure due to slightly
different parsing of the Makefile by distutils.sysconfig and
sysconfig in the case when an intermediate config vars, used to
construct PY_CFLAGS or PY_LDFLAGS, has a trailing space character.
In this case, the OS X installer build script was leaving a
trailing space in the OPT and LDFLAGS config vars.  The space is not
significant and it's not worth toying with the Makefile parsing.
2012-07-22 00:46:46 -07:00
Ned Deily 1ef871969c Issue #15184: Fix test__remove_unsupported_archs failures on 10.6
by removing unwarranted assumptions that clang compiler chain
cannot handle ppc (the driver passes off ppc compiles to gcc).
Mock the behavior instead.
2012-07-21 22:35:16 -07:00
Gregory P. Smith 34fcafde16 Consistently raise a TypeError when a non str is passed to hashlib.new
regardless of which of the two implementations of new is used.
2012-07-21 21:20:44 -07:00
Gregory P. Smith 76c28f7ce2 Consistently raise a TypeError when a non str is passed to hashlib.new
regardless of which of the two implementations of new is used.
2012-07-21 21:19:53 -07:00
R David Murray 45ccf032be Merge #13922: argparse no longer incorrectly strips '--' after the first one.
Patch by Jeff Knupp.
2012-07-21 22:56:49 -04:00
R David Murray 00528e8fec #13922: argparse no longer incorrectly strips '--' after the first one.
Patch by Jeff Knupp.
2012-07-21 22:48:35 -04:00
R David Murray d4703d1d85 Merge #12353: argparse now correctly handles null argument values.
Patch by Torsten Landschoff.
2012-07-21 22:28:08 -04:00
R David Murray b94082a71b #12353: argparse now correctly handles null argument values.
Patch by Torsten Landschoff.
2012-07-21 22:20:11 -04:00
R David Murray af418b2232 Merge #14391: clarify docstring discussion of Action's 'type' argument's value. 2012-07-21 17:05:24 -04:00
R David Murray 15cd9a0be4 #14391: clarify docstring discussion of Action's 'type' argument's value. 2012-07-21 17:04:25 -04:00
R David Murray 779b63d005 Merge #15342: Add clarifying sentence to posixpath.join docstring.
This sentence appears as a clarifying note in the HTML docs, and seems
worth having in the docstring since it covers a very common use case
that isn't otherwise obvious.  Thanks to Yongzhi Pan for the suggestion.
2012-07-21 14:34:51 -04:00
R David Murray e3de175a5e #15342: Add clarifying sentence to posixpath.join docstring.
This sentence appears as a clarifying note in the HTML docs, and seems
worth having in the docstring since it covers a very common use case
that isn't otherwise obvious.  Thanks to Yongzhi Pan for the suggestion.
2012-07-21 14:33:56 -04:00
Ned Deily a606aef743 Issue #15188: Modify the OS X build_installer script to remove temporary
build paths from configuration variables cached in _sysconfigdata.py, as
is already done for the installed Makefile.  This avoids a distuils test
case failure in test_ldshared_value.
2012-07-21 10:48:09 -07:00
Eli Bendersky 7b31b1a2a4 Raise ImportError if pyexpat's version is incompatible 2012-07-21 20:32:39 +03:00
Eli Bendersky ef391ac982 Raise ImportError if pyexpat's version is incompatible 2012-07-21 20:28:46 +03:00
Ned Deily 2731c049ac Issue #15184: Ensure configuration-related environment variables
are unset during test execution.
2012-07-21 09:29:54 -07:00