Robert Schuppenies [Mon, 14 Jul 2008 10:13:31 +0000 (10:13 +0000)]
Merged revisions 64842,64853,64856,64945 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64842 | robert.schuppenies | 2008-07-10 15:43:26 +0200 (Thu, 10 Jul 2008) | 2 lines
Fixed Issue3122 and extended sys.getsizeof tests for built-in types.
........
r64853 | robert.schuppenies | 2008-07-10 17:24:04 +0200 (Thu, 10 Jul 2008) | 3 lines
Added additional __sizeof__ implementations and addressed comments made in
Issue3122.
........
r64856 | robert.schuppenies | 2008-07-10 19:13:55 +0200 (Thu, 10 Jul 2008) | 3 lines
Added garbage collector overhead and optional default return value to
sys.getsizeof.
........
r64945 | robert.schuppenies | 2008-07-14 10:42:18 +0200 (Mon, 14 Jul 2008) | 2 lines
Fixed test failure on Win64 machines.
........
Alexandre Vassalotti [Sun, 13 Jul 2008 22:28:42 +0000 (22:28 +0000)]
Mention the behaviour of PyFunction_SetAnnotations() on error.
Alexandre Vassalotti [Sun, 13 Jul 2008 22:26:50 +0000 (22:26 +0000)]
Added documentation for PyFunction_GetAnnotations() and
PyFunction_SetAnnotations().
Benjamin Peterson [Sun, 13 Jul 2008 22:19:10 +0000 (22:19 +0000)]
Blocked revisions 64930 via svnmerge
........
r64930 | alexandre.vassalotti | 2008-07-13 16:47:59 -0500 (Sun, 13 Jul 2008) | 3 lines
Issue #3153: sqlite leaks on error.
Changed statements of the form Py_DECREF(obj), obj = 0 to Py_CLEAR(obj).
........
Alexandre Vassalotti [Sun, 13 Jul 2008 21:57:48 +0000 (21:57 +0000)]
Forward port r64930.
Fix one more case in cursor.c.
Alexandre Vassalotti [Sun, 13 Jul 2008 18:48:30 +0000 (18:48 +0000)]
Fixed _pickle to use Py_EnterRecursiveCall().
Benjamin Peterson [Sun, 13 Jul 2008 18:45:30 +0000 (18:45 +0000)]
remove 3.0 conditional
Benjamin Peterson [Sun, 13 Jul 2008 18:41:02 +0000 (18:41 +0000)]
Blocked revisions 64922 via svnmerge
........
r64922 | benjamin.peterson | 2008-07-13 13:34:58 -0500 (Sun, 13 Jul 2008) | 1 line
remove sys.version_info check for 3.0
........
Benjamin Peterson [Sun, 13 Jul 2008 18:32:09 +0000 (18:32 +0000)]
Merged revisions 64920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64920 | benjamin.peterson | 2008-07-13 13:25:13 -0500 (Sun, 13 Jul 2008) | 1 line
remove bytes alias
........
Benjamin Peterson [Sun, 13 Jul 2008 17:44:16 +0000 (17:44 +0000)]
move test_long_future into test_long
Nick Coghlan [Sun, 13 Jul 2008 12:38:21 +0000 (12:38 +0000)]
Blocked revisions 64913 via svnmerge
........
r64913 | nick.coghlan | 2008-07-13 22:36:42 +1000 (Sun, 13 Jul 2008) | 1 line
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:29:08 +0000 (12:29 +0000)]
Blocked revisions 64910 via svnmerge
........
r64910 | nick.coghlan | 2008-07-13 22:23:47 +1000 (Sun, 13 Jul 2008) | 1 line
Make test.test_support.catch_warnings more robust as discussed on python-dev. Also add explicit tests for itto test_warnings.
........
Nick Coghlan [Sun, 13 Jul 2008 12:25:08 +0000 (12:25 +0000)]
Make test.test_support.catch_warnings more robust as discussed on python-dev. Also add explicit tests for it to test_warnings. (forward port of r64910 from trunk)
Brett Cannon [Sun, 13 Jul 2008 01:38:36 +0000 (01:38 +0000)]
Clean up list of undocumented modules as most of them have been removed in Python 3.0.
Brett Cannon [Sun, 13 Jul 2008 01:19:15 +0000 (01:19 +0000)]
Merged revisions 64903 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64903 | brett.cannon | 2008-07-12 18:15:07 -0700 (Sat, 12 Jul 2008) | 6 lines
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 21:11:03 +0000 (21:11 +0000)]
These revisions were merged manaually:
Blocked revisions 64062,64068-64069,64080 via svnmerge
........
r64062 | josiah.carlson | 2008-06-10 00:00:08 -0500 (Tue, 10 Jun 2008) | 5 lines
Applying updated patch from Issue
1736190, which addresses partial
issues in: 909005 and
17361001, as well as completely as possible issues
539444, 760475, 777588, 889153, 953599,
1025525,
1063924, and 658749.
This patch also includes doc and test updates as necessary.
........
r64068 | benjamin.peterson | 2008-06-10 08:37:13 -0500 (Tue, 10 Jun 2008) | 2 lines
fix markup
........
r64069 | georg.brandl | 2008-06-10 08:53:24 -0500 (Tue, 10 Jun 2008) | 2 lines
more markup fix.
........
r64080 | josiah.carlson | 2008-06-10 10:58:19 -0500 (Tue, 10 Jun 2008) | 3 lines
Fixed test to reflect new filedispatcher semantics, as well as two
NameErrors pointed out by Giampaolo.
........
Benjamin Peterson [Sat, 12 Jul 2008 20:06:53 +0000 (20:06 +0000)]
kill off plat-mac
Josiah Carlson [Fri, 11 Jul 2008 23:26:37 +0000 (23:26 +0000)]
Fixed test for asyncore.
Josiah Carlson [Fri, 11 Jul 2008 22:18:27 +0000 (22:18 +0000)]
Fix for AttributeError in test_asynchat.
Brett Cannon [Fri, 11 Jul 2008 00:50:40 +0000 (00:50 +0000)]
Blocked revisions 64865-64866 via svnmerge
........
r64865 | brett.cannon | 2008-07-10 17:48:57 -0700 (Thu, 10 Jul 2008) | 1 line
Doc that robotparse has been renamed urllib.robotparser in Python 3.0.
........
r64866 | brett.cannon | 2008-07-10 17:50:01 -0700 (Thu, 10 Jul 2008) | 1 line
Fix a minor typo in the last entry made.
........
Brett Cannon [Fri, 11 Jul 2008 00:17:07 +0000 (00:17 +0000)]
Blocked revisions 64861 via svnmerge
........
r64861 | brett.cannon | 2008-07-10 17:16:30 -0700 (Thu, 10 Jul 2008) | 1 line
Doc that urlparse is named urllib.parse in Python 3.0.
........
Brett Cannon [Fri, 11 Jul 2008 00:13:34 +0000 (00:13 +0000)]
Blocked revisions 64858-64859 via svnmerge
........
r64858 | brett.cannon | 2008-07-10 17:10:49 -0700 (Thu, 10 Jul 2008) | 2 lines
Removal an invalid entry as the fixer for urllib is under active development.
........
r64859 | brett.cannon | 2008-07-10 17:12:52 -0700 (Thu, 10 Jul 2008) | 3 lines
Document the fact that urllib2 spans multiple modules with new names in Python
3.0.
........
Nick Coghlan [Tue, 8 Jul 2008 14:12:42 +0000 (14:12 +0000)]
Blocked revisions 64791 via svnmerge
........
r64791 | nick.coghlan | 2008-07-09 00:08:04 +1000 (Wed, 09 Jul 2008) | 1 line
Issue 2517: Allow unicode messages in Exceptions again by correctly bypassing the instance dictionary when looking up __unicode__ on new-style classes
........
Facundo Batista [Mon, 7 Jul 2008 18:24:11 +0000 (18:24 +0000)]
Issue 3314. The sys module is used in an error case.
Josiah Carlson [Mon, 7 Jul 2008 05:04:12 +0000 (05:04 +0000)]
Fixed bugs 760475, 953599, and 1519. This is a translation of changelist 64768
to the py3k branch.
Josiah Carlson [Mon, 7 Jul 2008 04:24:24 +0000 (04:24 +0000)]
Removed extraneous whitespace.
Josiah Carlson [Mon, 7 Jul 2008 04:23:14 +0000 (04:23 +0000)]
Fixed documentation to be correct for Py3k.
Josiah Carlson [Mon, 7 Jul 2008 04:15:08 +0000 (04:15 +0000)]
Committing Py3k version of changelist 64080 and 64257, along with updated tests
for smtpd, which required updating with the new semantics.
Amaury Forgeot d'Arc [Sun, 6 Jul 2008 21:37:52 +0000 (21:37 +0000)]
Blocked revisions 64762 via svnmerge
........
r64762 | amaury.forgeotdarc | 2008-07-06 23:34:39 +0200 (dim., 06 juil. 2008) | 8 lines
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.
........
Benjamin Peterson [Sat, 5 Jul 2008 23:39:56 +0000 (23:39 +0000)]
fix no-op in tutorial
Benjamin Peterson [Sat, 5 Jul 2008 23:38:30 +0000 (23:38 +0000)]
#3295 actually define PyExc_BufferError
Benjamin Peterson [Sat, 5 Jul 2008 22:51:21 +0000 (22:51 +0000)]
make the symlink to Python be created on install for IDLE.app
Benjamin Peterson [Sat, 5 Jul 2008 21:20:33 +0000 (21:20 +0000)]
finish fixing the rlcompleter regression (thanks for noticing Antonine Pitrou)
Benjamin Peterson [Sat, 5 Jul 2008 20:59:18 +0000 (20:59 +0000)]
fix regression from merge error in rlcompletor
Martin v. Löwis [Sat, 5 Jul 2008 15:55:00 +0000 (15:55 +0000)]
Merged revisions 64736-64737 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r64736 | martin.v.loewis | 2008-07-05 17:45:45 +0200 (Sa, 05 Jul 2008) | 20 lines
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.
........
................
r64737 | martin.v.loewis | 2008-07-05 17:48:20 +0200 (Sa, 05 Jul 2008) | 2 lines
Disable lib2to3 by default, unless run explicitly.
................
Mark Dickinson [Sat, 5 Jul 2008 11:29:03 +0000 (11:29 +0000)]
Docstring typo
Amaury Forgeot d'Arc [Fri, 4 Jul 2008 21:34:47 +0000 (21:34 +0000)]
Correct a typo during previous checkin.
Amaury Forgeot d'Arc [Fri, 4 Jul 2008 21:26:43 +0000 (21:26 +0000)]
Issue #3280: like chr() already does, the "%c" format now accepts the full unicode range
even on "narrow Unicode" builds; the result is a pair of UTF-16 surrogates.
Benjamin Peterson [Fri, 4 Jul 2008 19:55:29 +0000 (19:55 +0000)]
touch up str docstrings #3284
Amaury Forgeot d'Arc [Fri, 4 Jul 2008 17:57:09 +0000 (17:57 +0000)]
Correct a test after r64701.
Georg Brandl [Fri, 4 Jul 2008 15:55:02 +0000 (15:55 +0000)]
Issue #3282: str.isprintable() should return False for undefined Unicode characters.
Georg Brandl [Fri, 4 Jul 2008 15:45:10 +0000 (15:45 +0000)]
Fix committed merge conflict.
Benjamin Peterson [Thu, 3 Jul 2008 20:28:26 +0000 (20:28 +0000)]
remove traces of .next
Benjamin Peterson [Thu, 3 Jul 2008 14:45:20 +0000 (14:45 +0000)]
document LOAD_BUILD_CLASS
Martin v. Löwis [Thu, 3 Jul 2008 14:13:42 +0000 (14:13 +0000)]
Merged revisions 64688 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64688 | martin.v.loewis | 2008-07-03 14:51:14 +0200 (Do, 03 Jul 2008) | 9 lines
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.
........
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 23:44:19 +0000 (23:44 +0000)]
Merged revisions 64685 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64685 | amaury.forgeotdarc | 2008-07-03 01:40:28 +0200 (Thu, 03 Jul 2008) | 3 lines
Try a blind fix to nismodule which fails on the solaris10 3.0 buildbot:
the GIL must be re-acquired in the callback function
........
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 23:22:30 +0000 (23:22 +0000)]
Correct a typo that breaks test_distutils
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 23:02:21 +0000 (23:02 +0000)]
Add a NEWS entry for Issue #3247.
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 22:59:48 +0000 (22:59 +0000)]
#3247: get rid of Py_FindMethods
Remove references in documentation;
also rewrite a paragraph that looked off-topic to me.
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 22:38:47 +0000 (22:38 +0000)]
#3247: get rid of Py_FindMethod
Third step: unix-only modules. Really remove the function this time.
Brett Cannon [Wed, 2 Jul 2008 22:07:22 +0000 (22:07 +0000)]
Block r64673.
Brett Cannon [Wed, 2 Jul 2008 22:06:12 +0000 (22:06 +0000)]
Merged revisions 64677 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64677 | brett.cannon | 2008-07-02 14:52:42 -0700 (Wed, 02 Jul 2008) | 2 lines
Revert r64673 and instead just change the file encoding.
........
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 21:47:18 +0000 (21:47 +0000)]
Oops, forgot that there are modules outside the win32 world.
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 21:41:01 +0000 (21:41 +0000)]
#3247: Get rid of Py_FindMethod:
Second step: keep tp_getattr functions when they are complex,
but use PyObject_GenericGetAttr() as a fallback.
These were the last occurrences of Py_FindMethod.
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 20:50:16 +0000 (20:50 +0000)]
#3247 Get rid of Py_FindMethod; use tp_members instead.
Otherwise dir(_sre.SRE_Match) returns an empty list.
First step: handle most occurrences, remove tp_getattr and fill the tp_methods and tp_members slots.
Add some test about attribute access.
Benjamin Peterson [Wed, 2 Jul 2008 20:22:54 +0000 (20:22 +0000)]
Merged revisions 64475,64544-64545,64550,64557-64558,64565,64570,64577,64582-64583,64585,64590,64592-64593,64625,64630,64638,64647,64655-64656,64663-64664 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64475 | raymond.hettinger | 2008-06-22 22:29:28 -0500 (Sun, 22 Jun 2008) | 1 line
Issue 3161: Missing import and test.
........
r64544 | georg.brandl | 2008-06-26 16:12:55 -0500 (Thu, 26 Jun 2008) | 2 lines
Use newer versions of externals.
........
r64545 | benjamin.peterson | 2008-06-26 16:23:30 -0500 (Thu, 26 Jun 2008) | 1 line
add a htmlview directive
........
r64550 | brett.cannon | 2008-06-26 19:32:16 -0500 (Thu, 26 Jun 2008) | 2 lines
Ignore .pyc and .pyo files.
........
r64557 | mark.dickinson | 2008-06-27 05:11:52 -0500 (Fri, 27 Jun 2008) | 3 lines
Remove trailing 'L's from numerator and denominator in the
repr() of a Fraction instance.
........
r64558 | mark.dickinson | 2008-06-27 06:03:21 -0500 (Fri, 27 Jun 2008) | 2 lines
Add Jean Brouwers for his work on math.sum
........
r64565 | raymond.hettinger | 2008-06-27 16:34:24 -0500 (Fri, 27 Jun 2008) | 1 line
Fix whitespace in example code.
........
r64570 | hyeshik.chang | 2008-06-27 20:04:31 -0500 (Fri, 27 Jun 2008) | 8 lines
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.
........
r64577 | raymond.hettinger | 2008-06-28 17:16:53 -0500 (Sat, 28 Jun 2008) | 1 line
Issue 3230: Do not the set specific size macro.
........
r64582 | benjamin.peterson | 2008-06-28 18:06:05 -0500 (Sat, 28 Jun 2008) | 2 lines
convert test_audioop to unittest. Thanks to Giampaolo Rodola.
........
r64583 | benjamin.peterson | 2008-06-28 18:06:49 -0500 (Sat, 28 Jun 2008) | 1 line
rewrap
........
r64585 | benjamin.peterson | 2008-06-28 18:35:31 -0500 (Sat, 28 Jun 2008) | 1 line
fix typo
........
r64590 | benjamin.peterson | 2008-06-29 08:43:07 -0500 (Sun, 29 Jun 2008) | 1 line
reinstate the ending backtick. thanks Nick :)
........
r64592 | vinay.sajip | 2008-06-29 16:25:28 -0500 (Sun, 29 Jun 2008) | 2 lines
Removed out-of-date comment in _install_handlers and
used issubclass in place of equality comparison of classes.
........
r64593 | vinay.sajip | 2008-06-29 16:27:15 -0500 (Sun, 29 Jun 2008) | 1 line
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.
........
r64625 | georg.brandl | 2008-07-01 14:59:00 -0500 (Tue, 01 Jul 2008) | 2 lines
Add a link to PEP 324.
........
r64630 | georg.brandl | 2008-07-01 15:18:10 -0500 (Tue, 01 Jul 2008) | 2 lines
#3216: fix Execute's parameter description.
........
r64638 | georg.brandl | 2008-07-01 15:50:02 -0500 (Tue, 01 Jul 2008) | 2 lines
#
1410739: add a footnote about "is" and "unusual" behavior.
........
r64647 | benjamin.peterson | 2008-07-01 18:33:06 -0500 (Tue, 01 Jul 2008) | 1 line
add ABC to the glossary
........
r64655 | mark.dickinson | 2008-07-02 04:37:01 -0500 (Wed, 02 Jul 2008) | 7 lines
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.
........
r64656 | nick.coghlan | 2008-07-02 08:09:19 -0500 (Wed, 02 Jul 2008) | 1 line
Issue 3190: pydoc now hides module __package__ attributes
........
r64663 | jesse.noller | 2008-07-02 11:44:09 -0500 (Wed, 02 Jul 2008) | 1 line
Reenable the manager tests with Amaury's threading fix
........
r64664 | facundo.batista | 2008-07-02 11:52:55 -0500 (Wed, 02 Jul 2008) | 4 lines
Issue #449227: Now with the rlcompleter module, callable objects are
added a '(' when completed.
........
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 19:49:38 +0000 (19:49 +0000)]
Revert a bad change I made in r64209, which probably broke compilation on win64
Benjamin Peterson [Wed, 2 Jul 2008 17:30:14 +0000 (17:30 +0000)]
Merged revisions 64434-64435,64440-64443,64445,64447-64448,64450,64452,64455,64461,64464,64466,64468 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64434 | andrew.kuchling | 2008-06-20 18:13:58 -0500 (Fri, 20 Jun 2008) | 1 line
Remove request for e-mail; it's unlikely these classes will be saved
........
r64435 | andrew.kuchling | 2008-06-20 18:14:32 -0500 (Fri, 20 Jun 2008) | 1 line
Grammar fixes
........
r64440 | andrew.kuchling | 2008-06-21 08:29:12 -0500 (Sat, 21 Jun 2008) | 1 line
Docstring typo
........
r64441 | andrew.kuchling | 2008-06-21 08:47:20 -0500 (Sat, 21 Jun 2008) | 1 line
Use repr() for bad input strings; this makes the empty string or binary characters more visible
........
r64442 | andrew.kuchling | 2008-06-21 08:48:38 -0500 (Sat, 21 Jun 2008) | 1 line
Docstring correction
........
r64443 | georg.brandl | 2008-06-21 09:26:19 -0500 (Sat, 21 Jun 2008) | 2 lines
Documentation fix.
........
r64445 | facundo.batista | 2008-06-21 12:30:06 -0500 (Sat, 21 Jun 2008) | 3 lines
Reviewed and updated the documentation. Fixes #3017.
........
r64447 | facundo.batista | 2008-06-21 13:58:04 -0500 (Sat, 21 Jun 2008) | 6 lines
Now a from submitted via POST that also has a query string
will contain both FieldStorage and MiniFieldStorage items.
Fixes #1817.
........
r64448 | facundo.batista | 2008-06-21 14:48:19 -0500 (Sat, 21 Jun 2008) | 5 lines
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.
........
r64450 | georg.brandl | 2008-06-22 04:05:29 -0500 (Sun, 22 Jun 2008) | 2 lines
Turn section references into proper cross-references.
........
r64452 | facundo.batista | 2008-06-22 08:36:20 -0500 (Sun, 22 Jun 2008) | 5 lines
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.
........
r64455 | facundo.batista | 2008-06-22 10:27:10 -0500 (Sun, 22 Jun 2008) | 4 lines
Issue 3164. Small fix to don't repeat a comparation
without necessity.
........
r64461 | georg.brandl | 2008-06-22 13:11:52 -0500 (Sun, 22 Jun 2008) | 2 lines
#3085: Fix syntax error.
........
r64464 | georg.brandl | 2008-06-22 13:31:54 -0500 (Sun, 22 Jun 2008) | 2 lines
Expand docstrings of sqlite3 functions.
........
r64466 | georg.brandl | 2008-06-22 14:07:59 -0500 (Sun, 22 Jun 2008) | 2 lines
Write out "phi" consistently.
........
r64468 | facundo.batista | 2008-06-22 14:35:24 -0500 (Sun, 22 Jun 2008) | 4 lines
Just returning nothing instead of rising TestSkipped, because
it makes the test fail in the trunk.loewis-sun buildbot.
........
Benjamin Peterson [Wed, 2 Jul 2008 16:19:28 +0000 (16:19 +0000)]
sync whatsnew with 2.6
Benjamin Peterson [Wed, 2 Jul 2008 16:18:39 +0000 (16:18 +0000)]
I'm blocking all these whatsnew revisions, so I can just manually sync it with 2.6;
merging it has gotten quite out of hand
Blocked revisions 64429,64436,64498,64572 via svnmerge
........
r64429 | georg.brandl | 2008-06-20 14:28:18 -0500 (Fri, 20 Jun 2008) | 2 lines
Change references to the new math functions to generate proper x-refs.
........
r64436 | andrew.kuchling | 2008-06-20 18:43:12 -0500 (Fri, 20 Jun 2008) | 1 line
Various items
........
r64498 | mark.dickinson | 2008-06-24 06:08:58 -0500 (Tue, 24 Jun 2008) | 4 lines
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.
........
r64572 | benjamin.peterson | 2008-06-28 08:18:14 -0500 (Sat, 28 Jun 2008) | 1 line
fix typo
........
Benjamin Peterson [Wed, 2 Jul 2008 16:11:42 +0000 (16:11 +0000)]
Merged revisions 64365,64370,64406,64408-64409,64412,64416-64417,64420-64421,64425-64428 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64365 | raymond.hettinger | 2008-06-17 19:56:57 -0500 (Tue, 17 Jun 2008) | 1 line
Fix double decref.
........
r64370 | mark.dickinson | 2008-06-18 04:20:17 -0500 (Wed, 18 Jun 2008) | 2 lines
Typo fix
........
r64406 | andrew.kuchling | 2008-06-19 09:02:30 -0500 (Thu, 19 Jun 2008) | 1 line
Only include update_lines_cols() function when it's actually going to be used
........
r64408 | amaury.forgeotdarc | 2008-06-19 14:57:39 -0500 (Thu, 19 Jun 2008) | 2 lines
test_macos can be skipped on non-mac platforms.
........
r64409 | andrew.kuchling | 2008-06-19 15:33:31 -0500 (Thu, 19 Jun 2008) | 1 line
Put threading in front of thread
........
r64412 | amaury.forgeotdarc | 2008-06-19 16:17:12 -0500 (Thu, 19 Jun 2008) | 3 lines
In test_site, correctly escape backslashes in path names.
This allows the test to pass when the username begins with a lowercase 't'...
........
r64416 | vinay.sajip | 2008-06-19 17:40:17 -0500 (Thu, 19 Jun 2008) | 2 lines
Bug #3136: fileConfig()'s disabling of old loggers is now conditional via an optional disable_existing_loggers parameter, but the default value is such that the old behaviour is preserved.
Thanks to Leandro Lucarella for the patch.
........
r64417 | vinay.sajip | 2008-06-19 17:41:08 -0500 (Thu, 19 Jun 2008) | 1 line
Updated with fix for #3136.
........
r64420 | andrew.kuchling | 2008-06-19 21:05:57 -0500 (Thu, 19 Jun 2008) | 1 line
Various items
........
r64421 | andrew.kuchling | 2008-06-19 21:11:42 -0500 (Thu, 19 Jun 2008) | 1 line
Fix comment typos
........
r64425 | andrew.kuchling | 2008-06-20 06:39:54 -0500 (Fri, 20 Jun 2008) | 1 line
Various items
........
r64426 | mark.dickinson | 2008-06-20 09:53:43 -0500 (Fri, 20 Jun 2008) | 4 lines
Issue #3004: Minor fix to slice.indices(). slice(-10).indices(9) now
returns (0, 0, 1) instead of (0, -1, 1), and slice(None, 10, -1).indices(10)
returns (9, 9, -1) instead of (9, 10, -1).
........
r64427 | mark.dickinson | 2008-06-20 10:17:41 -0500 (Fri, 20 Jun 2008) | 2 lines
Fix outdated count of the number of new math module functions.
........
r64428 | mark.dickinson | 2008-06-20 10:26:19 -0500 (Fri, 20 Jun 2008) | 2 lines
Fix another typo in math_sum comment
........
Benjamin Peterson [Wed, 2 Jul 2008 15:15:37 +0000 (15:15 +0000)]
Blocked revisions 64398,64400,64437,64456,64462,64511 via svnmerge
........
r64398 | barry.warsaw | 2008-06-18 20:48:07 -0500 (Wed, 18 Jun 2008) | 1 line
Bumping to 2.6b1
........
r64400 | barry.warsaw | 2008-06-18 21:31:54 -0500 (Wed, 18 Jun 2008) | 1 line
Post release changes
........
r64437 | andrew.kuchling | 2008-06-20 19:17:22 -0500 (Fri, 20 Jun 2008) | 1 line
Correct two versionchanged directives, to improve the 'changes' output
........
r64456 | facundo.batista | 2008-06-22 11:11:34 -0500 (Sun, 22 Jun 2008) | 4 lines
Trying to see if the @ in a path is causing the issue in the
shutil.rmtree() in the trunk.loewis-sun buildbot.
........
r64462 | facundo.batista | 2008-06-22 13:23:55 -0500 (Sun, 22 Jun 2008) | 4 lines
Trying to see if the problem in Martin's buildot is at
directory creation time...
........
r64511 | raymond.hettinger | 2008-06-24 10:58:53 -0500 (Tue, 24 Jun 2008) | 1 line
Issue 3189: Py3k DeprecationWarning in difflib
........
Benjamin Peterson [Wed, 2 Jul 2008 14:44:54 +0000 (14:44 +0000)]
add an entry for object.__dir__
Brett Cannon [Wed, 2 Jul 2008 01:57:57 +0000 (01:57 +0000)]
Blocked revisions 64649 via svnmerge
........
r64649 | brett.cannon | 2008-07-01 18:57:08 -0700 (Tue, 01 Jul 2008) | 8 lines
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.
........
Amaury Forgeot d'Arc [Tue, 1 Jul 2008 20:48:50 +0000 (20:48 +0000)]
Blocked revisions 64633 via svnmerge
........
r64633 | amaury.forgeotdarc | 2008-07-01 22:38:04 +0200 (mar., 01 juil. 2008) | 5 lines
#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:46:09 +0000 (20:46 +0000)]
Blocked revisions 64635 via svnmerge
........
r64635 | georg.brandl | 2008-07-01 22:45:09 +0200 (Tue, 01 Jul 2008) | 2 lines
#
1523853: add note about fread().
........
Georg Brandl [Tue, 1 Jul 2008 20:39:59 +0000 (20:39 +0000)]
#3191: fix round() docs and docstring.
Benjamin Peterson [Tue, 1 Jul 2008 20:26:36 +0000 (20:26 +0000)]
fix test_metaclass
Georg Brandl [Tue, 1 Jul 2008 20:21:28 +0000 (20:21 +0000)]
Add some full stops.
Georg Brandl [Tue, 1 Jul 2008 20:08:02 +0000 (20:08 +0000)]
#3220: improve bytes docs a bit.
Benjamin Peterson [Tue, 1 Jul 2008 20:03:27 +0000 (20:03 +0000)]
Merged revisions 64622 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64622 | benjamin.peterson | 2008-07-01 14:34:52 -0500 (Tue, 01 Jul 2008) | 1 line
#3219 repeated keyword arguments aren't allowed in function calls anymore
........
Georg Brandl [Tue, 1 Jul 2008 19:56:00 +0000 (19:56 +0000)]
Fix a few urllib bugs (NameErrors).
Also directly import names from the various urllib submodules,
saves attribute lookup and is much cleaner.
Georg Brandl [Tue, 1 Jul 2008 19:28:43 +0000 (19:28 +0000)]
#2683: Popen.communicate() argument must be bytes.
Benjamin Peterson [Tue, 1 Jul 2008 19:12:34 +0000 (19:12 +0000)]
document PyUnicode_CompareWithASCIIString
Georg Brandl [Tue, 1 Jul 2008 19:10:52 +0000 (19:10 +0000)]
#2683: communicate() takes bytes.
Benjamin Peterson [Tue, 1 Jul 2008 18:23:09 +0000 (18:23 +0000)]
Hopefully fix make framework install on Mac (see 3174)
Removal of the Mac modules broke many of the Mac scripts (including
BuildApplet.py) so the building of the Python launcher and IDLE.app was
broken. I manually copied built versions of those apps into Mac. Everything else
which used Mac modules had to die.
Mark Summerfield [Tue, 1 Jul 2008 15:50:04 +0000 (15:50 +0000)]
- No more 0L or similar.
- Added cross-refs to fraction & decimal in numeric types.
- Moved str.isdecimal() & str.isnumeric() into alphabetical order like
all the other str methods; also massaged the text a bit to make it
more consistent with the similar methods' texts.
BTW The iterator.__iter__() docs seems to be out of step with
functions.rst (where it now has an extra parameter).
Benjamin Peterson [Tue, 1 Jul 2008 14:42:51 +0000 (14:42 +0000)]
fix syntax
Mark Summerfield [Tue, 1 Jul 2008 14:42:30 +0000 (14:42 +0000)]
- removed sentence about the new free format floating-point representation
since I believe that's been abandoned.
- added __round__() to datamodel page's list of numeric special methods.
Benjamin Peterson [Mon, 30 Jun 2008 23:30:24 +0000 (23:30 +0000)]
Merged revisions 64601 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64601 | amaury.forgeotdarc | 2008-06-30 17:42:40 -0500 (Mon, 30 Jun 2008) | 11 lines
#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.
........
Benjamin Peterson [Mon, 30 Jun 2008 15:01:21 +0000 (15:01 +0000)]
now that exec is a function, we can use the shorter assertRaises to test
Martin v. Löwis [Mon, 30 Jun 2008 07:03:57 +0000 (07:03 +0000)]
Merged revisions 64597-64598 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64597 | martin.v.loewis | 2008-06-30 08:57:39 +0200 (Mo, 30 Jun 2008) | 1 line
Issue #3215: Build sqlite3 as sqlite3.dll, not sqlite3.pyd
........
r64598 | martin.v.loewis | 2008-06-30 09:01:09 +0200 (Mo, 30 Jun 2008) | 1 line
Add _multiprocessing module.
........
Martin v. Löwis [Mon, 30 Jun 2008 04:06:08 +0000 (04:06 +0000)]
Issue #3236: Return small longs from PyLong_FromString.
Bill Janssen [Sun, 29 Jun 2008 00:08:12 +0000 (00:08 +0000)]
close asyncore.dispatcher on EOF
Bill Janssen [Sun, 29 Jun 2008 00:05:51 +0000 (00:05 +0000)]
fix bad method names in ssl module (and typo in ssl doc)
Robert Schuppenies [Sat, 28 Jun 2008 23:58:47 +0000 (23:58 +0000)]
Merged revisions 64518,64521-64525,64528-64533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64518 | robert.schuppenies | 2008-06-25 11:20:03 +0200 (Wed, 25 Jun 2008) | 2 lines
Issue 3147: Fixed SizeofTest failure for LLP64 systems.
........
r64533 | robert.schuppenies | 2008-06-26 17:20:35 +0200 (Thu, 26 Jun 2008) | 3 lines
Corrected inconsistencies in sizeof tests and addressed issue pointed
out by Jean Brouwers.
........
Benjamin Peterson [Sat, 28 Jun 2008 23:34:00 +0000 (23:34 +0000)]
division is no longer a future thing for test_binop
Benjamin Peterson [Sat, 28 Jun 2008 23:05:03 +0000 (23:05 +0000)]
#3229 fix typo and expand notes a little
Matthias Klose [Sat, 28 Jun 2008 18:23:49 +0000 (18:23 +0000)]
- allow to configure with db4.7, test with 4.7 on some buildds
needs to be reviewed before release.
Benjamin Peterson [Sat, 28 Jun 2008 14:10:42 +0000 (14:10 +0000)]
remove usage of cachesrc.py in Mac/Makefile
Benjamin Peterson [Sat, 28 Jun 2008 01:42:41 +0000 (01:42 +0000)]
change references to Queue module to queue in multiprocessing docs
Benjamin Peterson [Sat, 28 Jun 2008 00:40:54 +0000 (00:40 +0000)]
Merged revisions 64407,64568 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64407 | andrew.kuchling | 2008-06-19 14:48:42 -0500 (Thu, 19 Jun 2008) | 1 line
Remove some standalone material from the introduction; various markup and typo fixes
........
r64568 | benjamin.peterson | 2008-06-27 18:22:06 -0500 (Fri, 27 Jun 2008) | 1 line
edit multiprocessing docs
........
Benjamin Peterson [Fri, 27 Jun 2008 22:16:47 +0000 (22:16 +0000)]
make multiprocessing.sharedctypes.Value's lock argument a keyword-only argument for real
Mark Dickinson [Fri, 27 Jun 2008 17:01:17 +0000 (17:01 +0000)]
Merged revisions 64561 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64561 | mark.dickinson | 2008-06-27 17:49:27 +0100 (Fri, 27 Jun 2008) | 2 lines
Issue #3197: rework documentation for fractions module.
........
Trent Nelson [Fri, 27 Jun 2008 02:47:27 +0000 (02:47 +0000)]
Blocked revisions 64555 via svnmerge
................
r64555 | trent.nelson | 2008-06-26 21:30:34 -0500 (Thu, 26 Jun 2008) | 13 lines
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.
........
................
Brett Cannon [Fri, 27 Jun 2008 00:53:19 +0000 (00:53 +0000)]
Ignore *.pyc and *.pyo files.
Brett Cannon [Fri, 27 Jun 2008 00:52:15 +0000 (00:52 +0000)]
Merged revisions 64549 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64549 | brett.cannon | 2008-06-26 17:31:13 -0700 (Thu, 26 Jun 2008) | 7 lines
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.
........
Brett Cannon [Fri, 27 Jun 2008 00:35:35 +0000 (00:35 +0000)]
Rename a variable to be more in line with the name of the module.
Benjamin Peterson [Thu, 26 Jun 2008 21:45:04 +0000 (21:45 +0000)]
Blocked revisions 64546-64547 via svnmerge
........
r64546 | benjamin.peterson | 2008-06-26 16:24:35 -0500 (Thu, 26 Jun 2008) | 1 line
use the new API
........
r64547 | benjamin.peterson | 2008-06-26 16:29:19 -0500 (Thu, 26 Jun 2008) | 1 line
fix isSet in _exposed
........
Georg Brandl [Thu, 26 Jun 2008 19:00:11 +0000 (19:00 +0000)]
#3204: remove slice operations from operator doc.