Commit Graph

40800 Commits

Author SHA1 Message Date
Georg Brandl e64f738507 #926501: add info where to put the docstring. 2008-07-20 11:50:29 +00:00
Georg Brandl 61d5c43011 Remove exception indexing in asyncore. 2008-07-20 07:29:58 +00:00
Gregory P. Smith b90f4e8730 fix issue3120 - don't truncate handles on 64-bit Windows.
This is still messy, realistically PC/_subprocess.c should never cast pointers
to python numbers and back at all.

I don't have a 64-bit windows build environment because microsoft apparently
thinks that should cost money.  Time to watch the buildbots.  It builds and
passes tests on 32-bit windows.
2008-07-20 00:22:08 +00:00
Raymond Hettinger f1f46f0350 Clean-up itertools docs and recipes. 2008-07-19 23:58:47 +00:00
Raymond Hettinger 39e0eb766f Fix compress() recipe in docs to use itertools. 2008-07-19 23:21:57 +00:00
Bob Ippolito d648f64a53 #3322: bounds checking for _json.scanstring 2008-07-19 21:59:50 +00:00
Benjamin Peterson 0147a761b1 Merged revisions 65137 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r65137 | georg.brandl | 2008-07-19 08:32:57 -0500 (Sat, 19 Jul 2008) | 2 lines

  #3334: correctly set prefix of imports.
........
2008-07-19 14:14:06 +00:00
Georg Brandl b46d6ff279 Add ordering info for findall and finditer. 2008-07-19 13:48:44 +00:00
Georg Brandl 3de1e69dc7 #3323: mention that if inheriting from a class without __slots__,
the subclass will have a __dict__ available too.
2008-07-19 13:09:42 +00:00
Georg Brandl 59ec315b04 #3319: don't raise ZeroDivisionError if number of rounds is so
low that benchtime is zero.
2008-07-19 13:00:22 +00:00
Georg Brandl 278fc50c07 #3303: fix crash with invalid Py_DECREF in strcoll(). 2008-07-19 12:46:12 +00:00
Georg Brandl 6b41a8e156 #3302: fix segfaults when passing None for arguments that can't
be NULL for the C functions.
2008-07-19 12:39:10 +00:00
Georg Brandl 1ad108db05 #3378: in case of no memory, don't leak even more memory. :) 2008-07-19 10:08:55 +00:00
Raymond Hettinger 3369167089 Add recipe to the itertools docs. 2008-07-19 00:43:00 +00:00
Raymond Hettinger 3c212163ec Improve accuracy of gamma test function 2008-07-19 00:42:03 +00:00
Eric Smith f032a00271 Fix issue 3411: default float format spec fails on negative numbers. 2008-07-19 00:24:05 +00:00
Brett Cannon 1e8fba729e Deprecate the sunaudio module for removal in Python 3.0. The sunau module can provide similar functionality. 2008-07-18 19:30:22 +00:00
Georg Brandl 56af5fcab7 #3390: replace a remaining has_key(). 2008-07-18 19:30:10 +00:00
Georg Brandl 74bbc79d10 Replace all map(None, a) with list(a). 2008-07-18 19:06:13 +00:00
Benjamin Peterson e2886fd3ca now that test_lib2to3 actually works and isn't extremely slow, we don't need the lib2to3 resource 2008-07-18 14:26:35 +00:00
Benjamin Peterson 0e3a6cf2cb backport test_fileio 2008-07-18 14:14:41 +00:00
Georg Brandl bf89981839 Document the different meaning of precision for {:f} and {:g}.
Also document how inf and nan are formatted. #3404.
2008-07-18 11:15:06 +00:00
Georg Brandl 730c8185b9 Correct attribute name. 2008-07-18 10:29:30 +00:00
Georg Brandl 9334d02ff5 Remove duplicate entry in __all__. 2008-07-18 10:20:59 +00:00
Vinay Sajip 51e65192b0 Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch. 2008-07-18 09:01:10 +00:00
Vinay Sajip 2a649f93b0 Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch. 2008-07-18 09:00:35 +00:00
Vinay Sajip 70fdc95b96 Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch. 2008-07-18 09:00:00 +00:00
Vinay Sajip bc7e34f692 Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch. 2008-07-18 08:59:06 +00:00
Ronald Oussoren 0bd10fd5cc Last bit of a fix for issue3381 (addon for my patch in r65061) 2008-07-18 05:48:03 +00:00
Barry Warsaw ecb8c7991d Post release cleanup 2008-07-18 03:36:18 +00:00
Barry Warsaw ef8cd5c7c3 Tagging 2.6 beta 2. 2008-07-18 03:20:38 +00:00
Barry Warsaw daddf03f77 Bumping to 2.6b2 2008-07-18 03:20:07 +00:00
Jesse Noller 7fb9640d57 Fix issue 3395, update _debugInfo to be _debug_info 2008-07-17 21:01:05 +00:00
Eric Smith d6c393ab2b Backed out r65069, pending fixing it in Windows. 2008-07-17 19:49:47 +00:00
Bill Janssen 0c1dbf8792 catch socket.error errors in badCertTest 2008-07-17 18:01:57 +00:00
Eric Smith 454816d8bd Issue 3382: Make '%F' and float.__format__('F') convert results to upper case. 2008-07-17 17:48:39 +00:00
Benjamin Peterson 4347c44f18 #3381 fix framework builds on 10.4 2008-07-17 15:59:24 +00:00
Benjamin Peterson f5668f13c8 try to fix test_threading on the Windows bot 2008-07-17 12:57:22 +00:00
Gregory P. Smith db3409cec9 news note for r63052 2008-07-17 03:13:05 +00:00
Benjamin Peterson 1ab3149063 Merged revisions 65053-65054 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r65053 | benjamin.peterson | 2008-07-16 21:04:12 -0500 (Wed, 16 Jul 2008) | 1 line

  massive optimizations for 2to3 (especially fix_imports) from Nick Edds
........
  r65054 | benjamin.peterson | 2008-07-16 21:05:09 -0500 (Wed, 16 Jul 2008) | 1 line

  normalize whitespace
........
2008-07-17 02:07:46 +00:00
Georg Brandl a66bb0a741 #3388: add a paragraph about using "with" for file objects. 2008-07-16 23:35:54 +00:00
Georg Brandl 0a34baf1fc Byte items *can* be chars in 2.6. 2008-07-16 23:18:51 +00:00
Georg Brandl 3238a3e329 Backport part of r65043. 2008-07-16 23:17:46 +00:00
Georg Brandl 3e75846cf6 Use _getbytevalue() in init too. 2008-07-16 23:10:05 +00:00
Georg Brandl 3e483f643d #3156: fix consistency in what type bytearray methods accept as items.
Also rename confusing "item" parameters to "index".
2008-07-16 22:57:41 +00:00
Georg Brandl a24869ada7 #3312: fix two sqlite3 crashes. 2008-07-16 22:33:18 +00:00
Georg Brandl 4ed9be733b #3345: fix docstring. 2008-07-16 22:09:17 +00:00
Georg Brandl b9b68ae7a5 #3305: self->stream can be NULL. 2008-07-16 22:04:20 +00:00
Georg Brandl 86cbf81b47 #1608818: errno can get set by every call to readdir(). 2008-07-16 21:31:41 +00:00
Georg Brandl b32dea5a3e #3045: fix pydoc behavior for TEMP path with spaces. 2008-07-16 21:19:28 +00:00