Commit Graph

58111 Commits

Author SHA1 Message Date
Chris Jerdonek a6dfe542d7 Null merge from 3.3. 2012-11-28 02:47:45 -08:00
Chris Jerdonek 164f8f1336 Merge heads. 2012-11-28 02:46:25 -08:00
Chris Jerdonek 1fb47587a1 Merge heads. 2012-11-28 02:45:34 -08:00
Chris Jerdonek 1bfaa688ba Merge from 3.3: improve argument/parameter documentation (issue #15990). 2012-11-28 02:42:26 -08:00
Chris Jerdonek d97c71feda Merge from 3.2: improve argument/parameter documentation (issue #15990). 2012-11-28 02:37:42 -08:00
Andrew Svetlov 122e9306ad Merge issue #16323: Fix wrong C API documentation for locale encoding.
Patch by Berker Peksag.
2012-11-28 12:34:27 +02:00
Andrew Svetlov 0fe030bb03 Issue #16323: Fix wrong C API documentation for locale encoding.
Patch by Berker Peksag.
2012-11-28 12:33:58 +02:00
Chris Jerdonek c2a7fd60e1 Improve argument/parameter documentation (issue #15990).
This commit adds "parameter" to the glossary, improves and consolidates the
"argument" glossary entry, and adds a question to the FAQ on the difference
between arguments and parameters.
2012-11-28 02:29:33 -08:00
Chris Jerdonek 16459e8b16 Merge from 3.3: Add a str class entry to the string section (issue #16209).
This commit also moves the documentation for the str built-in function to
the new class entry.  Links to :class:`str` now go to the class entry with
the string methods immediately afterwards.
2012-11-28 01:45:15 -08:00
Chris Jerdonek bb4e941c6d Add a str class entry to the "Text Sequence Type" section (issue #16209).
This commit also moves the documentation for the str built-in function to
the new class entry.  Links to :class:`str` now go to the class entry with
the string methods immediately afterwards.
2012-11-28 01:38:40 -08:00
Andrew Svetlov bff98fe536 Issue #16464: reset Request's Content-Length header on .data change.
It will be recalculated on sending request to HTTP server.

Patch by Alexey Kachayev
2012-11-27 23:06:19 +02:00
Gregory P. Smith 9a270d9741 null merge 2012-11-27 10:18:56 -08:00
Gregory P. Smith 21602183ce null merge (3.3 is different) 2012-11-27 10:18:40 -08:00
Gregory P. Smith 14b04cd350 Plug a leak in timemodule. The module dictionary is saved during
initialization. If the interpreter is shut down and reinitialized (embedded
CPython), the old module dictionary was not dec-refed during the next import of
the time extension module.

Contributed by Torsten Marek of Google.
2012-11-27 10:16:55 -08:00
Ezio Melotti 847d4add26 #16556: merge with 3.3. 2012-11-27 19:19:01 +02:00
Ezio Melotti 7768dd77c1 #16556: merge with 3.2. 2012-11-27 19:18:47 +02:00
Ezio Melotti 28c88f48f9 #16556: Fix inconsistency between kwds and kwargs. Patch by Taavi Burns. 2012-11-27 19:17:57 +02:00
Ezio Melotti 185e7e91ae #16559: merge with 3.3. 2012-11-26 19:27:58 +02:00
Ezio Melotti c483034048 #16559: merge with 3.2. 2012-11-26 19:27:02 +02:00
Ezio Melotti 8c52370403 #16559: Add more tests for the json module. Patch by Serhiy Storchaka. 2012-11-26 19:24:20 +02:00
Chris Jerdonek b48f4ea601 Merge from 3.3: add hyperlinks to some os.path function docs (issue #16552). 2012-11-25 20:42:00 -08:00
Chris Jerdonek 3b39d35eeb Merge from 3.2: add hyperlinks to some os.path function docs (issue #16552). 2012-11-25 20:40:57 -08:00
Chris Jerdonek 0b502ff33b Add hyperlinks to the docs of some os.path functions (issue #16552). 2012-11-25 20:38:01 -08:00
Vinay Sajip 367923b840 Null merge for fix for #16521. 2012-11-25 15:17:01 +00:00
Vinay Sajip d27e05d734 Closes #16521: Improved error handling for basicConfig(), added tests for same. 2012-11-25 15:11:46 +00:00
Mark Dickinson 073f067369 Issue #16546: merge fix from 3.3 2012-11-25 14:37:43 +00:00
Mark Dickinson ded35aeb9d Issue #16546: make ast.YieldFrom argument mandatory. 2012-11-25 14:36:26 +00:00
Antoine Pitrou ab56710989 Issue #12848: The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does.
Patch by Serhiy Storchaka.
2012-11-24 20:42:59 +01:00
Antoine Pitrou 9982c53c2f Issue #12848: The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does.
Patch by Serhiy Storchaka.
2012-11-24 20:41:34 +01:00
Antoine Pitrou bf6ecf92fa Issue #12848: The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does.
Patch by Serhiy Storchaka.
2012-11-24 20:40:21 +01:00
Antoine Pitrou 7fde5b3ccf Fix missing import (followup to #4473). 2012-11-24 18:14:12 +01:00
Antoine Pitrou df204be922 Issue #16423: urllib.request now has support for ``data:`` URLs.
Patch by Mathias Panzenböck.
2012-11-24 17:59:08 +01:00
Ezio Melotti a833e0d8ae Merge debug print removal with 3.3. 2012-11-23 22:17:02 +02:00
Ezio Melotti 9ab09d129e Merge debug print removal with 3.2. 2012-11-23 22:16:45 +02:00
Ezio Melotti 82e60de727 Remove debug print. 2012-11-23 22:16:07 +02:00
Vinay Sajip f8eb15dce2 Merged upstream changes. 2012-11-23 19:22:39 +00:00
Vinay Sajip 70adf6f72f Closes #16519: Merged fix from 3.3. 2012-11-23 19:21:46 +00:00
Vinay Sajip 27e4b6059e Issue #16519: Used os.path.abspath, removed unnecessary code for executable_name. 2012-11-23 19:16:49 +00:00
Antoine Pitrou 8618d7457b Issue #4473: Add a POP3.stls() to switch a clear-text POP3 session into an encrypted POP3 session, on supported servers.
Patch by Lorenzo Catucci.
2012-11-23 20:13:48 +01:00
Antoine Pitrou 25cee19beb Issue #4473: Add a POP3.capa() method to query the capabilities advertised by the POP3 server.
Patch by Lorenzo Catucci.
2012-11-23 20:07:39 +01:00
Antoine Pitrou d89824b0e2 Issue #4473: Ensure the socket is shutdown cleanly in POP3.close().
Patch by Lorenzo Catucci.
2012-11-23 20:04:45 +01:00
Ezio Melotti ff790aac66 #16530: merge with 3.3. 2012-11-23 19:46:52 +02:00
Ezio Melotti 44dcd6bcb2 #16530: merge with 3.2. 2012-11-23 19:46:29 +02:00
Ezio Melotti ba4d8ed8f8 #16530: the "options" arg of os.wait3 is required. 2012-11-23 19:45:52 +02:00
Ezio Melotti 8b9a8f3c98 #16306: merge with 3.3. 2012-11-23 19:01:42 +02:00
Ezio Melotti 8a6d1fed41 #16306: merge with 3.2. 2012-11-23 18:52:39 +02:00
Ezio Melotti a0dd22e5e8 #16306: report only the first unknown option and add more tests. Patch by Serhiy Storchaka. 2012-11-23 18:48:32 +02:00
Andrew Svetlov 9f8c2194c2 Merge issue #16538: correctly describe MAKE_CLOSURE in docs.
Patch by Daniel Urban
2012-11-23 15:29:48 +02:00
Andrew Svetlov a5c430940c Issue #16538: correctly describe MAKE_CLOSURE in docs.
Patch by Daniel Urban
2012-11-23 15:28:34 +02:00
Ezio Melotti 32f4e6e991 #16309: avoid using deprecated method and turn docstring in a comment. 2012-11-23 01:51:20 +02:00