]>
granicus.if.org Git - python/log
Georg Brandl [Sat, 19 Jul 2008 13:00:22 +0000 (13:00 +0000)]
#3319: don't raise ZeroDivisionError if number of rounds is so
low that benchtime is zero.
Georg Brandl [Sat, 19 Jul 2008 12:46:12 +0000 (12:46 +0000)]
#3303: fix crash with invalid Py_DECREF in strcoll().
Georg Brandl [Sat, 19 Jul 2008 12:39:10 +0000 (12:39 +0000)]
#3302: fix segfaults when passing None for arguments that can't
be NULL for the C functions.
Georg Brandl [Sat, 19 Jul 2008 10:08:55 +0000 (10:08 +0000)]
#3378: in case of no memory, don't leak even more memory. :)
Raymond Hettinger [Sat, 19 Jul 2008 00:43:00 +0000 (00:43 +0000)]
Add recipe to the itertools docs.
Raymond Hettinger [Sat, 19 Jul 2008 00:42:03 +0000 (00:42 +0000)]
Improve accuracy of gamma test function
Eric Smith [Sat, 19 Jul 2008 00:24:05 +0000 (00:24 +0000)]
Fix issue 3411: default float format spec fails on negative numbers.
Brett Cannon [Fri, 18 Jul 2008 19:30:22 +0000 (19:30 +0000)]
Deprecate the sunaudio module for removal in Python 3.0. The sunau module can provide similar functionality.
Georg Brandl [Fri, 18 Jul 2008 19:30:10 +0000 (19:30 +0000)]
#3390: replace a remaining has_key().
Georg Brandl [Fri, 18 Jul 2008 19:06:13 +0000 (19:06 +0000)]
Replace all map(None, a) with list(a).
Benjamin Peterson [Fri, 18 Jul 2008 14:26:35 +0000 (14:26 +0000)]
now that test_lib2to3 actually works and isn't extremely slow, we don't need the lib2to3 resource
Benjamin Peterson [Fri, 18 Jul 2008 14:14:41 +0000 (14:14 +0000)]
backport test_fileio
Georg Brandl [Fri, 18 Jul 2008 11:15:06 +0000 (11:15 +0000)]
Document the different meaning of precision for {:f} and {:g}.
Also document how inf and nan are formatted. #3404.
Georg Brandl [Fri, 18 Jul 2008 10:29:30 +0000 (10:29 +0000)]
Correct attribute name.
Georg Brandl [Fri, 18 Jul 2008 10:20:59 +0000 (10:20 +0000)]
Remove duplicate entry in __all__.
Vinay Sajip [Fri, 18 Jul 2008 09:01:10 +0000 (09:01 +0000)]
Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
Vinay Sajip [Fri, 18 Jul 2008 09:00:35 +0000 (09:00 +0000)]
Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
Vinay Sajip [Fri, 18 Jul 2008 09:00:00 +0000 (09:00 +0000)]
Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
Vinay Sajip [Fri, 18 Jul 2008 08:59:06 +0000 (08:59 +0000)]
Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
Ronald Oussoren [Fri, 18 Jul 2008 05:48:03 +0000 (05:48 +0000)]
Last bit of a fix for issue3381 (addon for my patch in r65061)
Barry Warsaw [Fri, 18 Jul 2008 03:36:18 +0000 (03:36 +0000)]
Post release cleanup
Barry Warsaw [Fri, 18 Jul 2008 03:20:38 +0000 (03:20 +0000)]
Tagging 2.6 beta 2.
Barry Warsaw [Fri, 18 Jul 2008 03:20:07 +0000 (03:20 +0000)]
Bumping to 2.6b2
Jesse Noller [Thu, 17 Jul 2008 21:01:05 +0000 (21:01 +0000)]
Fix issue 3395, update _debugInfo to be _debug_info
Eric Smith [Thu, 17 Jul 2008 19:49:47 +0000 (19:49 +0000)]
Backed out r65069, pending fixing it in Windows.
Bill Janssen [Thu, 17 Jul 2008 18:01:57 +0000 (18:01 +0000)]
catch socket.error errors in badCertTest
Eric Smith [Thu, 17 Jul 2008 17:48:39 +0000 (17:48 +0000)]
Issue 3382: Make '%F' and float.__format__('F') convert results to upper case.
Benjamin Peterson [Thu, 17 Jul 2008 15:59:24 +0000 (15:59 +0000)]
#3381 fix framework builds on 10.4
Benjamin Peterson [Thu, 17 Jul 2008 12:57:22 +0000 (12:57 +0000)]
try to fix test_threading on the Windows bot
Gregory P. Smith [Thu, 17 Jul 2008 03:13:05 +0000 (03:13 +0000)]
news note for r63052
Benjamin Peterson [Thu, 17 Jul 2008 02:07:46 +0000 (02:07 +0000)]
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
........
Georg Brandl [Wed, 16 Jul 2008 23:35:54 +0000 (23:35 +0000)]
#3388: add a paragraph about using "with" for file objects.
Georg Brandl [Wed, 16 Jul 2008 23:18:51 +0000 (23:18 +0000)]
Byte items *can* be chars in 2.6.
Georg Brandl [Wed, 16 Jul 2008 23:17:46 +0000 (23:17 +0000)]
Backport part of r65043.
Georg Brandl [Wed, 16 Jul 2008 23:10:05 +0000 (23:10 +0000)]
Use _getbytevalue() in init too.
Georg Brandl [Wed, 16 Jul 2008 22:57:41 +0000 (22:57 +0000)]
#3156: fix consistency in what type bytearray methods accept as items.
Also rename confusing "item" parameters to "index".
Georg Brandl [Wed, 16 Jul 2008 22:33:18 +0000 (22:33 +0000)]
#3312: fix two sqlite3 crashes.
Georg Brandl [Wed, 16 Jul 2008 22:09:17 +0000 (22:09 +0000)]
#3345: fix docstring.
Georg Brandl [Wed, 16 Jul 2008 22:04:20 +0000 (22:04 +0000)]
#3305: self->stream can be NULL.
Georg Brandl [Wed, 16 Jul 2008 21:31:41 +0000 (21:31 +0000)]
#
1608818 : errno can get set by every call to readdir().
Georg Brandl [Wed, 16 Jul 2008 21:19:28 +0000 (21:19 +0000)]
#3045: fix pydoc behavior for TEMP path with spaces.
Benjamin Peterson [Wed, 16 Jul 2008 20:17:04 +0000 (20:17 +0000)]
fix framework install on Mac 10.4
Jesse Noller [Wed, 16 Jul 2008 20:03:47 +0000 (20:03 +0000)]
Apply patch for 874900: threading module can deadlock after fork
Benjamin Peterson [Wed, 16 Jul 2008 18:48:35 +0000 (18:48 +0000)]
Merged revisions 65025 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r65025 | benjamin.peterson | 2008-07-16 13:46:30 -0500 (Wed, 16 Jul 2008) | 1 line
remove use of has_key
........
Eric Smith [Wed, 16 Jul 2008 18:29:51 +0000 (18:29 +0000)]
Renamed a parameter in calc_number_widths, for consistency with the same parameter in fill_non_digits.
Benjamin Peterson [Wed, 16 Jul 2008 17:03:06 +0000 (17:03 +0000)]
lib2to3 isn't broken anymore, so we can run the test
Benjamin Peterson [Wed, 16 Jul 2008 17:01:46 +0000 (17:01 +0000)]
Merged revisions 64863,64868,64870,64942,65001-65002,65017-65018 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r64863 | brett.cannon | 2008-07-10 19:42:32 -0500 (Thu, 10 Jul 2008) | 1 line
Add urlparse -> urllib.parse to fix_imports.
........
r64868 | brett.cannon | 2008-07-10 20:00:10 -0500 (Thu, 10 Jul 2008) | 1 line
Add robotparser -> urllib.robotparser to fix_imports.
........
r64870 | brett.cannon | 2008-07-11 00:56:27 -0500 (Fri, 11 Jul 2008) | 6 lines
Fix the fixers for the new dbm package.
Had to create a new fixer (fix_imports2) which did fixes in post-order. This
because ``import anydbm`` was being translated into ``import dbm`` which was
then subsequently changed into ``import dbm.ndbm``; one transform too many.
........
r64942 | collin.winter | 2008-07-13 20:19:05 -0500 (Sun, 13 Jul 2008) | 1 line
Add a comment explaining part of fix_imports.py
........
r65001 | brett.cannon | 2008-07-16 00:11:12 -0500 (Wed, 16 Jul 2008) | 2 lines
Remove some extraneous whitespace.
........
r65002 | brett.cannon | 2008-07-16 00:12:04 -0500 (Wed, 16 Jul 2008) | 4 lines
Implement a fixer for urllib(2).
Thanks Nick Edds for the patch.
........
r65017 | benjamin.peterson | 2008-07-16 11:04:19 -0500 (Wed, 16 Jul 2008) | 1 line
fix 2to3 in Python 2.6
........
r65018 | benjamin.peterson | 2008-07-16 11:55:21 -0500 (Wed, 16 Jul 2008) | 1 line
normalize whitespace
........
Jesse Noller [Wed, 16 Jul 2008 14:32:36 +0000 (14:32 +0000)]
Apply Amaury's patch to multiprocessing for issue 3125, removes the copy_reg and replaces it with ForkingPickler.register(), which should resolve the conflict with the global registry/ctypes
Jesse Noller [Wed, 16 Jul 2008 13:24:06 +0000 (13:24 +0000)]
Apply patch for issue 3090: ARCHFLAGS parsing incorrect
Mark Dickinson [Wed, 16 Jul 2008 09:40:03 +0000 (09:40 +0000)]
Issue #3360: Fix incorrect parsing of "
020000000000 .0".
Martin v. Löwis [Wed, 16 Jul 2008 05:28:26 +0000 (05:28 +0000)]
Add Antoine.
Benjamin Peterson [Wed, 16 Jul 2008 00:44:02 +0000 (00:44 +0000)]
disable lib2to3 in the trunk. It's broken just for 2.6
Eric Smith [Wed, 16 Jul 2008 00:11:49 +0000 (00:11 +0000)]
Complete issue 3083: add alternate (#) formatting to bin, oct, hex in str.format().
Georg Brandl [Wed, 16 Jul 2008 00:00:04 +0000 (00:00 +0000)]
Keep sorted.
Georg Brandl [Tue, 15 Jul 2008 23:59:15 +0000 (23:59 +0000)]
Move label to correct heading.
Mark Dickinson [Tue, 15 Jul 2008 21:55:23 +0000 (21:55 +0000)]
Fix float.from_hex tests. It appears that Linux/ia64 doesn't like
computing 2.0**-1074 accurately. Using ldexp(1.0, -1074) should be
safer.
Thomas Heller [Tue, 15 Jul 2008 20:18:46 +0000 (20:18 +0000)]
Fix test on 64-bit platforms.
Thomas Heller [Tue, 15 Jul 2008 19:44:25 +0000 (19:44 +0000)]
Add Victor Stinner, he provided the patch for issue #3313.
Thomas Heller [Tue, 15 Jul 2008 19:39:38 +0000 (19:39 +0000)]
Issue #3313: Contrary to the man page, a failed dlopen() call does not
always set a dlerror() message.
Mark Dickinson [Tue, 15 Jul 2008 19:08:33 +0000 (19:08 +0000)]
Issue #3008: add instance method float.hex and class method float.fromhex
to convert floats to and from hexadecimal strings respectively.
Jesse Noller [Tue, 15 Jul 2008 18:29:18 +0000 (18:29 +0000)]
Revert 3270 patch: self._address is in pretty widespread use, need to revisit
Thomas Heller [Tue, 15 Jul 2008 17:19:50 +0000 (17:19 +0000)]
NEWS entry for #issue 3258.
Thomas Heller [Tue, 15 Jul 2008 17:03:08 +0000 (17:03 +0000)]
Issue #3258: Fix an assertion error (in debug build) and a crash (in
release build) when the format string of a pointer to an incomplete
structure is created.
Nick Coghlan [Tue, 15 Jul 2008 15:40:22 +0000 (15:40 +0000)]
Add missing NEWS entry for r64962
Nick Coghlan [Tue, 15 Jul 2008 14:27:37 +0000 (14:27 +0000)]
Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful
Jesse Noller [Tue, 15 Jul 2008 13:47:33 +0000 (13:47 +0000)]
multiprocessing/connection.py patch to remove fqdn oddness for issue 3270
Eric Smith [Tue, 15 Jul 2008 10:10:07 +0000 (10:10 +0000)]
Added '#' formatting to integers. This adds the 0b, 0o, or 0x prefix for bin, oct, hex. There's still one failing case, and I need to finish the docs. I hope to finish those today.
Benjamin Peterson [Mon, 14 Jul 2008 17:42:17 +0000 (17:42 +0000)]
fix test_py3kwarns
The fact that this was failing and went unnoticed so long seems like a good argument for being able to enable and disble py3kwarnings through Python.
Robert Schuppenies [Mon, 14 Jul 2008 08:42:18 +0000 (08:42 +0000)]
Fixed test failure on Win64 machines.
Gregory P. Smith [Mon, 14 Jul 2008 06:06:48 +0000 (06:06 +0000)]
Fix posix.fork1() / os.fork1() to only call PyOS_AfterFork() in the child
process rather than both parent and child.
Does anyone actually use fork1()? It appears to be a Solaris thing
but if Python is built with pthreads on Solaris, fork1() and fork()
should be the same.
Andrew M. Kuchling [Mon, 14 Jul 2008 01:18:31 +0000 (01:18 +0000)]
Expand the multiprocessing section
Andrew M. Kuchling [Mon, 14 Jul 2008 01:18:16 +0000 (01:18 +0000)]
Typo fix
Andrew M. Kuchling [Mon, 14 Jul 2008 00:40:55 +0000 (00:40 +0000)]
Typo fix
Andrew M. Kuchling [Mon, 14 Jul 2008 00:35:32 +0000 (00:35 +0000)]
Typo fixes
Alexandre Vassalotti [Sun, 13 Jul 2008 21:47:59 +0000 (21:47 +0000)]
Issue #3153: sqlite leaks on error.
Changed statements of the form Py_DECREF(obj), obj = 0 to Py_CLEAR(obj).
Andrew M. Kuchling [Sun, 13 Jul 2008 21:43:52 +0000 (21:43 +0000)]
Add various items; move ctypes items into a subsection of their own
Andrew M. Kuchling [Sun, 13 Jul 2008 21:43:25 +0000 (21:43 +0000)]
Re-word
Alexandre Vassalotti [Sun, 13 Jul 2008 20:42:44 +0000 (20:42 +0000)]
Issue #3274: Use a less common identifier for the temporary variable
in Py_CLEAR().
Martin v. Löwis [Sun, 13 Jul 2008 20:31:49 +0000 (20:31 +0000)]
Add turtle into the module index.
Benjamin Peterson [Sun, 13 Jul 2008 18:34:58 +0000 (18:34 +0000)]
remove sys.version_info check for 3.0
Benjamin Peterson [Sun, 13 Jul 2008 18:25:13 +0000 (18:25 +0000)]
remove bytes alias
Nick Coghlan [Sun, 13 Jul 2008 14:52:36 +0000 (14:52 +0000)]
Fix issue 3221 by emitting a RuntimeWarning instead of raising SystemError when the parent module can't be found during an absolute import (likely due to non-PEP 361 aware code which sets a module level __package__ attribute)
Nick Coghlan [Sun, 13 Jul 2008 12:36:42 +0000 (12:36 +0000)]
Correct a couple of errors in the updated catch_warning documentation (the Py3k version was fixed before being checked in)
Nick Coghlan [Sun, 13 Jul 2008 12:23:47 +0000 (12:23 +0000)]
Make test.test_support.catch_warnings more robust as discussed on python-dev. Also add explicit tests for itto test_warnings.
Brett Cannon [Sun, 13 Jul 2008 01:15:07 +0000 (01:15 +0000)]
dummy_thread.acquire() would return None if no waitflag argument was given. It
should have returned True.
Fixes issue #3339. Thanks, Henk Punt for the report and Andrii v. Mishkovskiyi
for attempting a patch.
Benjamin Peterson [Sat, 12 Jul 2008 23:41:19 +0000 (23:41 +0000)]
#
1778443 robotparser fixes from Aristotelis Mikropoulos
Alexandre Vassalotti [Sat, 12 Jul 2008 22:06:53 +0000 (22:06 +0000)]
Fixed typo.
Benjamin Peterson [Sat, 12 Jul 2008 20:16:19 +0000 (20:16 +0000)]
fix various doc typos #3320
Matthias Klose [Sat, 12 Jul 2008 07:51:48 +0000 (07:51 +0000)]
- Fix bashisms in Tools/faqwiz/move-faqwiz.sh
Josiah Carlson [Fri, 11 Jul 2008 23:26:59 +0000 (23:26 +0000)]
Fixed test for asyncore.
Josiah Carlson [Fri, 11 Jul 2008 22:17:14 +0000 (22:17 +0000)]
Fix for the AttributeError in test_asynchat.
Amaury Forgeot d'Arc [Fri, 11 Jul 2008 21:45:06 +0000 (21:45 +0000)]
#3342: In tracebacks, printed source lines were not indented since r62555.
#3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine.
Amaury Forgeot d'Arc [Fri, 11 Jul 2008 21:28:25 +0000 (21:28 +0000)]
#3317 in zipfile module, restore the previous names of global variables:
some applications relied on them.
Also remove duplicated lines.
Raymond Hettinger [Fri, 11 Jul 2008 12:00:21 +0000 (12:00 +0000)]
Add cautionary note on the use of PySequence_Fast_ITEMS.
Brett Cannon [Fri, 11 Jul 2008 00:50:01 +0000 (00:50 +0000)]
Fix a minor typo in the last entry made.
Brett Cannon [Fri, 11 Jul 2008 00:48:57 +0000 (00:48 +0000)]
Doc that robotparse has been renamed urllib.robotparser in Python 3.0.
Brett Cannon [Fri, 11 Jul 2008 00:16:30 +0000 (00:16 +0000)]
Doc that urlparse is named urllib.parse in Python 3.0.
Brett Cannon [Fri, 11 Jul 2008 00:12:52 +0000 (00:12 +0000)]
Document the fact that urllib2 spans multiple modules with new names in Python
3.0.
Brett Cannon [Fri, 11 Jul 2008 00:10:49 +0000 (00:10 +0000)]
Removal an invalid entry as the fixer for urllib is under active development.
Robert Schuppenies [Thu, 10 Jul 2008 17:13:55 +0000 (17:13 +0000)]
Added garbage collector overhead and optional default return value to
sys.getsizeof.