]>
granicus.if.org Git - python/log
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.
Raymond Hettinger [Sat, 5 Jul 2008 02:11:55 +0000 (02:11 +0000)]
Update comment on prediction macros.
Georg Brandl [Fri, 4 Jul 2008 17:22:53 +0000 (17:22 +0000)]
Give the pickle special methods a signature.
Benjamin Peterson [Thu, 3 Jul 2008 13:01:17 +0000 (13:01 +0000)]
let the term be linked
Benjamin Peterson [Thu, 3 Jul 2008 12:57:35 +0000 (12:57 +0000)]
lowercase glossary term
Martin v. Löwis [Thu, 3 Jul 2008 12:51:14 +0000 (12:51 +0000)]
Patch #1622: Correct interpretation of various ZIP header fields.
Also fixes
- Issue #1526: Allow more than 64k files to be added to Zip64 file.
- Issue #1746: Correct handling of zipfile archive comments (previously
archives with comments over 4k were flagged as invalid). Allow writing
Zip files with archives by setting the 'comment' attribute of a ZipFile.
Andrew M. Kuchling [Thu, 3 Jul 2008 12:50:03 +0000 (12:50 +0000)]
Tweak wording
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 23:40:28 +0000 (23:40 +0000)]
Try a blind fix to nismodule which fails on the solaris10 3.0 buildbot:
the GIL must be re-acquired in the callback function
Brett Cannon [Wed, 2 Jul 2008 21:52:42 +0000 (21:52 +0000)]
Revert r64673 and instead just change the file encoding.
Brett Cannon [Wed, 2 Jul 2008 21:40:11 +0000 (21:40 +0000)]
FIx some Latin-1 characters to be UTF-8 as the file encoding specifies.
Closes issue #3261. THankjs Leo Soto for the bug report.
Jesse Noller [Wed, 2 Jul 2008 16:56:51 +0000 (16:56 +0000)]
Add #!/usr/bin/env python for ben
Facundo Batista [Wed, 2 Jul 2008 16:52:55 +0000 (16:52 +0000)]
Issue #449227: Now with the rlcompleter module, callable objects are
added a '(' when completed.
Jesse Noller [Wed, 2 Jul 2008 16:44:09 +0000 (16:44 +0000)]
Reenable the manager tests with Amaury's threading fix
Nick Coghlan [Wed, 2 Jul 2008 13:09:19 +0000 (13:09 +0000)]
Issue 3190: pydoc now hides module __package__ attributes
Mark Dickinson [Wed, 2 Jul 2008 09:37:01 +0000 (09:37 +0000)]
Replace occurrences of '\d' with '[0-9]' in Decimal regex, to make sure
that the behaviour of Decimal doesn't change if/when re.UNICODE becomes
assumed in Python 3.0.
Also add a check that alternative Unicode digits (e.g. u'\N{FULLWIDTH
DIGIT ONE}') are *not* accepted in a numeric string.
Brett Cannon [Wed, 2 Jul 2008 01:57:08 +0000 (01:57 +0000)]
Handle urllib's renaming for Python 3.0:
* Deprecate urllib.urlopen() in favor of urllib2.urlopen() for 3.0.
* Update docs to mention split/rename of the module and deprecation of
urlopen().
Changes to lib2to3 are in a separate commit. Work is for issue #2885.
Benjamin Peterson [Tue, 1 Jul 2008 23:33:06 +0000 (23:33 +0000)]
add ABC to the glossary
Georg Brandl [Tue, 1 Jul 2008 20:56:03 +0000 (20:56 +0000)]
Add a comment about incref'ing w.
Georg Brandl [Tue, 1 Jul 2008 20:50:02 +0000 (20:50 +0000)]
#
1410739 : add a footnote about "is" and "unusual" behavior.