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.
Benjamin Peterson [Wed, 25 Jun 2008 13:04:48 +0000 (13:04 +0000)]
make changes for py3k for multiprocessing
Benjamin Peterson [Wed, 25 Jun 2008 12:54:22 +0000 (12:54 +0000)]
Merged revisions 64517,64519 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64517 | benjamin.peterson | 2008-06-24 22:09:05 -0500 (Tue, 24 Jun 2008) | 1 line
remove bytes alias in multiprocessing
........
r64519 | benjamin.peterson | 2008-06-25 07:39:05 -0500 (Wed, 25 Jun 2008) | 1 line
use byte literals in multiprocessing
........
Benjamin Peterson [Wed, 25 Jun 2008 12:46:04 +0000 (12:46 +0000)]
Blocked revisions 64520 via svnmerge
........
r64520 | benjamin.peterson | 2008-06-25 07:44:29 -0500 (Wed, 25 Jun 2008) | 1 line
get rid of 2.6/3.0 switch statements in multiprocessing
........
Raymond Hettinger [Tue, 24 Jun 2008 22:28:56 +0000 (22:28 +0000)]
Revert 64451.
Mark Dickinson [Tue, 24 Jun 2008 15:37:23 +0000 (15:37 +0000)]
Blocked revisions 64508 via svnmerge
........
r64508 | mark.dickinson | 2008-06-24 16:35:14 +0100 (Tue, 24 Jun 2008) | 2 lines
Remove references to Py3k in __floor__, __ceil__ and __round__ documentation.
........
Mark Dickinson [Tue, 24 Jun 2008 15:32:27 +0000 (15:32 +0000)]
Rewrite references to Py3k in __floor__, __ceil__ and __round__ documentation.
Mark Dickinson [Tue, 24 Jun 2008 14:26:24 +0000 (14:26 +0000)]
Remove trailing 'L's from integers in limit_denominator examples.
Eric Smith [Tue, 24 Jun 2008 11:21:04 +0000 (11:21 +0000)]
Merged revisions 64499 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64499 | eric.smith | 2008-06-24 07:11:59 -0400 (Tue, 24 Jun 2008) | 1 line
Fixed formatting with thousands separator and padding. Resolves issue 3140.
........
Eric Smith [Tue, 24 Jun 2008 06:07:03 +0000 (06:07 +0000)]
Merged revisions 64496 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64496 | eric.smith | 2008-06-24 02:05:30 -0400 (Tue, 24 Jun 2008) | 1 line
Typo in comment.
........
Eric Smith [Tue, 24 Jun 2008 01:06:47 +0000 (01:06 +0000)]
Merged revisions 64491 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64491 | eric.smith | 2008-06-23 20:42:10 -0400 (Mon, 23 Jun 2008) | 1 line
Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in anticipation of fixing issue 3140.
........
Georg Brandl [Mon, 23 Jun 2008 11:45:20 +0000 (11:45 +0000)]
More old urllib usage.
Georg Brandl [Mon, 23 Jun 2008 11:44:14 +0000 (11:44 +0000)]
Fix old urllib/urllib2/urlparse usage.
Georg Brandl [Mon, 23 Jun 2008 11:23:31 +0000 (11:23 +0000)]
Review the doc changes for the urllib package creation.
Senthil Kumaran [Mon, 23 Jun 2008 04:41:59 +0000 (04:41 +0000)]
Documentation updates for urllib package. Modified the documentation for the
urllib,urllib2 -> urllib.request,urllib.error
urlparse -> urllib.parse
RobotParser -> urllib.robotparser
Updated tutorial references and other module references (http.client.rst,
ftplib.rst,contextlib.rst)
Updated the examples in the urllib2-howto
Addresses Issue3142.
Raymond Hettinger [Sun, 22 Jun 2008 11:39:13 +0000 (11:39 +0000)]
Merge 64438: hex/oct/bin can show floats exactly.
Guido van Rossum [Sat, 21 Jun 2008 20:51:10 +0000 (20:51 +0000)]
Ignore .py[co] files here.
Facundo Batista [Sat, 21 Jun 2008 17:29:41 +0000 (17:29 +0000)]
Reviewed and updated the documentation. Fixes #3017.
Benjamin Peterson [Fri, 20 Jun 2008 21:03:22 +0000 (21:03 +0000)]
remove references of cPickle in the pickle docs (uhh. unlabeled footnotes)
Benjamin Peterson [Fri, 20 Jun 2008 20:35:48 +0000 (20:35 +0000)]
Blocked revisions 64431 via svnmerge
........
r64431 | benjamin.peterson | 2008-06-20 15:33:33 -0500 (Fri, 20 Jun 2008) | 1 line
rephrase
........
Benjamin Peterson [Fri, 20 Jun 2008 02:54:41 +0000 (02:54 +0000)]
Merged revisions 64422 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64422 | benjamin.peterson | 2008-06-19 21:47:03 -0500 (Thu, 19 Jun 2008) | 1 line
add multiprocessing to the Makefile
........
Benjamin Peterson [Thu, 19 Jun 2008 23:34:34 +0000 (23:34 +0000)]
don't bother expecting to skip tests that don't exist
Benjamin Peterson [Thu, 19 Jun 2008 22:16:54 +0000 (22:16 +0000)]
Blocked revisions 64413 via svnmerge
........
r64413 | benjamin.peterson | 2008-06-19 16:39:06 -0500 (Thu, 19 Jun 2008) | 1 line
skip test_macostools when UCS4 is enabled
........
Amaury Forgeot d'Arc [Thu, 19 Jun 2008 22:03:50 +0000 (22:03 +0000)]
merge error: test.test_support is now test.support
Amaury Forgeot d'Arc [Thu, 19 Jun 2008 20:54:32 +0000 (20:54 +0000)]
Issue 3145: help("modules xxx") failed when scanning test.badsyntax_pep3120...
now it silently ignores modules it cannot scan or import.
Benjamin Peterson [Thu, 19 Jun 2008 13:21:48 +0000 (13:21 +0000)]
_getstalt doesn't need to be built on non-darwin systems #3141
Barry Warsaw [Thu, 19 Jun 2008 01:45:11 +0000 (01:45 +0000)]
Post 3.0b1 release
Barry Warsaw [Thu, 19 Jun 2008 00:37:17 +0000 (00:37 +0000)]
Tagging 3.0b1
Barry Warsaw [Thu, 19 Jun 2008 00:35:43 +0000 (00:35 +0000)]
Bump to 3.0b1
Benjamin Peterson [Wed, 18 Jun 2008 23:11:29 +0000 (23:11 +0000)]
Blocked revisions 64371 via svnmerge
........
r64371 | georg.brandl | 2008-06-18 04:28:22 -0500 (Wed, 18 Jun 2008) | 2 lines
Add versionadded tags to new math functions.
........
Benjamin Peterson [Wed, 18 Jun 2008 23:03:21 +0000 (23:03 +0000)]
Blocked revisions 64386,64392 via svnmerge
........
r64386 | amaury.forgeotdarc | 2008-06-18 16:18:27 -0500 (Wed, 18 Jun 2008) | 3 lines
The ssl certificate at https://sf.net is not valid.
Switch to https://sourceforge.net
........
r64392 | benjamin.peterson | 2008-06-18 17:59:32 -0500 (Wed, 18 Jun 2008) | 2 lines
Fix test_socket_ssl the easy way and remove it per #1489
........
Amaury Forgeot d'Arc [Wed, 18 Jun 2008 22:39:25 +0000 (22:39 +0000)]
Merged revisions 64387 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64387 | amaury.forgeotdarc | 2008-06-18 23:33:58 +0200 (mer., 18 juin 2008) | 2 lines
Typo in a directory name. Should help the AMD64 buildbots
........
Amaury Forgeot d'Arc [Wed, 18 Jun 2008 22:38:24 +0000 (22:38 +0000)]
follow-up of r64385: rename urllib.quote in nturl2path
and remove assertions & debugger when ssl is not present
Amaury Forgeot d'Arc [Wed, 18 Jun 2008 22:19:22 +0000 (22:19 +0000)]
Issue3113: tests for CGIHTTPRequestHandler failed on windows:
replace the now-invalid popen2 with a call to subprocess.Popen.
Jeremy Hylton [Wed, 18 Jun 2008 20:49:58 +0000 (20:49 +0000)]
Make a new urllib package .
It consists of code from urllib, urllib2, urlparse, and robotparser.
The old modules have all been removed. The new package has five
submodules: urllib.parse, urllib.request, urllib.response,
urllib.error, and urllib.robotparser. The urllib.request.urlopen()
function uses the url opener from urllib2.
Note that the unittests have not been renamed for the
beta, but they will be renamed in the future.
Joint work with Senthil Kumaran.
Jesse Noller [Wed, 18 Jun 2008 18:01:29 +0000 (18:01 +0000)]
merge 64378
Jesse Noller [Wed, 18 Jun 2008 14:22:48 +0000 (14:22 +0000)]
Merge r64375 to py3k
Mark Dickinson [Wed, 18 Jun 2008 10:04:31 +0000 (10:04 +0000)]
Quick fix for test_math failures on Solaris 10 buildbot. For future
reference, note that that asin(float('inf')) doesn't seem to return the
expected NaN on this platform.
Amaury Forgeot d'Arc [Wed, 18 Jun 2008 00:47:36 +0000 (00:47 +0000)]
Merged revisions 64114 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64114 | gregory.p.smith | 2008-06-11 09:41:16 +0200 (mer., 11 juin 2008) | 6 lines
Merge in release25-maint r60793:
Added checks for integer overflows, contributed by Google. Some are
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
........
Amaury Forgeot d'Arc [Tue, 17 Jun 2008 23:16:28 +0000 (23:16 +0000)]
Merged revisions 64360-64361 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64360 | amaury.forgeotdarc | 2008-06-18 01:09:19 +0200 (mer., 18 juin 2008) | 3 lines
On windows, lib2to3 should accept / and \ in the fixer_dir argument
Needed to let the tests pass
........
r64361 | amaury.forgeotdarc | 2008-06-18 01:14:19 +0200 (mer., 18 juin 2008) | 2 lines
Fix the previous fix
........
Benjamin Peterson [Tue, 17 Jun 2008 23:05:33 +0000 (23:05 +0000)]
Merged revisions 64358 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64358 | benjamin.peterson | 2008-06-17 18:01:59 -0500 (Tue, 17 Jun 2008) | 1 line
add needed import
........
Benjamin Peterson [Tue, 17 Jun 2008 22:43:48 +0000 (22:43 +0000)]
Merged revisions 64356 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64356 | benjamin.peterson | 2008-06-17 17:40:44 -0500 (Tue, 17 Jun 2008) | 1 line
skip test_multiprocessing when /dev/shm doesn't exist. This seems to be a chroot problem in the buildbot env.
........
Benjamin Peterson [Tue, 17 Jun 2008 22:39:26 +0000 (22:39 +0000)]
Merged revisions 64349 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64349 | mark.dickinson | 2008-06-17 16:16:55 -0500 (Tue, 17 Jun 2008) | 4 lines
Issue 3118: make test_math pass on Ubuntu/ia64. exp(-745.0) was raising
OverflowError incorrectly on this platform, presumably as a result of
the libm setting errno = ERANGE for this call.
........
Amaury Forgeot d'Arc [Tue, 17 Jun 2008 21:56:01 +0000 (21:56 +0000)]
Another merge error, seen on bigendian machines
Amaury Forgeot d'Arc [Tue, 17 Jun 2008 21:42:46 +0000 (21:42 +0000)]
Merge error: platform.py would not import