]> granicus.if.org Git - python/log
python
16 years agowrite a short little section for multiprocessing; it still needs help
Benjamin Peterson [Tue, 1 Jul 2008 19:51:54 +0000 (19:51 +0000)]
write a short little section for multiprocessing; it still needs help

16 years ago#3219 repeated keyword arguments aren't allowed in function calls anymore
Benjamin Peterson [Tue, 1 Jul 2008 19:34:52 +0000 (19:34 +0000)]
#3219 repeated keyword arguments aren't allowed in function calls anymore

16 years ago#Issue3088 in-progress: Race condition with instances of classes derived from threadi...
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.

16 years agoAdd _multiprocessing module.
Martin v. Löwis [Mon, 30 Jun 2008 07:01:09 +0000 (07:01 +0000)]
Add _multiprocessing module.

16 years agoIssue #3215: Build sqlite3 as sqlite3.dll, not sqlite3.pyd
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

16 years agoFix #2702, with a correct accounting of recursion.
Facundo Batista [Mon, 30 Jun 2008 01:10:55 +0000 (01:10 +0000)]
Fix #2702, with a correct accounting of recursion.

16 years agoUpdated to reflect change in logging.config to remove out-of-date comment in _install...
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.

16 years agoRemoved out-of-date comment in _install_handlers and
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.

16 years agoreinstate the ending backtick. thanks Nick :)
Benjamin Peterson [Sun, 29 Jun 2008 13:43:07 +0000 (13:43 +0000)]
reinstate the ending backtick. thanks Nick :)

16 years agofix typo
Benjamin Peterson [Sat, 28 Jun 2008 23:35:31 +0000 (23:35 +0000)]
fix typo

16 years agorewrap
Benjamin Peterson [Sat, 28 Jun 2008 23:06:49 +0000 (23:06 +0000)]
rewrap

16 years agoconvert test_audioop to unittest. Thanks to Giampaolo Rodola.
Benjamin Peterson [Sat, 28 Jun 2008 23:06:05 +0000 (23:06 +0000)]
convert test_audioop to unittest. Thanks to Giampaolo Rodola.

16 years agomake sure we close the active channels when eof is received on them
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

16 years agovarious SSL fixes; issues 1251, 3162, 3212
Bill Janssen [Sat, 28 Jun 2008 22:19:33 +0000 (22:19 +0000)]
various SSL fixes; issues 1251, 3162, 3212

16 years agoIssue 3230: Do not the set specific size macro.
Raymond Hettinger [Sat, 28 Jun 2008 22:16:53 +0000 (22:16 +0000)]
Issue 3230:  Do not the set specific size macro.

16 years agofix typo
Benjamin Peterson [Sat, 28 Jun 2008 13:18:14 +0000 (13:18 +0000)]
fix typo

16 years agoGive information for compililation of _multiprocessing.SemLock on FreeBSD:
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.

16 years agoedit multiprocessing docs
Benjamin Peterson [Fri, 27 Jun 2008 23:22:06 +0000 (23:22 +0000)]
edit multiprocessing docs

16 years agoFix typo in configure.in, and propagate configure.in changes from r64002
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.

16 years agoFix whitespace in example code.
Raymond Hettinger [Fri, 27 Jun 2008 21:34:24 +0000 (21:34 +0000)]
Fix whitespace in example code.

16 years agoIssue #3197: rework documentation for fractions module.
Mark Dickinson [Fri, 27 Jun 2008 16:49:27 +0000 (16:49 +0000)]
Issue #3197: rework documentation for fractions module.

16 years agoAdd Jean Brouwers for his work on math.sum
Mark Dickinson [Fri, 27 Jun 2008 11:03:21 +0000 (11:03 +0000)]
Add Jean Brouwers for his work on math.sum

16 years agoRemove trailing 'L's from numerator and denominator in the
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.

16 years agoMerged revisions 64368-64369 via svnmerge from
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.
........

16 years agoInitialized merge tracking via "svnmerge" with revisions "1-64347" from
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

16 years agoIgnore .pyc and .pyo files.
Brett Cannon [Fri, 27 Jun 2008 00:32:16 +0000 (00:32 +0000)]
Ignore .pyc and .pyo files.

16 years agowarnings.warn_explicit() did not have the proper TypeErrors in place to prevent
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.

16 years agofix isSet in _exposed
Benjamin Peterson [Thu, 26 Jun 2008 21:29:19 +0000 (21:29 +0000)]
fix isSet in _exposed

16 years agouse the new API
Benjamin Peterson [Thu, 26 Jun 2008 21:24:35 +0000 (21:24 +0000)]
use the new API

16 years agoadd a htmlview directive
Benjamin Peterson [Thu, 26 Jun 2008 21:23:30 +0000 (21:23 +0000)]
add a htmlview directive

16 years agoUse newer versions of externals.
Georg Brandl [Thu, 26 Jun 2008 21:12:55 +0000 (21:12 +0000)]
Use newer versions of externals.

16 years agoAdd a version tag for shutdown().
Georg Brandl [Thu, 26 Jun 2008 18:55:37 +0000 (18:55 +0000)]
Add a version tag for shutdown().

16 years agoCorrected inconsistencies in sizeof tests and addressed issue pointed
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.

16 years agoReverting the patch from #3165, as it broke other
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.

16 years agoissue #3199: Fix typo in Mac/Makefile.in
Mark Dickinson [Wed, 25 Jun 2008 15:29:32 +0000 (15:29 +0000)]
issue #3199: Fix typo in Mac/Makefile.in

16 years agoget rid of 2.6/3.0 switch statements in multiprocessing
Benjamin Peterson [Wed, 25 Jun 2008 12:44:29 +0000 (12:44 +0000)]
get rid of 2.6/3.0 switch statements in multiprocessing

16 years agouse byte literals in multiprocessing
Benjamin Peterson [Wed, 25 Jun 2008 12:39:05 +0000 (12:39 +0000)]
use byte literals in multiprocessing

16 years agoIssue 3147: Fixed SizeofTest failure for LLP64 systems.
Robert Schuppenies [Wed, 25 Jun 2008 09:20:03 +0000 (09:20 +0000)]
Issue 3147: Fixed SizeofTest failure for LLP64 systems.

16 years agoremove bytes alias in multiprocessing
Benjamin Peterson [Wed, 25 Jun 2008 03:09:05 +0000 (03:09 +0000)]
remove bytes alias in multiprocessing

16 years agoRevert 64424, 64438, and 64439.
Raymond Hettinger [Tue, 24 Jun 2008 22:46:07 +0000 (22:46 +0000)]
Revert 64424, 64438, and 64439.

16 years agoIssue 3189: Py3k DeprecationWarning in difflib
Raymond Hettinger [Tue, 24 Jun 2008 15:58:53 +0000 (15:58 +0000)]
Issue 3189:  Py3k DeprecationWarning in difflib

16 years agoRemove references to Py3k in __floor__, __ceil__ and __round__ documentation.
Mark Dickinson [Tue, 24 Jun 2008 15:35:14 +0000 (15:35 +0000)]
Remove references to Py3k in __floor__, __ceil__ and __round__ documentation.

16 years agoFixed formatting with thousands separator and padding. Resolves issue 3140.
Eric Smith [Tue, 24 Jun 2008 11:11:59 +0000 (11:11 +0000)]
Fixed formatting with thousands separator and padding.  Resolves issue 3140.

16 years agoChange description of float('nan') feature; NaNs don't care much about
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.

16 years agoTypo in comment.
Eric Smith [Tue, 24 Jun 2008 06:05:30 +0000 (06:05 +0000)]
Typo in comment.

16 years agominor fix
Benjamin Peterson [Tue, 24 Jun 2008 02:41:08 +0000 (02:41 +0000)]
minor fix

16 years agoModified interface to _Py_[String|Unicode]InsertThousandsGrouping, in anticipation...
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.

16 years agoInclude debug info when assembling win64.asm in a debug build.
Thomas Heller [Mon, 23 Jun 2008 19:51:41 +0000 (19:51 +0000)]
Include debug info when assembling win64.asm in a debug build.

16 years agoFix compilation on Windows.
Thomas Heller [Mon, 23 Jun 2008 14:49:56 +0000 (14:49 +0000)]
Fix compilation on Windows.

16 years agoIssue 3161: Missing import and test.
Raymond Hettinger [Mon, 23 Jun 2008 03:29:28 +0000 (03:29 +0000)]
Issue 3161: Missing import and test.

16 years agoFixing the problem stated in issue 2702 with the patch submitted
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.

16 years agoJust returning nothing instead of rising TestSkipped, because
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.

16 years agoWrite out "phi" consistently.
Georg Brandl [Sun, 22 Jun 2008 19:07:59 +0000 (19:07 +0000)]
Write out "phi" consistently.

16 years agoExpand docstrings of sqlite3 functions.
Georg Brandl [Sun, 22 Jun 2008 18:31:54 +0000 (18:31 +0000)]
Expand docstrings of sqlite3 functions.

16 years agoTrying to see if the problem in Martin's buildot is at
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...

16 years ago#3085: Fix syntax error.
Georg Brandl [Sun, 22 Jun 2008 18:11:52 +0000 (18:11 +0000)]
#3085: Fix syntax error.

16 years agoTrying to see if the @ in a path is causing the issue in the
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.

16 years agoIssue 3164. Small fix to don't repeat a comparation
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.

16 years agoWording fix
Andrew M. Kuchling [Sun, 22 Jun 2008 13:39:11 +0000 (13:39 +0000)]
Wording fix

16 years agoIssue #2722. Now the char buffer to support the path string has
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.

16 years agoTurn section references into proper cross-references.
Georg Brandl [Sun, 22 Jun 2008 09:05:29 +0000 (09:05 +0000)]
Turn section references into proper cross-references.

16 years agoIn the deprecated functions I added an alert to review
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.

16 years agoNow a from submitted via POST that also has a query string
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.

16 years agoFixed issue #2888. Now the behaviour of pprint when working with nested
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).

16 years agoReviewed and updated the documentation. Fixes #3017.
Facundo Batista [Sat, 21 Jun 2008 17:30:06 +0000 (17:30 +0000)]
Reviewed and updated the documentation. Fixes #3017.

16 years agoDocumentation fix.
Georg Brandl [Sat, 21 Jun 2008 14:26:19 +0000 (14:26 +0000)]
Documentation fix.

16 years agoDocstring correction
Andrew M. Kuchling [Sat, 21 Jun 2008 13:48:38 +0000 (13:48 +0000)]
Docstring correction

16 years agoUse repr() for bad input strings; this makes the empty string or binary characters...
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

16 years agoDocstring typo
Andrew M. Kuchling [Sat, 21 Jun 2008 13:29:12 +0000 (13:29 +0000)]
Docstring typo

16 years agoFix build on FreeBSD gcc.
Hye-Shik Chang [Sat, 21 Jun 2008 11:15:30 +0000 (11:15 +0000)]
Fix build on FreeBSD gcc.

16 years agoIssue 3008: hex/oct/bin can show floats exactly.
Raymond Hettinger [Sat, 21 Jun 2008 06:39:53 +0000 (06:39 +0000)]
Issue 3008: hex/oct/bin can show floats exactly.

16 years agoCorrect two versionchanged directives, to improve the 'changes' output
Andrew M. Kuchling [Sat, 21 Jun 2008 00:17:22 +0000 (00:17 +0000)]
Correct two versionchanged directives, to improve the 'changes' output

16 years agoVarious items
Andrew M. Kuchling [Fri, 20 Jun 2008 23:43:12 +0000 (23:43 +0000)]
Various items

16 years agoGrammar fixes
Andrew M. Kuchling [Fri, 20 Jun 2008 23:14:32 +0000 (23:14 +0000)]
Grammar fixes

16 years agoRemove request for e-mail; it's unlikely these classes will be saved
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

16 years agorephrase
Benjamin Peterson [Fri, 20 Jun 2008 20:33:33 +0000 (20:33 +0000)]
rephrase

16 years agoChange references to the new math functions to generate proper x-refs.
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.

16 years agoFix another typo in math_sum comment
Mark Dickinson [Fri, 20 Jun 2008 15:26:19 +0000 (15:26 +0000)]
Fix another typo in math_sum comment

16 years agoFix outdated count of the number of new math module functions.
Mark Dickinson [Fri, 20 Jun 2008 15:17:41 +0000 (15:17 +0000)]
Fix outdated count of the number of new math module functions.

16 years agoIssue #3004: Minor fix to slice.indices(). slice(-10).indices(9) now
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).

16 years agoVarious items
Andrew M. Kuchling [Fri, 20 Jun 2008 11:39:54 +0000 (11:39 +0000)]
Various items

16 years agoMake bin() implementation parallel oct() and hex() so that int/long subclasses can...
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.

16 years agoadd multiprocessing to the Makefile
Benjamin Peterson [Fri, 20 Jun 2008 02:47:03 +0000 (02:47 +0000)]
add multiprocessing to the Makefile

16 years agoFix comment typos
Andrew M. Kuchling [Fri, 20 Jun 2008 02:11:42 +0000 (02:11 +0000)]
Fix comment typos

16 years agoVarious items
Andrew M. Kuchling [Fri, 20 Jun 2008 02:05:57 +0000 (02:05 +0000)]
Various items

16 years agoUpdated with fix for #3136.
Vinay Sajip [Thu, 19 Jun 2008 22:41:08 +0000 (22:41 +0000)]
Updated with fix for #3136.

16 years agoBug #3136: fileConfig()'s disabling of old loggers is now conditional via an optional...
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.

16 years agoskip test_macostools when UCS4 is enabled
Benjamin Peterson [Thu, 19 Jun 2008 21:39:06 +0000 (21:39 +0000)]
skip test_macostools when UCS4 is enabled

16 years agoIn test_site, correctly escape backslashes in path names.
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'...

16 years agoPut threading in front of thread
Andrew M. Kuchling [Thu, 19 Jun 2008 20:33:31 +0000 (20:33 +0000)]
Put threading in front of thread

16 years agotest_macos can be skipped on non-mac platforms.
Amaury Forgeot d'Arc [Thu, 19 Jun 2008 19:57:39 +0000 (19:57 +0000)]
test_macos can be skipped on non-mac platforms.

16 years agoRemove some standalone material from the introduction; various markup and typo fixes
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

16 years agoOnly include update_lines_cols() function when it's actually going to be used
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

16 years agoPost release changes
Barry Warsaw [Thu, 19 Jun 2008 02:31:54 +0000 (02:31 +0000)]
Post release changes

16 years agoTagging for 2.6b1
Barry Warsaw [Thu, 19 Jun 2008 01:48:40 +0000 (01:48 +0000)]
Tagging for 2.6b1

16 years agoBumping to 2.6b1 v2.6b1
Barry Warsaw [Thu, 19 Jun 2008 01:48:07 +0000 (01:48 +0000)]
Bumping to 2.6b1

16 years agoFix test_socket_ssl the easy way and remove it per #1489
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

16 years agoTypo in a directory name. Should help the AMD64 buildbots
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

16 years agoThe ssl certificate at https://sf.net is not valid.
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

16 years agoRemove test_listener_client to remove possible race condition in the multiprocessing...
Jesse Noller [Wed, 18 Jun 2008 16:34:50 +0000 (16:34 +0000)]
Remove test_listener_client to remove possible race condition in the multiprocessing tests