Commit Graph

5311 Commits

Author SHA1 Message Date
Georg Brandl 2bb0ac0ace merge with 3.3 2013-10-17 19:52:33 +02:00
Georg Brandl 9ff06dcfad Fix inaccurate versionchanged tag for compressobj(): most parameter were there, just got kwarg support. 2013-10-17 19:51:34 +02:00
Nick Coghlan 240f86d7dd Close #19266: contextlib.ignore -> contextlib.suppress
Patch by Zero Piraeus.
2013-10-17 23:40:57 +10:00
R David Murray 3da240fd01 #18891: Complete new provisional email API.
This adds EmailMessage and, MIMEPart subclasses of Message
with new API methods, and a ContentManager class used by
the new methods.  Also a new policy setting, content_manager.

Patch was reviewed by Stephen J. Turnbull and Serhiy Storchaka,
and reflects their feedback.

I will ideally add some examples of using the new API to the
documentation before the final release.
2013-10-16 22:48:40 -04:00
Richard Oudkerk b1694cf588 Issue #18999: Make multiprocessing use context objects.
This allows different parts of a program to use different methods for
starting processes without interfering with each other.
2013-10-16 16:41:56 +01:00
Serhiy Storchaka acc9f3fb16 Issue #18725: The textwrap module now supports truncating multiline text. 2013-10-15 21:22:54 +03:00
Serhiy Storchaka 0186721397 Issue #19189: Improved cross-references in the pickle module documentation. 2013-10-14 10:44:25 +03:00
Serhiy Storchaka 5bbbc94073 Issue #19189: Improved cross-references in the pickle module documentation. 2013-10-14 10:43:46 +03:00
Serhiy Storchaka ca1d6db6d3 Merge heads 2013-10-13 23:27:44 +03:00
Serhiy Storchaka 72aabb6177 Merge heads 2013-10-13 23:27:23 +03:00
Georg Brandl a7c17e552d Fix spacing of toplevel items. 2013-10-13 22:25:10 +02:00
Georg Brandl 3e30d471e9 merge with 3.3 2013-10-13 22:23:34 +02:00
Georg Brandl 810f1d56ea Wing IDE is switching to PyQt... 2013-10-13 22:23:27 +02:00
Serhiy Storchaka 98b28fddd8 Issue #18758: Fixed and improved cross-references. 2013-10-13 23:12:09 +03:00
Serhiy Storchaka bfdcd436f0 Issue #18758: Fixed and improved cross-references. 2013-10-13 23:09:14 +03:00
Georg Brandl fbc3c3c2be Closes #17730: in code.interact(), when banner="", do not print anything.
Also adds tests for banner printing.
2013-10-13 21:49:06 +02:00
Serhiy Storchaka 7ff4520584 Issue #19197: Improved cross-references in the shlex module documentation. 2013-10-13 21:20:30 +03:00
Serhiy Storchaka 4e985673bf Issue #19197: Improved cross-references in the shlex module documentation. 2013-10-13 21:19:00 +03:00
Serhiy Storchaka 690a6a95bd Issue #19207: Improved cross-references in the os, os.path, and posix modules
documentation.
2013-10-13 20:13:37 +03:00
Serhiy Storchaka dab8354920 Issue #19207: Improved cross-references in the os, os.path, and posix modules
documentation.
2013-10-13 20:12:43 +03:00
Serhiy Storchaka 10e73babad Improve #19204: Improved cross-references in the urllib package documentation. 2013-10-13 20:07:51 +03:00
Serhiy Storchaka 5e1c053f0c Improve #19204: Improved cross-references in the urllib package documentation. 2013-10-13 20:06:50 +03:00
Georg Brandl ef1605afa8 merge with 3.3 2013-10-13 18:38:53 +02:00
Georg Brandl b7117af07d Refer to strftime(3) manpage for platform specific format codes.
Suggested by Skip Montanaro on docs@.
2013-10-13 18:28:25 +02:00
Serhiy Storchaka 221d943c5b Issue #19198: Improved cross-references in the cgi module documentation. 2013-10-13 18:29:08 +03:00
Serhiy Storchaka fd1c3d3059 Issue #19198: Improved cross-references in the cgi module documentation. 2013-10-13 18:28:26 +03:00
Nick Coghlan e206b6e10e Issue #17827: document codecs.encode and codecs.decode
- Merge from 3.3
- Added to What's New since these are more important in 3.x,
  as the bytes<->bytes and str<->str codecs don't fit the
  text model convenience methods in 3.x the way they did the
  basestring<->basestring methods in the 2.x text model
- Included under Library in Misc/NEWS for the same reason
2013-10-14 00:55:46 +10:00
Nick Coghlan 6cb2b5b1e1 Issue #17827: Document codecs.encode and codecs.decode 2013-10-14 00:22:13 +10:00
Nick Coghlan b4534ae704 Docs tweaks for contextlib additions 2013-10-13 23:23:08 +10:00
Georg Brandl 31f6f4dd03 merge with 3.3 2013-10-13 10:49:47 +02:00
Georg Brandl aeaecfd257 Closes #13740: SND_NOWAIT seems to be ignored on modern Windows. 2013-10-13 10:49:41 +02:00
Georg Brandl daa1fa991c Back out accidentally pushed changeset b51218966201. 2013-10-13 09:32:59 +02:00
Georg Brandl 4300019e1a Add re.fullmatch() function and regex.fullmatch() method, which anchor the
pattern at both ends of the string to match.

Patch by Matthew Barnett.
Closes #16203.
2013-10-13 09:18:45 +02:00
Christian Heimes f1dc3ee16d Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start 2013-10-13 02:04:20 +02:00
Raymond Hettinger 84fc7081f5 merge 2013-10-12 16:04:39 -07:00
Raymond Hettinger 64801680d3 Issue #19202: Add cross-reference and a rough code equivalent 2013-10-12 16:04:17 -07:00
Christian Heimes e92ef13b0a Issue #18582: Add 'pbkdf2_hmac' to the hashlib module. 2013-10-13 00:52:43 +02:00
Georg Brandl 3cb26b77b6 merge with 3.3 2013-10-12 18:41:23 +02:00
Georg Brandl c96ef1f0ed Closes #13026: fix documentation of MAKE_FUNCTION for 3.x. 2013-10-12 18:41:18 +02:00
Georg Brandl 32b2c62db4 merge with 3.3 2013-10-12 18:19:48 +02:00
Georg Brandl 57f936ecde Closes #19179: make table of XML vulnerabilities clearer by using "everyday" booleans and explaining the table beforehand. 2013-10-12 18:19:33 +02:00
Raymond Hettinger 1254b407ac Rename contextlib.ignored() to contextlib.ignore(). 2013-10-10 22:39:39 -07:00
R David Murray d57937656d #18764: p(rint) -> p in pdb docs.
Missed changing the doc for the command itself, patch for that also by Connor
Osborn.
2013-10-10 17:33:43 -04:00
Benjamin Peterson 94d08d908b upgrade unicode db to 6.3.0 (closes #19221) 2013-10-10 17:24:45 -04:00
R David Murray 78d692f98e 18764: remove the problematic 'print' alias for the PDB 'p' command.
So that it no longer shadows the print function.

Patch by Connor Osborn, doc and test changes by R. David Murray.
2013-10-10 17:23:26 -04:00
Raymond Hettinger 088cbf2d39 Issue #15805: Add contextlib.redirect_stdout() 2013-10-10 00:46:57 -07:00
Georg Brandl 213ef6eb07 Closes #19200: small grammar fix in multiprocessing docs. Thanks to Elazar Gershuni. 2013-10-09 15:51:57 +02:00
Serhiy Storchaka 210871db72 #19194: Improved cross-references in the fcntl module documentation. 2013-10-09 14:20:37 +03:00
Serhiy Storchaka 926099d5ce #19194: Improved cross-references in the fcntl module documentation. 2013-10-09 14:20:22 +03:00
Serhiy Storchaka 0d85b5c68d Issue #19190: Improve cross-references in builtin types and functions documentation. 2013-10-09 14:03:24 +03:00
Serhiy Storchaka 0d196edc37 Issue #19190: Improve cross-references in builtin types and functions documentation. 2013-10-09 14:02:31 +03:00
Antoine Pitrou 77e904e6a6 Issue #18948: improve SuppressCoreFiles to include Windows crash popup suppression, and use it in more tests.
Patch by Valerie Lambert and Zachary Ware.
2013-10-08 23:04:32 +02:00
Georg Brandl bc332a2415 merge with 3.3 2013-10-08 21:43:46 +02:00
Georg Brandl f24c1416eb Fix wrong link. 2013-10-08 21:43:39 +02:00
Georg Brandl 7c679514a5 merge with 3.3 2013-10-06 21:23:26 +02:00
Georg Brandl c377fe2b96 Closes #1215: document better why it is not a good idea to catch e.g. SIGSEGV and refer to faulthandler.
Patch by Martin Pool.
2013-10-06 21:22:42 +02:00
Georg Brandl fd11551710 merge with 3.3 2013-10-06 19:34:19 +02:00
Georg Brandl 29fc4bf5c7 Use the platform-independent way of calling a script from the shell: "python prog.py", not "prog.py"
Found by Micheal Wells on docs@.
2013-10-06 19:33:56 +02:00
Georg Brandl aca718e9f1 merge with 3.3 2013-10-06 19:27:17 +02:00
Georg Brandl 136a050bf3 Fix name of the "exist_ok" argument. Found by Neil Bushong on docs@. 2013-10-06 19:27:13 +02:00
Georg Brandl a2a7e243aa merge with 3.3 2013-10-06 19:24:00 +02:00
Georg Brandl 9ad417ee81 Fix: >= and so on are usually called "comparison operators", not "logical operators". Found by Tom Kalt on docs@. 2013-10-06 19:23:57 +02:00
Georg Brandl 89672bf129 merge with 3.3 2013-10-06 19:19:26 +02:00
Georg Brandl 6647a719bc Fix: win32_ver returns a 4-tuple. Found by Andrew Berg on docs@. 2013-10-06 19:19:18 +02:00
Georg Brandl 3686db104c merge with 3.3 2013-10-06 19:14:46 +02:00
Georg Brandl f6d6347fc0 Fix typo in function name. 2013-10-06 19:14:35 +02:00
Georg Brandl b68b970a01 merge with 3.3 2013-10-06 19:02:13 +02:00
Georg Brandl ffb94ae46f Closes #15432: GzipFile mtime argument is new in 3.1. 2013-10-06 19:02:08 +02:00
Georg Brandl 434bdf413f merge with 3.3 2013-10-06 18:58:03 +02:00
Georg Brandl 9ad5bf662d Closes #15228: remove reference to Unix "touch"; it is confusing since the path needs to exist for os.utime() to succeed 2013-10-06 18:57:49 +02:00
Georg Brandl 94c1467bad merge with 3.3 2013-10-06 18:57:02 +02:00
Georg Brandl fc9a113418 Closes #11807: document argparse add_subparsers method better.
Patch by Filip Gruszczyński.
2013-10-06 18:51:39 +02:00
Georg Brandl af1edb7f45 merge with 3.3 2013-10-06 18:48:30 +02:00
Georg Brandl c6a2c9b466 Closes #15213: update comment for _PyOS_URandom 2013-10-06 18:43:19 +02:00
Georg Brandl 7cc439a877 merge with 3.3 2013-10-06 18:26:43 +02:00
Georg Brandl 6e94a3098e The "FAQ" link at the end was changed to a Wikipedia link; reflect that. 2013-10-06 18:26:36 +02:00
Georg Brandl 99b1a12f2f merge with 3.3 2013-10-06 18:20:39 +02:00
Georg Brandl 4a6cf6c9d1 Closes #19177: replace dead link to SSL/TLS introduction with the version from Apache. 2013-10-06 18:20:31 +02:00
Georg Brandl e448ccaa6f merge with 3.3 2013-10-06 18:18:16 +02:00
Georg Brandl 036e41de52 Closes #19181: replace non-existing host ftp.cwi.nl with ftp.debian.org in ftplib example. 2013-10-06 18:17:56 +02:00
Georg Brandl 15f57f61cb merge with 3.3 2013-10-06 18:12:13 +02:00
Georg Brandl 0bbbeb59f4 Closes #12350: clarify blocks/block size members of stat result. 2013-10-06 18:11:32 +02:00
Georg Brandl 92965099a6 merge with 3.3 2013-10-06 13:24:52 +02:00
Georg Brandl df40e860d3 Fix typo. Spotted by Bo Bayles on docs@. 2013-10-06 13:24:49 +02:00
Georg Brandl cfcd686acf merge with 3.3 2013-10-06 13:17:14 +02:00
Georg Brandl 9c2505b8fc Fix order of required StreamReader/StreamWriter base classes. Spotted by Edward Welbourne on docs@. 2013-10-06 13:17:04 +02:00
Georg Brandl 7caabe09aa merge with 3.3 2013-10-06 13:10:06 +02:00
Georg Brandl ed86ff868a Fix missing class name in markup. Found by Tanky Woo on docs@. 2013-10-06 13:09:59 +02:00
Georg Brandl f70acb7874 merge with 3.3 2013-10-06 12:58:26 +02:00
Georg Brandl 2070e83f28 Fix example in backreference description. Found by Alexander Heger on docs@. 2013-10-06 12:58:20 +02:00
Georg Brandl 93c85a9d1b merge with 3.3 2013-10-06 12:52:53 +02:00
Georg Brandl a0b792354e Fix method name: ensure_directories, not create_directories. Found by Michael Rand on docs@. 2013-10-06 12:52:49 +02:00
Georg Brandl 892cd0ef1f merge with 3.3 2013-10-06 12:46:35 +02:00
Georg Brandl 0688d68d14 PythonCAD is now on PyQt, use Wing as a prominent PyGtk example.
Found by Helge Stenström on docs@.
2013-10-06 12:46:13 +02:00
Georg Brandl 92666d9c2b merge with 3.3 2013-10-06 12:42:40 +02:00
Georg Brandl d277a56af3 Fix minor bug in httplib example. Found by Alex MacAulay on docs@. 2013-10-06 12:42:18 +02:00
Georg Brandl 9ace9648e5 merge with 3.3 2013-10-06 12:38:57 +02:00
Georg Brandl 3c1271142d Fix SQLite datatype name: it is REAL, not FLOAT. Found by Richard Kelsall on docs@. 2013-10-06 12:38:44 +02:00
Georg Brandl 924c822f73 merge with 3.3 2013-10-06 12:37:21 +02:00
Georg Brandl 87f3d7bb54 Counter: fix recipe for "n least common elements". Found by Mikhail Golubev on docs@. 2013-10-06 12:36:39 +02:00