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.
Raymond Hettinger [Sat, 21 Jun 2008 06:39:53 +0000 (06:39 +0000)]
Issue 3008: hex/oct/bin can show floats exactly.
Andrew M. Kuchling [Sat, 21 Jun 2008 00:17:22 +0000 (00:17 +0000)]
Correct two versionchanged directives, to improve the 'changes' output
Andrew M. Kuchling [Fri, 20 Jun 2008 23:43:12 +0000 (23:43 +0000)]
Various items
Andrew M. Kuchling [Fri, 20 Jun 2008 23:14:32 +0000 (23:14 +0000)]
Grammar fixes
Andrew M. Kuchling [Fri, 20 Jun 2008 23:13:58 +0000 (23:13 +0000)]
Remove request for e-mail; it's unlikely these classes will be saved
Benjamin Peterson [Fri, 20 Jun 2008 20:33:33 +0000 (20:33 +0000)]
rephrase
Georg Brandl [Fri, 20 Jun 2008 19:28:18 +0000 (19:28 +0000)]
Change references to the new math functions to generate proper x-refs.
Mark Dickinson [Fri, 20 Jun 2008 15:26:19 +0000 (15:26 +0000)]
Fix another typo in math_sum comment
Mark Dickinson [Fri, 20 Jun 2008 15:17:41 +0000 (15:17 +0000)]
Fix outdated count of the number of new math module functions.
Mark Dickinson [Fri, 20 Jun 2008 14:53:43 +0000 (14:53 +0000)]
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).
Andrew M. Kuchling [Fri, 20 Jun 2008 11:39:54 +0000 (11:39 +0000)]
Various items
Raymond Hettinger [Fri, 20 Jun 2008 04:18:15 +0000 (04:18 +0000)]
Make bin() implementation parallel oct() and hex() so that int/long subclasses can override or so that other classes can support.
Benjamin Peterson [Fri, 20 Jun 2008 02:47:03 +0000 (02:47 +0000)]
add multiprocessing to the Makefile
Andrew M. Kuchling [Fri, 20 Jun 2008 02:11:42 +0000 (02:11 +0000)]
Fix comment typos
Andrew M. Kuchling [Fri, 20 Jun 2008 02:05:57 +0000 (02:05 +0000)]
Various items
Vinay Sajip [Thu, 19 Jun 2008 22:41:08 +0000 (22:41 +0000)]
Updated with fix for #3136.
Vinay Sajip [Thu, 19 Jun 2008 22:40:17 +0000 (22:40 +0000)]
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.
Benjamin Peterson [Thu, 19 Jun 2008 21:39:06 +0000 (21:39 +0000)]
skip test_macostools when UCS4 is enabled
Amaury Forgeot d'Arc [Thu, 19 Jun 2008 21:17:12 +0000 (21:17 +0000)]
In test_site, correctly escape backslashes in path names.
This allows the test to pass when the username begins with a lowercase 't'...
Andrew M. Kuchling [Thu, 19 Jun 2008 20:33:31 +0000 (20:33 +0000)]
Put threading in front of thread
Amaury Forgeot d'Arc [Thu, 19 Jun 2008 19:57:39 +0000 (19:57 +0000)]
test_macos can be skipped on non-mac platforms.
Andrew M. Kuchling [Thu, 19 Jun 2008 19:48:42 +0000 (19:48 +0000)]
Remove some standalone material from the introduction; various markup and typo fixes
Andrew M. Kuchling [Thu, 19 Jun 2008 14:02:30 +0000 (14:02 +0000)]
Only include update_lines_cols() function when it's actually going to be used
Barry Warsaw [Thu, 19 Jun 2008 02:31:54 +0000 (02:31 +0000)]
Post release changes
Barry Warsaw [Thu, 19 Jun 2008 01:48:40 +0000 (01:48 +0000)]
Tagging for 2.6b1
Barry Warsaw [Thu, 19 Jun 2008 01:48:07 +0000 (01:48 +0000)]
Bumping to 2.6b1
Benjamin Peterson [Wed, 18 Jun 2008 22:59:32 +0000 (22:59 +0000)]
Fix test_socket_ssl the easy way and remove it per #1489
Amaury Forgeot d'Arc [Wed, 18 Jun 2008 21:33:58 +0000 (21:33 +0000)]
Typo in a directory name. Should help the AMD64 buildbots
Amaury Forgeot d'Arc [Wed, 18 Jun 2008 21:18:27 +0000 (21:18 +0000)]
The ssl certificate at https://sf.net is not valid.
Switch to https://sourceforge.net