Commit graph

48783 commits

Author SHA1 Message Date
Vinay Sajip
859c7fac78 Issue #11330: asctime format bug fixed. 2011-02-26 14:15:48 +00:00
Antoine Pitrou
dcc20b8563 Check error return from _parse_off_t(), and remove cruft from the 2->3 transition. 2011-02-26 13:38:35 +00:00
Éric Araujo
9dba9c4611 Final update and deprecation of maintainers.rst.
This file has been removed from 3.2 and moved to the devguide.  I think
the safe choice for the stable branches is to keep it with a warning
and link.
2011-02-26 13:02:50 +00:00
Antoine Pitrou
09c530dfc8 Revert r88639 (the optimization changes behaviour and breaks buildbots) 2011-02-26 09:37:45 +00:00
Antoine Pitrou
ffa1a77c67 Issue #11258: Speed up ctypes.util.find_library() under Linux a lot. Patch
by Jonas H.
2011-02-26 08:45:20 +00:00
Vinay Sajip
ec5a2d5e89 test_logging: Changed TimedRotatingFileHandler tests to use UTC time rather than local time. 2011-02-26 07:18:22 +00:00
Senthil Kumaran
725c2b9873 Merged revisions 88631 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88631 | senthil.kumaran | 2011-02-26 11:44:03 +0800 (Sat, 26 Feb 2011) | 2 lines

  Fix Issue10228 - Refleak run of test_dbm fails when several dbm modules are available (Patch by Ray.Allen)
........
2011-02-26 07:11:27 +00:00
Raymond Hettinger
d032131dcb Add __bool__ method. Add tests. Fix-up broken test. 2011-02-26 06:53:58 +00:00
Vinay Sajip
cb8b94447c test_logging: diagnostic code changes. 2011-02-26 06:37:04 +00:00
Senthil Kumaran
75d818fa91 Fix Issue10228 - Refleak run of test_dbm fails when several dbm modules are available (Patch by Ray.Allen) 2011-02-26 03:44:03 +00:00
Raymond Hettinger
94ca211372 Make Py3.x style "import builtins" 2011-02-26 02:48:44 +00:00
Alexander Belopolsky
4001847a98 PEP 7 conformance changes (whitespace only). 2011-02-26 01:02:56 +00:00
Raymond Hettinger
9fe1ccfb5a Issue #11297: Add collections.ChainMap() 2011-02-26 01:02:51 +00:00
Antoine Pitrou
692f038a5d Fix AttributeError. 2011-02-26 00:22:25 +00:00
Antoine Pitrou
5c2f4640a7 Fix compilation warning in Modules/posixmodule.c. 2011-02-26 00:22:09 +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
Antoine Pitrou
5d5381ed00 Merged revisions 88622 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88622 | antoine.pitrou | 2011-02-26 00:07:44 +0100 (sam., 26 févr. 2011) | 5 lines

  Issue #7322: Trying to read from a socket's file-like object after a timeout
  occurred now raises an error instead of silently losing data.
  Patch by Ross Lagerwall.
........
2011-02-25 23:14:08 +00:00
Antoine Pitrou
68e5c044e8 Issue #7322: Trying to read from a socket's file-like object after a timeout
occurred now raises an error instead of silently losing data.
Patch by Ross Lagerwall.
2011-02-25 23:07:44 +00:00
Vinay Sajip
fc1cf41911 test_logging: Added more diagnostics for buildbot failures. 2011-02-25 22:45:25 +00:00
Giampaolo Rodolà
95bcb93041 Issue 11291: poplib suppresses errors on QUIT. 2011-02-25 22:28:24 +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
Giampaolo Rodolà
4bc685752f (issue 11323) - attempt to fix solaris buildbot failure for os.sendfile(). Also fixed an AttributeError in get/set priority tests. 2011-02-25 21:46:01 +00:00
Éric Araujo
682f6a7a1c Merged revisions 88613 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88613 | eric.araujo | 2011-02-25 22:40:34 +0100 (ven., 25 févr. 2011) | 2 lines

  Add missing read() in distutils doc.
........
2011-02-25 21:46:00 +00:00
Éric Araujo
7d9d34f18a Merged revisions 88613 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88613 | eric.araujo | 2011-02-25 22:40:34 +0100 (ven., 25 févr. 2011) | 2 lines

  Add missing read() in distutils doc.
........
2011-02-25 21:45:06 +00:00
Éric Araujo
2035103a25 Add missing read() in distutils doc. 2011-02-25 21:40:34 +00:00
Antoine Pitrou
d843c2d86f Merged revisions 88610 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88610 | antoine.pitrou | 2011-02-25 22:24:11 +0100 (ven., 25 févr. 2011) | 4 lines

  Issue #10956: Buffered I/O classes retry reading or writing after a signal
  has arrived and the handler returned successfully.
........
2011-02-25 21:34:39 +00:00
Antoine Pitrou
707ce82cab Issue #10956: Buffered I/O classes retry reading or writing after a signal
has arrived and the handler returned successfully.
2011-02-25 21:24:11 +00:00
Giampaolo Rodolà
7e1b9af044 Update Misc/NEWS to include os.getpriority() and os.setpriority() addition. 2011-02-25 21:00:10 +00:00
Giampaolo Rodolà
18e8bcb289 Issue 10784: adds os.getpriority() and os.setpriority() functions. 2011-02-25 20:57:54 +00:00
Antoine Pitrou
211b81dd09 Issue #11114: Fix catastrophic performance of tell() on text files (up
to 1000x faster in some cases).  It is still one to two order of magnitudes
slower than binary tell().
2011-02-25 20:27:33 +00:00
Giampaolo Rodolà
31c44031f8 Merged revisions 88604 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88604 | giampaolo.rodola | 2011-02-25 21:05:48 +0100 (ven, 25 feb 2011) | 1 line

  (issue 11214) - fix asyncore.strerror test failure on AIX
........
2011-02-25 20:07:25 +00:00
Giampaolo Rodolà
d2751fb482 (issue 11214) - fix asyncore.strerror test failure on AIX 2011-02-25 20:05:48 +00:00
Giampaolo Rodolà
46134645aa Skip os.sendfile() test if threading module is not available. 2011-02-25 20:01:05 +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
eea22d2d66 logging: enabled test which was intermittently failing on buildbots. 2011-02-25 17:02:43 +00:00
Vinay Sajip
a29a9dd156 Documented QueueListener change. 2011-02-25 16:05:26 +00:00
Vinay Sajip
aa7c179285 Improved QueueListener implementation - queue sentinel addition made extensible. 2011-02-25 15:56:55 +00:00
Marc-André Lemburg
8f36af7a4c Normalize the encoding names for Latin-1 and UTF-8 to
'latin-1' and 'utf-8'.

These are optimized in the Python Unicode implementation
to result in more direct processing, bypassing the codec
registry.

Also see issue11303.
2011-02-25 15:42:01 +00:00
Georg Brandl
a391b11320 Rename internal helper function and make it static. 2011-02-25 15:23:18 +00:00
Georg Brandl
941f956d1b Regenerate configure after r88580. 2011-02-25 15:21:47 +00:00
Giampaolo Rodolà
fb9a9c8f2f Merged revisions 88581 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88581 | giampaolo.rodola | 2011-02-25 15:50:57 +0100 (ven, 25 feb 2011) | 1 line

  (issue 11232) - fix asyncore documentation issue (patch by Sandro Tosi)
........
2011-02-25 14:54:07 +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
59db1f3df6 Fix .hgeol 2011-02-25 14:32:24 +00:00
Antoine Pitrou
71219dad3e More eol-style's 2011-02-25 14:31:09 +00:00
Antoine Pitrou
7f1e174c7a Make svn:eol-style's more consistent 2011-02-25 14:19:48 +00:00
Benjamin Peterson
2ec8cbc75f rewrite with assertIs 2011-02-25 14:05:42 +00:00
Benjamin Peterson
83a0efd303 run autoconf 2011-02-25 14:01:05 +00:00