Commit Graph

1477 Commits

Author SHA1 Message Date
Benjamin Peterson c16f8b33e0 fix more indentation 2010-08-21 20:03:15 +00:00
Benjamin Peterson ffec810d88 indent properly 2010-08-21 20:01:28 +00:00
Senthil Kumaran 6cbe4275cb Add info about HTTP/1.1 and Connection:Close header. 2010-08-21 16:08:32 +00:00
Benjamin Peterson 23110e7361 alias macintosh to mac_roman #843590 2010-08-21 02:54:44 +00:00
Vinay Sajip 8101021eae Issue #9606: Updated documentation for Filter objects. 2010-08-19 19:17:41 +00:00
Victor Stinner e8d5145e18 Create os.fsdecode(): decode from the filesystem encoding with surrogateescape
error handler, or strict error handler on Windows.

 * Rewrite os.fsencode() documentation
 * Improve os.fsencode and os.fsdecode() tests using the new PYTHONFSENCODING
   environment variable
2010-08-19 01:05:19 +00:00
Andrew M. Kuchling 4ea04a306f #7647: add ST_RDONLY, ST_NOSUID constants to os module.
(Also fix a name ordering in the ACKS file.)
2010-08-18 22:30:34 +00:00
Éric Araujo 0fc86b86ed Fix indentation level 2010-08-18 22:29:54 +00:00
Éric Araujo f5be090bc3 Fix example 2010-08-17 21:24:05 +00:00
Antoine Pitrou cdfe1c54fc Add versionadded tags 2010-08-17 21:15:00 +00:00
Antoine Pitrou bf1a018ce4 Modernize gzip examples 2010-08-17 21:11:49 +00:00
Antoine Pitrou 79c5ef11d5 Issue #3488: Provide convenient shorthand functions `gzip.compress`
and `gzip.decompress`.  Original patch by Anand B. Pillai.
2010-08-17 21:10:05 +00:00
Raymond Hettinger 3fccfcb751 Minor rewording to docs for the lru_cache decorator 2010-08-17 19:19:29 +00:00
Benjamin Peterson 7ac98ae3b3 wrap 2010-08-17 17:52:02 +00:00
Giampaolo Rodolà 42382fedcc fix issue #8807: adds a context parameter to POP3_SSL class. 2010-08-17 16:09:53 +00:00
Giampaolo Rodolà ccfb91c89f fix issue #8866: parameters passed to socket.getaddrinfo can now be specified as single keyword arguments. 2010-08-17 15:30:23 +00:00
Georg Brandl 67b21b7547 Consistency check for versionadded/changed directives. 2010-08-17 15:07:14 +00:00
Georg Brandl 9e25701e87 Markup nits. 2010-08-17 14:11:59 +00:00
Nick Coghlan eae2da1da7 Issue 9147: Add dis.code_info() 2010-08-17 08:03:36 +00:00
Nick Coghlan 9887683f74 Document and test the resolution of issue 3445 (tolerate missing attributes in functools.update_wrapper, previously implemented as a side effect of the __annotations__ copying patch) and implement issue 9567 (add a __wrapped__ attribute when using update_wrapper) 2010-08-17 06:17:18 +00:00
Nick Coghlan 632a0c1476 Remove some lingering remnants of the short-lived functools.lfu_cache 2010-08-17 05:22:50 +00:00
Benjamin Peterson ad1e0c5e5f added versionadded 2010-08-17 03:37:20 +00:00
Benjamin Peterson 45c257f193 add support for abstract class and static methods #5867 2010-08-17 00:52:52 +00:00
Florent Xicluna e3c39ae53e Replace readfp() with read_file() in configparser documentation. 2010-08-15 20:21:26 +00:00
Florent Xicluna ac521078d7 Remove bad merge (from svnmerge r82301) 2010-08-14 18:03:19 +00:00
Georg Brandl 8e27fcea07 Wording fix. 2010-08-14 15:46:15 +00:00
Éric Araujo d7fc374a7a Oops, fix typo 2010-08-14 05:00:18 +00:00
Éric Araujo 71428876ea Fix reference (follow-up to #9061) 2010-08-14 04:55:45 +00:00
Antoine Pitrou 6fdb74f0ae Re-apply r83871. 2010-08-13 16:26:40 +00:00
Antoine Pitrou 6e451df800 Followup to r83869 and issue #8524: rename socket.forget() to socket.detach()
and make it return the file descriptor.
2010-08-09 20:39:54 +00:00
Senthil Kumaran f0769e8bd0 Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations. Docs changed. 2010-08-09 19:53:52 +00:00
Fred Drake a492362f9a issue #9452:
Add read_file, read_string, and read_dict to the configparser API;
new source attribute to exceptions.
2010-08-09 12:52:45 +00:00
Antoine Pitrou f14c263280 Also temporarily revert r83871, to fix compilation on buildbots 2010-08-09 12:47:33 +00:00
Benjamin Peterson cca65313c4 use 3 space indents 2010-08-09 02:13:10 +00:00
Raymond Hettinger 5b0c1e07ca Issue 7846: fnmatch cache can grow without bound
Updated to solution to use the functools.lru_cache().
Restores the API so that purge() is not needed
(because the cache never gets big).
2010-08-09 02:07:15 +00:00
Antoine Pitrou e43f9d0ed6 Issue #8524: Add a forget() method to socket objects, so as to put the
socket into the closed state without closing the underlying file
descriptor.
2010-08-08 23:24:50 +00:00
Antoine Pitrou 696e03553b Issue #477863: Print a warning at shutdown if gc.garbage is not empty. 2010-08-08 22:18:46 +00:00
Florent Xicluna c17f17294f Issue #8047: Fix the xml.etree serializer to return bytes by default.
Use ``encoding="unicode"`` to generate a Unicode string.
2010-08-08 19:48:29 +00:00
Raymond Hettinger d331ce9e66 Issue #9507: Named tuple repr will now automatically display the right
name in a tuple subclass.
2010-08-08 01:13:42 +00:00
Raymond Hettinger a6b76ba52e Improve readability of collections docs by adding a summary table
at the top and by list concrete classes before abstract base classes.
2010-08-08 00:29:08 +00:00
Raymond Hettinger 648e725712 Fix typo 2010-08-07 23:37:37 +00:00
Raymond Hettinger 0e833c3227 Document implementation notes for priority queues 2010-08-07 23:31:27 +00:00
Raymond Hettinger 769b6d3009 Clean-up docstring in examples. 2010-08-07 21:31:55 +00:00
Raymond Hettinger 87c9d6cf9c Improve the docs for bisect to cover common searching tasks. 2010-08-07 07:36:55 +00:00
Raymond Hettinger 08d01eedef Add partition recipe to itertools docs. 2010-08-07 05:36:53 +00:00
Brian Curtin ef9efbd69c Fix #9324: Add parameter validation to signal.signal on Windows in order
to prevent crashes.
2010-08-06 19:27:32 +00:00
Gerhard Häring c34d76cdc3 Issue #3854: Documented using the sqlite3 module with multiple threads. 2010-08-06 06:12:05 +00:00
Brian Curtin f045d775fd Issue #9524: Document that two CTRL* signals are meant for use only
with os.kill.
2010-08-05 18:56:00 +00:00
Alexandre Vassalotti ae7801813c Issue 5077: Add documentation for operator fixer.
Patch by Meador Inge.
2010-08-05 07:12:18 +00:00
Mark Dickinson 74f5902b04 Issue #9498: Add reference to sys.float_info from 'numeric types' docs.
Thanks Yitz Gale.
2010-08-04 18:42:43 +00:00