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
Raymond Hettinger [Sat, 28 Jun 2008 22:16:53 +0000 (22:16 +0000)]
Issue 3230: Do not the set specific size macro.
Benjamin Peterson [Sat, 28 Jun 2008 13:18:14 +0000 (13:18 +0000)]
fix typo
Hye-Shik Chang [Sat, 28 Jun 2008 01:04:31 +0000 (01:04 +0000)]
Give information for compililation of _multiprocessing.SemLock on FreeBSD:
FreeBSD's P1003.1b semaphore support is highly experimental and
it's disabled by default. Even if a user loads the experimental
kernel module manually, _multiprocessing doesn't work correctly due
to several known incompatibilities around sem_unlink and sem_getvalue,
yet.
Benjamin Peterson [Fri, 27 Jun 2008 23:22:06 +0000 (23:22 +0000)]
edit multiprocessing docs
Mark Dickinson [Fri, 27 Jun 2008 22:20:14 +0000 (22:20 +0000)]
Fix typo in configure.in, and propagate configure.in changes from r64002
to configure and pyconfig.h.in.
Raymond Hettinger [Fri, 27 Jun 2008 21:34:24 +0000 (21:34 +0000)]
Fix whitespace in example code.
Mark Dickinson [Fri, 27 Jun 2008 16:49:27 +0000 (16:49 +0000)]
Issue #3197: rework documentation for fractions module.
Mark Dickinson [Fri, 27 Jun 2008 11:03:21 +0000 (11:03 +0000)]
Add Jean Brouwers for his work on math.sum
Mark Dickinson [Fri, 27 Jun 2008 10:11:52 +0000 (10:11 +0000)]
Remove trailing 'L's from numerator and denominator in the
repr() of a Fraction instance.
Trent Nelson [Fri, 27 Jun 2008 02:30:34 +0000 (02:30 +0000)]
Merged revisions 64368-64369 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade
........
r64368 | trent.nelson | 2008-06-17 23:13:44 -0500 (Tue, 17 Jun 2008) | 1 line
Initial commit of work pertaining to switching the Windows build from Berkeley DB 4.4.20 to 4.7.25. Note that I've deprecated the standalone '_bsddb44.vcproj' in lieu of adding the sources in a separate folder to the _bsddb project. This was a conscious decision and actually makes everything far more easier to manage. With this approach, entire test suite passed straight off the bat. Well, almost -- the timeout in bsddb/test/test_replication.py needed bumping up a little -- 2 seconds was too short. 10 seconds seems to be fine for me, but I'll make sure Jesus verifies. More documentation to come once I've been able to test out this approach on the buildbots (hence keeping the changes in a separate branch for now).
........
r64369 | trent.nelson | 2008-06-17 23:19:12 -0500 (Tue, 17 Jun 2008) | 1 line
Bump Berkeley DB version from 4.4.20 to 4.7.25.
........
Trent Nelson [Fri, 27 Jun 2008 02:24:49 +0000 (02:24 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-64347" from
svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade
Brett Cannon [Fri, 27 Jun 2008 00:32:16 +0000 (00:32 +0000)]
Ignore .pyc and .pyo files.
Brett Cannon [Fri, 27 Jun 2008 00:31:13 +0000 (00:31 +0000)]
warnings.warn_explicit() did not have the proper TypeErrors in place to prevent
bus errors or SystemError being raised. As a side effect of fixing this, a bad
DECREF that could be triggered when 'message' and 'category' were both None was
fixed.
Closes issue 3211. Thanks JP Calderone for the bug report.
Benjamin Peterson [Thu, 26 Jun 2008 21:29:19 +0000 (21:29 +0000)]
fix isSet in _exposed
Benjamin Peterson [Thu, 26 Jun 2008 21:24:35 +0000 (21:24 +0000)]
use the new API
Benjamin Peterson [Thu, 26 Jun 2008 21:23:30 +0000 (21:23 +0000)]
add a htmlview directive
Georg Brandl [Thu, 26 Jun 2008 21:12:55 +0000 (21:12 +0000)]
Use newer versions of externals.
Georg Brandl [Thu, 26 Jun 2008 18:55:37 +0000 (18:55 +0000)]
Add a version tag for shutdown().
Robert Schuppenies [Thu, 26 Jun 2008 15:20:35 +0000 (15:20 +0000)]
Corrected inconsistencies in sizeof tests and addressed issue pointed
out by Jean Brouwers.
Facundo Batista [Wed, 25 Jun 2008 19:24:53 +0000 (19:24 +0000)]
Reverting the patch from #3165, as it broke other
behaviours. I left the original test commented out (note
that that test came from #2702, which seems to have a
problem in FreeBSD and Windows, but not in Linux).
I included a new test, to watch over the now-broken
behaviour, I took it from #3179.
Mark Dickinson [Wed, 25 Jun 2008 15:29:32 +0000 (15:29 +0000)]
issue #3199: Fix typo in Mac/Makefile.in
Benjamin Peterson [Wed, 25 Jun 2008 12:44:29 +0000 (12:44 +0000)]
get rid of 2.6/3.0 switch statements in multiprocessing
Benjamin Peterson [Wed, 25 Jun 2008 12:39:05 +0000 (12:39 +0000)]
use byte literals in multiprocessing
Robert Schuppenies [Wed, 25 Jun 2008 09:20:03 +0000 (09:20 +0000)]
Issue 3147: Fixed SizeofTest failure for LLP64 systems.
Benjamin Peterson [Wed, 25 Jun 2008 03:09:05 +0000 (03:09 +0000)]
remove bytes alias in multiprocessing
Raymond Hettinger [Tue, 24 Jun 2008 22:46:07 +0000 (22:46 +0000)]
Revert 64424, 64438, and 64439.
Raymond Hettinger [Tue, 24 Jun 2008 15:58:53 +0000 (15:58 +0000)]
Issue 3189: Py3k DeprecationWarning in difflib
Mark Dickinson [Tue, 24 Jun 2008 15:35:14 +0000 (15:35 +0000)]
Remove references to Py3k in __floor__, __ceil__ and __round__ documentation.
Eric Smith [Tue, 24 Jun 2008 11:11:59 +0000 (11:11 +0000)]
Fixed formatting with thousands separator and padding. Resolves issue 3140.
Mark Dickinson [Tue, 24 Jun 2008 11:08:58 +0000 (11:08 +0000)]
Change description of float('nan') feature; NaNs don't care much about
signs, and float('nan'), float('+nan') and float('-nan') actually all
generate the exact same NaN value.
Eric Smith [Tue, 24 Jun 2008 06:05:30 +0000 (06:05 +0000)]
Typo in comment.
Benjamin Peterson [Tue, 24 Jun 2008 02:41:08 +0000 (02:41 +0000)]
minor fix
Eric Smith [Tue, 24 Jun 2008 00:42:10 +0000 (00:42 +0000)]
Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in anticipation of fixing issue 3140.
Thomas Heller [Mon, 23 Jun 2008 19:51:41 +0000 (19:51 +0000)]
Include debug info when assembling win64.asm in a debug build.
Thomas Heller [Mon, 23 Jun 2008 14:49:56 +0000 (14:49 +0000)]
Fix compilation on Windows.
Raymond Hettinger [Mon, 23 Jun 2008 03:29:28 +0000 (03:29 +0000)]
Issue 3161: Missing import and test.
Facundo Batista [Sun, 22 Jun 2008 23:19:14 +0000 (23:19 +0000)]
Fixing the problem stated in issue 2702 with the patch submitted
in the issue 3165. Now cPickle does not fails with uncontrolled
behaviour when pickling into a very deep nested structure.
Facundo Batista [Sun, 22 Jun 2008 19:35:24 +0000 (19:35 +0000)]
Just returning nothing instead of rising TestSkipped, because
it makes the test fail in the trunk.loewis-sun buildbot.
Georg Brandl [Sun, 22 Jun 2008 19:07:59 +0000 (19:07 +0000)]
Write out "phi" consistently.
Georg Brandl [Sun, 22 Jun 2008 18:31:54 +0000 (18:31 +0000)]
Expand docstrings of sqlite3 functions.
Facundo Batista [Sun, 22 Jun 2008 18:23:55 +0000 (18:23 +0000)]
Trying to see if the problem in Martin's buildot is at
directory creation time...
Georg Brandl [Sun, 22 Jun 2008 18:11:52 +0000 (18:11 +0000)]
#3085: Fix syntax error.
Facundo Batista [Sun, 22 Jun 2008 16:11:34 +0000 (16:11 +0000)]
Trying to see if the @ in a path is causing the issue in the
shutil.rmtree() in the trunk.loewis-sun buildbot.
Facundo Batista [Sun, 22 Jun 2008 15:27:10 +0000 (15:27 +0000)]
Issue 3164. Small fix to don't repeat a comparation
without necessity.
Andrew M. Kuchling [Sun, 22 Jun 2008 13:39:11 +0000 (13:39 +0000)]
Wording fix
Facundo Batista [Sun, 22 Jun 2008 13:36:20 +0000 (13:36 +0000)]
Issue #2722. Now the char buffer to support the path string has
not fixed length, it mallocs memory if needed. As a result, we
don't have a maximum for the getcwd() method.
Georg Brandl [Sun, 22 Jun 2008 09:05:29 +0000 (09:05 +0000)]
Turn section references into proper cross-references.
Facundo Batista [Sat, 21 Jun 2008 19:48:19 +0000 (19:48 +0000)]
In the deprecated functions I added an alert to review
specially a section of the subprocess documentation
that helps with the replacing of those functionss.
Facundo Batista [Sat, 21 Jun 2008 18:58:04 +0000 (18:58 +0000)]
Now a from submitted via POST that also has a query string
will contain both FieldStorage and MiniFieldStorage items.
Fixes #1817.
Facundo Batista [Sat, 21 Jun 2008 17:43:56 +0000 (17:43 +0000)]
Fixed issue #2888. Now the behaviour of pprint when working with nested
structures follows the common sense (and works like in 2.5 and 3.0).
Facundo Batista [Sat, 21 Jun 2008 17:30:06 +0000 (17:30 +0000)]
Reviewed and updated the documentation. Fixes #3017.
Georg Brandl [Sat, 21 Jun 2008 14:26:19 +0000 (14:26 +0000)]
Documentation fix.
Andrew M. Kuchling [Sat, 21 Jun 2008 13:48:38 +0000 (13:48 +0000)]
Docstring correction
Andrew M. Kuchling [Sat, 21 Jun 2008 13:47:20 +0000 (13:47 +0000)]
Use repr() for bad input strings; this makes the empty string or binary characters more visible
Andrew M. Kuchling [Sat, 21 Jun 2008 13:29:12 +0000 (13:29 +0000)]
Docstring typo
Hye-Shik Chang [Sat, 21 Jun 2008 11:15:30 +0000 (11:15 +0000)]
Fix build on FreeBSD gcc.