]>
granicus.if.org Git - python/log
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.
Georg Brandl [Tue, 1 Jul 2008 20:45:09 +0000 (20:45 +0000)]
#
1523853 : add note about fread().
Amaury Forgeot d'Arc [Tue, 1 Jul 2008 20:38:04 +0000 (20:38 +0000)]
#3242: fix a crash in "print", if sys.stdout is set to a custom object,
whose write() method installs another sys.stdout.
Will backport.
Georg Brandl [Tue, 1 Jul 2008 20:18:10 +0000 (20:18 +0000)]
#3216: fix Execute's parameter description.
Georg Brandl [Tue, 1 Jul 2008 19:59:00 +0000 (19:59 +0000)]
Add a link to PEP 324.
Benjamin Peterson [Tue, 1 Jul 2008 19:51:54 +0000 (19:51 +0000)]
write a short little section for multiprocessing; it still needs help
Benjamin Peterson [Tue, 1 Jul 2008 19:34:52 +0000 (19:34 +0000)]
#3219 repeated keyword arguments aren't allowed in function calls anymore
Amaury Forgeot d'Arc [Mon, 30 Jun 2008 22:42:40 +0000 (22:42 +0000)]
#Issue3088 in-progress: Race condition with instances of classes derived from threading.local:
When a thread touches such an object for the first time, a new thread-local __dict__ is created,
and the __init__ method is run.
But a thread switch can occur here; if the other thread touches the same object, it installs another
__dict__; when the first thread resumes, it updates the dictionary of the second...
This is the deep cause of the failures in test_multiprocessing involving "managers" objects.
Also a 2.5 backport candidate.
Martin v. Löwis [Mon, 30 Jun 2008 07:01:09 +0000 (07:01 +0000)]
Add _multiprocessing module.
Martin v. Löwis [Mon, 30 Jun 2008 06:57:39 +0000 (06:57 +0000)]
Issue #3215: Build sqlite3 as sqlite3.dll, not sqlite3.pyd
Facundo Batista [Mon, 30 Jun 2008 01:10:55 +0000 (01:10 +0000)]
Fix #2702, with a correct accounting of recursion.
Vinay Sajip [Sun, 29 Jun 2008 21:27:15 +0000 (21:27 +0000)]
Updated to reflect change in logging.config to remove out-of-date comment in _install_handlers and the use of issubclass in place of equality comparison of classes.
Vinay Sajip [Sun, 29 Jun 2008 21:25:28 +0000 (21:25 +0000)]
Removed out-of-date comment in _install_handlers and
used issubclass in place of equality comparison of classes.
Benjamin Peterson [Sun, 29 Jun 2008 13:43:07 +0000 (13:43 +0000)]
reinstate the ending backtick. thanks Nick :)
Benjamin Peterson [Sat, 28 Jun 2008 23:35:31 +0000 (23:35 +0000)]
fix typo
Benjamin Peterson [Sat, 28 Jun 2008 23:06:49 +0000 (23:06 +0000)]
rewrap
Benjamin Peterson [Sat, 28 Jun 2008 23:06:05 +0000 (23:06 +0000)]
convert test_audioop to unittest. Thanks to Giampaolo Rodola.
Bill Janssen [Sat, 28 Jun 2008 23:00:39 +0000 (23:00 +0000)]
make sure we close the active channels when eof is received on them
Bill Janssen [Sat, 28 Jun 2008 22:19:33 +0000 (22:19 +0000)]
various SSL fixes; issues 1251, 3162, 3212