]>
granicus.if.org Git - python/log
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.
Raymond Hettinger [Thu, 10 Jul 2008 16:06:41 +0000 (16:06 +0000)]
Suppress -3 warnings in unittest.py
Raymond Hettinger [Thu, 10 Jul 2008 15:37:08 +0000 (15:37 +0000)]
Clear the -3 warnings in optparse.py
Robert Schuppenies [Thu, 10 Jul 2008 15:24:04 +0000 (15:24 +0000)]
Added additional __sizeof__ implementations and addressed comments made in
Issue3122.
Andrew M. Kuchling [Thu, 10 Jul 2008 14:43:31 +0000 (14:43 +0000)]
Wording changes
Raymond Hettinger [Thu, 10 Jul 2008 14:34:57 +0000 (14:34 +0000)]
Issue 3285: Fractions from_float() and from_decimal() accept Integral arguments.
Raymond Hettinger [Thu, 10 Jul 2008 14:03:19 +0000 (14:03 +0000)]
Issue 3301: Bisect functions behaved badly when lo was negative.
Robert Schuppenies [Thu, 10 Jul 2008 13:43:26 +0000 (13:43 +0000)]
Fixed Issue3122 and extended sys.getsizeof tests for built-in types.
Raymond Hettinger [Thu, 10 Jul 2008 10:28:41 +0000 (10:28 +0000)]
Use operator.index() instead of n.__index__().
Raymond Hettinger [Thu, 10 Jul 2008 09:31:08 +0000 (09:31 +0000)]
Issue 3287: Raise correct exception for float inputs.
Nick Coghlan [Tue, 8 Jul 2008 14:21:42 +0000 (14:21 +0000)]
Add missing NEWS and ACK entries for r64791
Nick Coghlan [Tue, 8 Jul 2008 14:08:04 +0000 (14:08 +0000)]
Issue 2517: Allow unicode messages in Exceptions again by correctly bypassing the instance dictionary when looking up __unicode__ on new-style classes
Georg Brandl [Tue, 8 Jul 2008 07:05:23 +0000 (07:05 +0000)]
Add missing ABCs to list.
Facundo Batista [Mon, 7 Jul 2008 17:02:59 +0000 (17:02 +0000)]
Issue 3306. Better control for a lenght in findmax() function.
Andrew M. Kuchling [Mon, 7 Jul 2008 16:51:09 +0000 (16:51 +0000)]
Fix example to match text
Skip Montanaro [Mon, 7 Jul 2008 11:16:14 +0000 (11:16 +0000)]
Correct grammar.
Gregory P. Smith [Mon, 7 Jul 2008 05:09:12 +0000 (05:09 +0000)]
- Issue #3094: httplib.HTTPSConnection Host: headers no longer include the
redundant ":443" port number designation when the connection is using the
default https port (443).
Gregory P. Smith [Mon, 7 Jul 2008 04:54:31 +0000 (04:54 +0000)]
Add commented out #_sha256 and #_sha512 lines per issue 3183.
Josiah Carlson [Mon, 7 Jul 2008 04:51:46 +0000 (04:51 +0000)]
Fixed bugs 760475, 953599, and 1519.
Gregory P. Smith [Mon, 7 Jul 2008 04:31:58 +0000 (04:31 +0000)]
- Issue #3309: Fix bz2.BZFile itererator to release its internal lock
properly when raising an exception due to the bz2file being closed.
Prevents a deadlock.
Amaury Forgeot d'Arc [Sun, 6 Jul 2008 21:34:39 +0000 (21:34 +0000)]
Issue839496: SimpleHTTPServer should open all files in binary mode.
Forward-port of 38255 (2005/01/15!)
This was already fixed in 2.4, but never merged into trunk...
py3k is already right, thanks to the bytes/str distinction!
Should be backported to 2.5.
Andrew M. Kuchling [Sun, 6 Jul 2008 17:44:17 +0000 (17:44 +0000)]
Add two items; rewrap paragraph
Andrew M. Kuchling [Sun, 6 Jul 2008 17:43:16 +0000 (17:43 +0000)]
Wording fix
Georg Brandl [Sun, 6 Jul 2008 17:36:20 +0000 (17:36 +0000)]
Fix opensearch template.
Gregory P. Smith [Sun, 6 Jul 2008 17:06:29 +0000 (17:06 +0000)]
fix issue3304 - remove an incorrect PyMem_Free in fileio_init
Benjamin Peterson [Sun, 6 Jul 2008 12:39:09 +0000 (12:39 +0000)]
remove test_compact_freelists from test_sys
Gregory P. Smith [Sun, 6 Jul 2008 07:16:40 +0000 (07:16 +0000)]
- Issue #2113: Fix error in subprocess.Popen if the select system call is
interrupted by a signal.
Gregory P. Smith [Sun, 6 Jul 2008 03:35:58 +0000 (03:35 +0000)]
- Issue #2862: Make int and float freelist management consistent with other
freelists. Changes their CompactFreeList apis into ClearFreeList apis and
calls them via gc.collect().
Facundo Batista [Sat, 5 Jul 2008 20:39:59 +0000 (20:39 +0000)]
Issue #3239. Differentiate the ascii call from the curses one and
the builtin one.
Facundo Batista [Sat, 5 Jul 2008 19:19:50 +0000 (19:19 +0000)]
Issue 3289. Removed two lines that ended doing nothing.
Georg Brandl [Sat, 5 Jul 2008 16:43:45 +0000 (16:43 +0000)]
Keep below 80 chars.
Benjamin Peterson [Sat, 5 Jul 2008 16:29:38 +0000 (16:29 +0000)]
make regrtest aware of the lib2to3 resource
Martin v. Löwis [Sat, 5 Jul 2008 15:48:20 +0000 (15:48 +0000)]
Disable lib2to3 by default, unless run explicitly.
Martin v. Löwis [Sat, 5 Jul 2008 15:45:45 +0000 (15:45 +0000)]
Merged revisions 64285-64735 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r64493 | benjamin.peterson | 2008-06-24 04:14:14 +0200 (Di, 24 Jun 2008) | 1 line
add a fix_import mapping for cPickle -> pickle
........
r64651 | brett.cannon | 2008-07-02 04:00:11 +0200 (Mi, 02 Jul 2008) | 3 lines
Update fix_imports for urllib. Had to change the fixer itself to handle modules
that are split across several renames in 3.0.
........
r64669 | brett.cannon | 2008-07-02 21:43:48 +0200 (Mi, 02 Jul 2008) | 4 lines
Backing out last change until fix_imports is working again. Also re-enable the
testing for fix_imports; if it is deemed that it takes too long to run then a
random sample should be taken and used to test it.
........
Mark Dickinson [Sat, 5 Jul 2008 15:25:48 +0000 (15:25 +0000)]
Minor rewrite of cmath_log to work around a Sun compiler bug. See issue
#3168.
Mark Dickinson [Sat, 5 Jul 2008 11:33:52 +0000 (11:33 +0000)]
Issue 3188: accept float('infinity') as well as float('inf'). This
makes the float constructor behave in the same way as specified
by various other language standards, including C99, IEEE 754r,
and the IBM Decimal standard.
Georg Brandl [Sat, 5 Jul 2008 10:13:36 +0000 (10:13 +0000)]
#2663: support an *ignore* argument to shutil.copytree(). Patch by Tarek Ziade.
This is a new feature, but Barry authorized adding it in the beta period.
Georg Brandl [Sat, 5 Jul 2008 10:07:18 +0000 (10:07 +0000)]
Fix tabs.