Commit graph

15181 commits

Author SHA1 Message Date
Ezio Melotti
3b1eb1a7aa #11446: merge with 3.2. 2011-03-11 20:56:58 +02:00
Éric Araujo
a3dd56b6cf Use with statement where it improves the documentation (closes #10461) 2011-03-11 17:42:48 +01:00
Eli Bendersky
6860a92be0 Issue #11426: use 'with' statements on open files in CSV examples 2011-03-11 15:47:36 +02:00
Ezio Melotti
f0eccfd010 #11435: Merge with 3.2 2011-03-11 15:17:25 +02:00
R David Murray
ee30a0be35 Merge #10999 fix. 2011-03-10 17:38:50 -05:00
Gregory P. Smith
1aea1dabe5 Explicitly mention that people should not depend on immediate
finalization of  objects.
2011-03-10 11:34:52 -08:00
Ezio Melotti
a2087d0a5a Merge from 3.2. 2011-03-10 13:54:21 +02:00
Ezio Melotti
684d78cfb0 #11298: merge from 3.2. 2011-03-08 16:49:57 +02:00
Georg Brandl
52d3e7e6a5 Name c -> cls in example. 2011-03-07 08:31:52 +01:00
Georg Brandl
1ebca48030 Merge doc fixes. 2011-03-06 11:12:54 +01:00
Georg Brandl
776e586114 Remove sys.subversion and svn build identification leftovers. 2011-03-06 10:35:42 +01:00
Victor Stinner
27ee089c35 Issue #3080: Add PyImport_AddModuleObject() and PyImport_ExecCodeModuleObject() 2011-03-04 12:57:09 +00:00
Victor Stinner
0639b56672 Issue #3080: Add PyModule_NewObject() function 2011-03-04 12:57:07 +00:00
Eli Bendersky
0716a579a4 Mentioned new clear() method of MutableSequence in its doc, and added unit tests for its mixin methods 2011-03-04 10:38:14 +00:00
Giampaolo Rodolà
424298a155 Issue 9795: adds context manager protocol to nntplib.NNTP class so that it can used with the 'with' statement. 2011-03-03 18:34:06 +00:00
Eli Bendersky
4db28d3343 Issue #10516: added copy() and clear() methods to bytearrays as well 2011-03-03 18:21:02 +00:00
Victor Stinner
1dfd380306 Issue #11377: Deprecate platform.popen() and reimplement it with os.popen(). 2011-03-03 12:54:07 +00:00
Fred Drake
446230664b issue 11372: use range instead of xrange 2011-03-03 05:27:17 +00:00
Victor Stinner
0fbe22655b Issue #10831: Document the new formats (%li, %lli, %zi) 2011-03-02 00:10:34 +00:00
Éric Araujo
c613b6bce1 Remove outdated pointer to optparse (fixes #11360).
The doc already points to argparse.
2011-03-01 18:26:56 +00:00
Antoine Pitrou
f06576dc2b Recommend inspecting the errno attribute of socket.error objects,
and improve wording.
2011-02-28 22:38:07 +00:00
Antoine Pitrou
061cfb5258 Issue #10866: Add socket.sethostname(). Initial patch by Ross Lagerwall. 2011-02-28 22:25:22 +00:00
Antoine Pitrou
d6d17c58af No need to put this at top 2011-02-28 22:04:51 +00:00
Antoine Pitrou
fcf81fd031 Issue #11140: Lock.release() now raises a RuntimeError when attempting
to release an unacquired lock, as claimed in the threading documentation.
The _thread.error exception is now an alias of RuntimeError.
2011-02-28 22:03:34 +00:00
Giampaolo Rodolà
396ff06051 Fix issue 8594: adds a source_address parameter to ftplib module. 2011-02-28 19:19:51 +00:00
Benjamin Peterson
d0f89f3247 make this a link #11345 2011-02-27 15:06:44 +00:00
Benjamin Peterson
c6696d272f this isn't true anymore 2011-02-26 21:32:16 +00:00
Éric Araujo
8ed41a8e5c Replace links to the old dev doc with links to the new devguide. 2011-02-26 14:57:23 +00:00
Vinay Sajip
553de0ee7c Issue #11331: fixed documentation in logging cookbook. 2011-02-26 14:24:29 +00:00
Raymond Hettinger
94ca211372 Make Py3.x style "import builtins" 2011-02-26 02:48:44 +00:00
Raymond Hettinger
9fe1ccfb5a Issue #11297: Add collections.ChainMap() 2011-02-26 01:02:51 +00:00
Antoine Pitrou
8250e23abd Issue #10755: Add the posix.fdlistdir() function. Patch by Ross Lagerwall. 2011-02-25 23:41:16 +00:00
Antoine Pitrou
f65132de3d Issue #4761: Add the *at() family of functions (openat(), etc.) to the posix
module.  Patch by Ross Lagerwall.
2011-02-25 23:25:17 +00:00
Giampaolo Rodolà
103a6d6cd6 Issue 11177: asyncore's create_socket() arguments can now be omitted. 2011-02-25 22:21:22 +00:00
Antoine Pitrou
0bd4deba38 Issue #6064: Add a daemon keyword argument to the threading.Thread
and multiprocessing.Process constructors in order to override the
default behaviour of inheriting the daemonic property from the current
thread/process.
2011-02-25 22:07:43 +00:00
Éric Araujo
2035103a25 Add missing read() in distutils doc. 2011-02-25 21:40:34 +00:00
Giampaolo Rodolà
18e8bcb289 Issue 10784: adds os.getpriority() and os.setpriority() functions. 2011-02-25 20:57:54 +00:00
Alexander Belopolsky
1d52146a25 Issue #11303: Added shortcuts for utf8 and latin1 encodings.
Documented the list of optimized encodings as CPython implementation
detail.
2011-02-25 19:19:57 +00:00
Vinay Sajip
a29a9dd156 Documented QueueListener change. 2011-02-25 16:05:26 +00:00
Giampaolo Rodolà
61a0bf5864 (issue 11232) - fix asyncore documentation issue (patch by Sandro Tosi) 2011-02-25 14:50:57 +00:00
Giampaolo Rodolà
c9c2c8b034 Issue 10882: add os.sendfile(). (patch provided by Ross Lagerwall) 2011-02-25 14:39:16 +00:00
Antoine Pitrou
7f1e174c7a Make svn:eol-style's more consistent 2011-02-25 14:19:48 +00:00
Georg Brandl
c9c9bc02a8 Add 3.3 whatsnew to index. 2011-02-25 11:28:22 +00:00
Eli Bendersky
cbbaa96036 Issue #10516: adding list.clear() and list.copy() methods 2011-02-25 05:47:53 +00:00
Giampaolo Rodolà
3108f98319 Adds Python 3.3 what's new document. 2011-02-24 20:59:48 +00:00
Éric Araujo
6c3787cb70 Allow usage of SomeABC.register as a class decorator. Patch by Edoardo Spadolini (#10868). 2011-02-24 18:03:10 +00:00
Benjamin Peterson
5390d00cc6 rewrite 2011-02-24 02:53:05 +00:00
Benjamin Peterson
634ef9cb81 this seems to be pointlessly nested 2011-02-24 02:46:00 +00:00
Raymond Hettinger
c38f025a55 Issue #11304: Input/output tutorial - PI is rounded not truncated. 2011-02-24 00:08:13 +00:00
Georg Brandl
08f5cf51dc Indent "versionadded" properly. 2011-02-23 07:31:24 +00:00