Commit graph

9051 commits

Author SHA1 Message Date
Benjamin Peterson
d5c190d208 Merged revisions 84242-84244 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84242 | benjamin.peterson | 2010-08-21 15:01:28 -0500 (Sat, 21 Aug 2010) | 1 line

  indent properly
........
  r84243 | benjamin.peterson | 2010-08-21 15:03:15 -0500 (Sat, 21 Aug 2010) | 1 line

  fix more indentation
........
  r84244 | benjamin.peterson | 2010-08-21 15:08:36 -0500 (Sat, 21 Aug 2010) | 1 line

  provide sample implementations for attrgetter and methodcaller
........
2010-08-21 20:17:36 +00:00
Benjamin Peterson
2d55e2aab3 provide sample implementations for attrgetter and methodcaller 2010-08-21 20:08:36 +00:00
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
Éric Araujo
790c9af79e Manually merge r84187 2010-08-18 22:42:07 +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
9cd464d66b Merged revisions 84159 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84159 | eric.araujo | 2010-08-17 23:24:05 +0200 (mar., 17 août 2010) | 1 line

  Fix example
........
2010-08-17 21:35:09 +00:00
Éric Araujo
f5be090bc3 Fix example 2010-08-17 21:24:05 +00:00
Antoine Pitrou
38a4f7a38d Merged revisions 84156 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84156 | antoine.pitrou | 2010-08-17 23:11:49 +0200 (mar., 17 août 2010) | 3 lines

  Modernize gzip examples
........
2010-08-17 21:15:19 +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
b4efb3d81e Merged revisions 83212,83829,83833,83838-83839,83878,84019,84025,84028,84032,84036 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83212 | florent.xicluna | 2010-07-28 18:39:41 +0200 (mer., 28 juil. 2010) | 2 lines

  Syntax cleanup.
........
  r83829 | florent.xicluna | 2010-08-08 18:16:07 +0200 (dim., 08 août 2010) | 2 lines

  Use unittest specific methods for some urllib test cases.  And replace urllib2 with urllib.request in comments.
........
  r83833 | florent.xicluna | 2010-08-08 18:25:27 +0200 (dim., 08 août 2010) | 2 lines

  Add test case for the HTTPResponse being an iterable.  Follow-up of issue #4608.
........
  r83838 | florent.xicluna | 2010-08-08 20:03:44 +0200 (dim., 08 août 2010) | 2 lines

  Typo.
........
  r83839 | florent.xicluna | 2010-08-08 20:06:13 +0200 (dim., 08 août 2010) | 2 lines

  Issue #7564: Skip test_ioctl if another process is attached to /dev/tty.
........
  r83878 | florent.xicluna | 2010-08-09 10:29:08 +0200 (lun., 09 août 2010) | 1 line

  Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest).
........
  r84019 | florent.xicluna | 2010-08-14 17:56:42 +0200 (sam., 14 août 2010) | 11 lines

  Merged manually from 2.7 branch to 3.x trunk.

    ------------------------------------------------------------------------
    r79925 | nick.coghlan | 2010-04-10 16:24:36 +0200 (sam. 10 avril 2010)

    Try to turn some buildbots green by allowing test_multiprocessing to
    pass even if it hits the sys.exc_clear code in the threading module, and
    improve the test coverage by making the ctypes dependencies a bit more
    granular (two of the cited ctypes objects don't exist on my system)
    ------------------------------------------------------------------------
........
  r84025 | florent.xicluna | 2010-08-14 18:56:27 +0200 (sam., 14 août 2010) | 1 line

  List Misc/python-config.in in Misc/README.  Fix few typos.
........
  r84028 | florent.xicluna | 2010-08-14 19:02:49 +0200 (sam., 14 août 2010) | 1 line

  Fix order.
........
  r84032 | florent.xicluna | 2010-08-14 19:15:31 +0200 (sam., 14 août 2010) | 1 line

  Convert to spaces.
........
  r84036 | florent.xicluna | 2010-08-14 20:03:19 +0200 (sam., 14 août 2010) | 1 line

  Remove bad merge (from svnmerge r82301)
........
2010-08-14 18:24:40 +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
abfb5ac30a Merged revisions 83999,84001 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83999 | eric.araujo | 2010-08-14 06:55:45 +0200 (sam., 14 août 2010) | 2 lines

  Fix reference (follow-up to #9061)
........
  r84001 | eric.araujo | 2010-08-14 07:00:18 +0200 (sam., 14 août 2010) | 2 lines

  Oops, fix typo
........
2010-08-14 05:04:34 +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
ea54b03b1e Merged revisions 83900 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83900 | senthil.kumaran | 2010-08-10 01:23:52 +0530 (Tue, 10 Aug 2010) | 3 lines

  Fix Issue7007 -  Use percent-encoded consistently instead of URL Encoded variations. Docs changed.
........
2010-08-09 20:05:35 +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
c6d80c1bef Issue 8814: functools.wraps() did not copy __annotations__. 2010-08-08 00:56:52 +00:00
Raymond Hettinger
f56c9cd30d Backport doc readability improvements for the collections module. 2010-08-08 00:32:32 +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