]> granicus.if.org Git - python/log
python
16 years agoIssue #5647: MutableSet.__iand__() no longer mutates self during iteration.
Raymond Hettinger [Wed, 1 Apr 2009 18:50:56 +0000 (18:50 +0000)]
Issue #5647: MutableSet.__iand__() no longer mutates self during iteration.

16 years agoAdding Wing project file
Michael Foord [Wed, 1 Apr 2009 18:25:38 +0000 (18:25 +0000)]
Adding Wing project file

16 years ago_warnings was importing itself to get an attribute. That's bad if warnings gets
Brett Cannon [Wed, 1 Apr 2009 18:03:59 +0000 (18:03 +0000)]
_warnings was importing itself to get an attribute. That's bad if warnings gets
called in a thread that was spawned by an import itself.

Last part to close #1665206.

16 years agoPaul Kippes was given commit privileges to work on 3to2.
Brett Cannon [Wed, 1 Apr 2009 17:52:13 +0000 (17:52 +0000)]
Paul Kippes was given commit privileges to work on 3to2.

16 years ago#5655: fix docstring oversight.
Georg Brandl [Wed, 1 Apr 2009 17:46:01 +0000 (17:46 +0000)]
#5655: fix docstring oversight.

16 years agoRon DuPlain was given commit privileges at PyCon 2009 to work on 3to2.
Brett Cannon [Wed, 1 Apr 2009 17:07:16 +0000 (17:07 +0000)]
Ron DuPlain was given commit privileges at PyCon 2009 to work on 3to2.

16 years agoIssue 3270: document Listener address restrictions on windows
Jesse Noller [Wed, 1 Apr 2009 16:42:19 +0000 (16:42 +0000)]
Issue 3270: document Listener address restrictions on windows

16 years agohttp://bugs.python.org/issue5623
Kristján Valur Jónsson [Wed, 1 Apr 2009 16:08:34 +0000 (16:08 +0000)]
http://bugs.python.org/issue5623
Dynamically discoverd the size of the ioinfo struct used by the crt for its file descriptors.  This should work across all flavors of the CRT.  Thanks to Amaury Forgeot d'Arc
Needs porting to 3.1

16 years agoThe cgitb module had imports in its functions. This can cause deadlock with the
Brett Cannon [Wed, 1 Apr 2009 16:00:34 +0000 (16:00 +0000)]
The cgitb module had imports in its functions. This can cause deadlock with the
import lock if called from within a thread that was triggered by an import.

Partially fixes issue #1665206.

16 years agoFix test_xmlrpc and make the CGI handler work with no CONTENT_LENGTH.
Georg Brandl [Wed, 1 Apr 2009 15:23:43 +0000 (15:23 +0000)]
Fix test_xmlrpc and make the CGI handler work with no CONTENT_LENGTH.

16 years agoFixed compile error on windows.
Hirokazu Yamamoto [Wed, 1 Apr 2009 15:13:52 +0000 (15:13 +0000)]
Fixed compile error on windows.

16 years agoAdd Maksim, who worked on several issues at the sprint.
Georg Brandl [Wed, 1 Apr 2009 14:02:27 +0000 (14:02 +0000)]
Add Maksim, who worked on several issues at the sprint.

16 years ago#5631: add upload to list of possible commands, which is presented in --help-commands.
Georg Brandl [Wed, 1 Apr 2009 04:32:39 +0000 (04:32 +0000)]
#5631: add upload to list of possible commands, which is presented in --help-commands.

16 years agoThe SimpleXMLRPCServer's CGI handler now runs like a pony.
Georg Brandl [Wed, 1 Apr 2009 04:21:14 +0000 (04:21 +0000)]
The SimpleXMLRPCServer's CGI handler now runs like a pony.

16 years agoFix multiprocessing.event to match the new threading.Event API
Jesse Noller [Wed, 1 Apr 2009 03:45:50 +0000 (03:45 +0000)]
Fix multiprocessing.event to match the new threading.Event API

16 years agoFix issue 2522. locale.format now checks that it is passed
R. David Murray [Wed, 1 Apr 2009 03:21:43 +0000 (03:21 +0000)]
Fix issue 2522.  locale.format now checks that it is passed
exactly one pattern, which avoids mysterious errors where it
had seemed to fail to do localization.

16 years agoFix for failing asyncore tests.
Josiah Carlson [Wed, 1 Apr 2009 01:28:11 +0000 (01:28 +0000)]
Fix for failing asyncore tests.

16 years agoIssue #5635: Fix running test_sys with tracing enabled.
Georg Brandl [Wed, 1 Apr 2009 00:04:33 +0000 (00:04 +0000)]
Issue #5635: Fix running test_sys with tracing enabled.

16 years ago#5228: add pickle support to functools.partial
Jack Diederich [Tue, 31 Mar 2009 23:46:48 +0000 (23:46 +0000)]
#5228: add pickle support to functools.partial

16 years agoFix Windows test skip error revealed by buildbot. Also a comment spelling
R. David Murray [Tue, 31 Mar 2009 23:45:39 +0000 (23:45 +0000)]
Fix Windows test skip error revealed by buildbot.  Also a comment spelling
correction in a previously fixed test.

16 years agoDont shout to users.
Georg Brandl [Tue, 31 Mar 2009 23:01:27 +0000 (23:01 +0000)]
Dont shout to users.

16 years agofixed the test for win32 CompileError
Tarek Ziadé [Tue, 31 Mar 2009 22:47:01 +0000 (22:47 +0000)]
fixed the test for win32 CompileError

16 years agocatching msvc9compiler error as well
Tarek Ziadé [Tue, 31 Mar 2009 22:44:10 +0000 (22:44 +0000)]
catching msvc9compiler error as well

16 years agoImprove examples for collections.deque()
Raymond Hettinger [Tue, 31 Mar 2009 22:43:03 +0000 (22:43 +0000)]
Improve examples for collections.deque()

16 years ago#5018: remove confusing paragraph.
Georg Brandl [Tue, 31 Mar 2009 22:40:16 +0000 (22:40 +0000)]
#5018: remove confusing paragraph.

16 years ago#5617: add a handy function to print a unicode string to gdbinit.
Georg Brandl [Tue, 31 Mar 2009 22:35:46 +0000 (22:35 +0000)]
#5617: add a handy function to print a unicode string to gdbinit.

16 years ago#5583 Added optional Extensions in Distutils
Tarek Ziadé [Tue, 31 Mar 2009 22:27:23 +0000 (22:27 +0000)]
#5583 Added optional Extensions in Distutils

16 years agoIssue 5619: Pass MS CRT debug flags into subprocesses
Jesse Noller [Tue, 31 Mar 2009 22:20:35 +0000 (22:20 +0000)]
Issue 5619: Pass MS CRT debug flags into subprocesses

16 years ago#3427: document correct return type for urlopen().info().
Georg Brandl [Tue, 31 Mar 2009 22:18:19 +0000 (22:18 +0000)]
#3427: document correct return type for urlopen().info().

16 years ago#1651995: fix _convert_ref for non-ASCII characters.
Georg Brandl [Tue, 31 Mar 2009 22:11:53 +0000 (22:11 +0000)]
#1651995: fix _convert_ref for non-ASCII characters.

16 years ago#5563: more documentation for bdist_msi.
Georg Brandl [Tue, 31 Mar 2009 22:03:40 +0000 (22:03 +0000)]
#5563: more documentation for bdist_msi.

16 years agoMade handle_expt_event() be called last, so that we don't accidentally read
Josiah Carlson [Tue, 31 Mar 2009 21:49:36 +0000 (21:49 +0000)]
Made handle_expt_event() be called last, so that we don't accidentally read
after closing the socket.

16 years ago#1676135: remove trailing slashes from --prefix argument.
Georg Brandl [Tue, 31 Mar 2009 21:45:18 +0000 (21:45 +0000)]
#1676135: remove trailing slashes from --prefix argument.

16 years ago#1675026: add a note about a strange Windows problem, and remove notes about AtheOS.
Georg Brandl [Tue, 31 Mar 2009 21:43:03 +0000 (21:43 +0000)]
#1675026: add a note about a strange Windows problem, and remove notes about AtheOS.

16 years agoRemove warning about pending Win9x support removal.
Georg Brandl [Tue, 31 Mar 2009 21:40:24 +0000 (21:40 +0000)]
Remove warning about pending Win9x support removal.

16 years agofix Thread.ident when it is the main thread or a dummy thread #5632
Benjamin Peterson [Tue, 31 Mar 2009 21:34:42 +0000 (21:34 +0000)]
fix Thread.ident when it is the main thread or a dummy thread #5632

16 years ago#5598: document DocFileSuite *args argument.
Georg Brandl [Tue, 31 Mar 2009 21:15:33 +0000 (21:15 +0000)]
#5598: document DocFileSuite *args argument.

16 years agotake the usual lock precautions around _active_limbo_lock
Benjamin Peterson [Tue, 31 Mar 2009 21:06:30 +0000 (21:06 +0000)]
take the usual lock precautions around _active_limbo_lock

16 years ago#1530012: move TQS section before raw strings.
Georg Brandl [Tue, 31 Mar 2009 20:56:32 +0000 (20:56 +0000)]
#1530012: move TQS section before raw strings.

16 years agomaking sdist and config test silents
Tarek Ziadé [Tue, 31 Mar 2009 20:56:11 +0000 (20:56 +0000)]
making sdist and config test silents

16 years agoadded tests to the install_headers command
Tarek Ziadé [Tue, 31 Mar 2009 20:55:21 +0000 (20:55 +0000)]
added tests to the install_headers command

16 years agoadded test to the install_data command
Tarek Ziadé [Tue, 31 Mar 2009 20:54:38 +0000 (20:54 +0000)]
added test to the install_data command

16 years agomore tests for the upload command
Tarek Ziadé [Tue, 31 Mar 2009 20:53:55 +0000 (20:53 +0000)]
more tests for the upload command

16 years agomore tests for the register command
Tarek Ziadé [Tue, 31 Mar 2009 20:53:13 +0000 (20:53 +0000)]
more tests for the register command

16 years agoadded tests for the clean command
Tarek Ziadé [Tue, 31 Mar 2009 20:50:59 +0000 (20:50 +0000)]
added tests for the clean command

16 years agousing log.warn for sys.stderr
Tarek Ziadé [Tue, 31 Mar 2009 20:48:31 +0000 (20:48 +0000)]
using log.warn for sys.stderr

16 years ago#1674032: return value of flag from Event.wait(). OKed by Guido.
Georg Brandl [Tue, 31 Mar 2009 20:41:08 +0000 (20:41 +0000)]
#1674032: return value of flag from Event.wait(). OKed by Guido.

16 years agoIssue #5387: Fixed mmap.move crash by integer overflow. (take2)
Hirokazu Yamamoto [Tue, 31 Mar 2009 20:14:04 +0000 (20:14 +0000)]
Issue #5387: Fixed mmap.move crash by integer overflow. (take2)

16 years agoIssue an actual PendingDeprecationWarning for the TestCase.fail* methods.
Gregory P. Smith [Tue, 31 Mar 2009 19:59:14 +0000 (19:59 +0000)]
Issue an actual PendingDeprecationWarning for the TestCase.fail* methods.
Document the deprecation.

16 years agoAdd NEWS entry for regrtest change.
R. David Murray [Tue, 31 Mar 2009 19:57:24 +0000 (19:57 +0000)]
Add NEWS entry for regrtest change.

16 years agoRemove the regrtest check that turns any ImportError into a skipped test.
R. David Murray [Tue, 31 Mar 2009 19:49:15 +0000 (19:49 +0000)]
Remove the regrtest check that turns any ImportError into a skipped test.
Hopefully all modules whose imports legitimately result in a skipped
test have been properly wrapped by the previous commits.

16 years agoImprove test_support.import_module docstring, remove
R. David Murray [Tue, 31 Mar 2009 19:33:15 +0000 (19:33 +0000)]
Improve test_support.import_module docstring, remove
deprecated flag from get_attribute since it isn't likely
to do anything useful.

16 years agoThis resolves issue 1161031. Tests pass.
Josiah Carlson [Tue, 31 Mar 2009 19:32:34 +0000 (19:32 +0000)]
This resolves issue 1161031.  Tests pass.

16 years agoDelete out-of-date and little-known README from the test
R. David Murray [Tue, 31 Mar 2009 19:31:17 +0000 (19:31 +0000)]
Delete out-of-date and little-known README from the test
directory by consensus of devs at pycon sprint.

16 years ago#5618: fix typo.
Georg Brandl [Tue, 31 Mar 2009 19:30:56 +0000 (19:30 +0000)]
#5618: fix typo.

16 years ago#4411: document mro() and __mro__. (I hope I got it right.)
Georg Brandl [Tue, 31 Mar 2009 19:26:24 +0000 (19:26 +0000)]
#4411: document mro() and __mro__. (I hope I got it right.)

16 years agoFix-up unwanted change.
Georg Brandl [Tue, 31 Mar 2009 19:14:42 +0000 (19:14 +0000)]
Fix-up unwanted change.

16 years ago#5190: export make_option in __all__.
Georg Brandl [Tue, 31 Mar 2009 19:12:17 +0000 (19:12 +0000)]
#5190: export make_option in __all__.

16 years ago#1096310: document usage of sys.__std*__ a bit better.
Georg Brandl [Tue, 31 Mar 2009 19:10:35 +0000 (19:10 +0000)]
#1096310: document usage of sys.__std*__ a bit better.

16 years ago#4882: document named group behavior a bit better.
Georg Brandl [Tue, 31 Mar 2009 19:06:57 +0000 (19:06 +0000)]
#4882: document named group behavior a bit better.

16 years agoRename the actual method definitions to the official assertFoo names.
Gregory P. Smith [Tue, 31 Mar 2009 19:03:28 +0000 (19:03 +0000)]
Rename the actual method definitions to the official assertFoo names.

Adds unittests to make sure the old fail* names continue to work now
and adds a comment that they are pending deprecation.

Also adds a test to confirm that the plural Equals method variants
continue to exist even though we're unlikely to deprecate those.

http://bugs.python.org/issue2578

16 years ago#5241: document missing U in regex howto.
Georg Brandl [Tue, 31 Mar 2009 18:38:56 +0000 (18:38 +0000)]
#5241: document missing U in regex howto.

16 years ago#5227: note that Py_Main doesnt return on SystemExit.
Georg Brandl [Tue, 31 Mar 2009 18:33:10 +0000 (18:33 +0000)]
#5227: note that Py_Main doesnt return on SystemExit.

16 years agoA few more test skips via import_module, and change import_module to
R. David Murray [Tue, 31 Mar 2009 18:32:17 +0000 (18:32 +0000)]
A few more test skips via import_module, and change import_module to
return the error message produced by importlib, so that if an import
in the package whose import is being wrapped is what failed the skip
message will contain the name of that module instead of the name of the
wrapped module.  Also fixed formatting of some previous comments.

16 years ago#5245: note that PyRun_SimpleString doesnt return on SystemExit.
Georg Brandl [Tue, 31 Mar 2009 18:30:37 +0000 (18:30 +0000)]
#5245: note that PyRun_SimpleString doesnt return on SystemExit.

16 years agomissed the news/acks for netbsd patch
Jesse Noller [Tue, 31 Mar 2009 18:27:14 +0000 (18:27 +0000)]
missed the news/acks for netbsd patch

16 years ago#837577: note cryptic return value of spawn*e on invalid env dicts.
Georg Brandl [Tue, 31 Mar 2009 18:26:55 +0000 (18:26 +0000)]
#837577: note cryptic return value of spawn*e on invalid env dicts.

16 years agoApply patch for netbsd multiprocessing support
Jesse Noller [Tue, 31 Mar 2009 18:12:35 +0000 (18:12 +0000)]
Apply patch for netbsd multiprocessing support

16 years agoPer the language summit, the optional fastpath imports should use from-import-star.
Raymond Hettinger [Tue, 31 Mar 2009 17:47:06 +0000 (17:47 +0000)]
Per the language summit, the optional fastpath imports should use from-import-star.

16 years ago#970783: document PyObject_Generic[GS]etAttr.
Georg Brandl [Tue, 31 Mar 2009 17:13:06 +0000 (17:13 +0000)]
#970783: document PyObject_Generic[GS]etAttr.

16 years ago#992207: document that the parser only accepts \\n newlines.
Georg Brandl [Tue, 31 Mar 2009 16:54:38 +0000 (16:54 +0000)]
#992207: document that the parser only accepts \\n newlines.

16 years agoThe unittest.TestCase.assertEqual() now displays the differences in lists,
Gregory P. Smith [Tue, 31 Mar 2009 16:54:10 +0000 (16:54 +0000)]
The unittest.TestCase.assertEqual() now displays the differences in lists,
tuples, dicts and sets on failure.

Many new handy type and comparison specific assert* methods have been added
that fail with error messages actually useful for debugging.  Contributed in
by Google and completed with help from mfoord and GvR at PyCon 2009 sprints.

Discussion lives in http://bugs.python.org/issue2578.

16 years ago#5417: replace references to undocumented functions by ones to documented functions.
Georg Brandl [Tue, 31 Mar 2009 16:50:25 +0000 (16:50 +0000)]
#5417: replace references to undocumented functions by ones to documented functions.

16 years ago#1386675: specify WindowsError as the exception, because it has a winerror attribute...
Georg Brandl [Tue, 31 Mar 2009 16:31:11 +0000 (16:31 +0000)]
#1386675: specify WindowsError as the exception, because it has a winerror attribute that EnvironmentError doesnt have.

16 years ago#5529: backport new docs of import semantics written by Brett to 2.x.
Georg Brandl [Tue, 31 Mar 2009 16:11:45 +0000 (16:11 +0000)]
#5529: backport new docs of import semantics written by Brett to 2.x.

16 years ago#5581: fget argument of abstractproperty is optional as well.
Georg Brandl [Tue, 31 Mar 2009 15:50:16 +0000 (15:50 +0000)]
#5581: fget argument of abstractproperty is optional as well.

16 years ago#5566: fix versionadded from PyLong ssize_t functions.
Georg Brandl [Tue, 31 Mar 2009 15:46:30 +0000 (15:46 +0000)]
#5566: fix versionadded from PyLong ssize_t functions.

16 years ago#5519: remove reference to Kodos, which seems dead.
Georg Brandl [Tue, 31 Mar 2009 15:43:20 +0000 (15:43 +0000)]
#5519: remove reference to Kodos, which seems dead.

16 years agoAdd check for PyDict_Update() error.
Jeremy Hylton [Tue, 31 Mar 2009 15:04:15 +0000 (15:04 +0000)]
Add check for PyDict_Update() error.

16 years agoGlobal statements from one function leaked into parallel functions.
Jeremy Hylton [Tue, 31 Mar 2009 13:48:15 +0000 (13:48 +0000)]
Global statements from one function leaked into parallel functions.

Re http://bugs.python.org/issue4315

The symbol table used the same name dictionaries to recursively
analyze each of its child blocks, even though the dictionaries are
modified during analysis.  The fix is to create new temporary
dictionaries via the analyze_child_block().  The only information that
needs to propagate back up is the names of the free variables.

Add more comments and break out a helper function.  This code doesn't
get any easier to understand when you only look at it once a year.

16 years agoUpdate quicktest to match Python 3 branch
Jeremy Hylton [Tue, 31 Mar 2009 13:31:00 +0000 (13:31 +0000)]
Update quicktest to match Python 3 branch

16 years agoMinor update to OSX build-installer script, needed
Ronald Oussoren [Tue, 31 Mar 2009 13:20:45 +0000 (13:20 +0000)]
Minor update to OSX build-installer script, needed
to ensure that the build will succeed in a clean
checkout and with a non-default deployment target.

16 years agoAdd is_declared_global() which distinguishes between implicit and
Jeremy Hylton [Tue, 31 Mar 2009 13:17:03 +0000 (13:17 +0000)]
Add is_declared_global() which distinguishes between implicit and
explicit global variables.

16 years agoIssue #5387: Fixed mmap.move crash by integer overflow.
Hirokazu Yamamoto [Tue, 31 Mar 2009 13:13:05 +0000 (13:13 +0000)]
Issue #5387: Fixed mmap.move crash by integer overflow.

16 years agoadd JoinableQueue to __all__
Jesse Noller [Tue, 31 Mar 2009 03:31:16 +0000 (03:31 +0000)]
add JoinableQueue to __all__

16 years agoFix a wrong struct field assignment (docstring as closure).
Georg Brandl [Tue, 31 Mar 2009 01:25:15 +0000 (01:25 +0000)]
Fix a wrong struct field assignment (docstring as closure).

16 years agoAdd various items
Andrew M. Kuchling [Tue, 31 Mar 2009 01:21:01 +0000 (01:21 +0000)]
Add various items

16 years agomerge in patch from tim golden to fix contextmanager support for mp.Lock()
Jesse Noller [Mon, 30 Mar 2009 23:29:31 +0000 (23:29 +0000)]
merge in patch from tim golden to fix contextmanager support for mp.Lock()

16 years agoActually suppress warnings in test_at_least_import_untested_modules
R. David Murray [Mon, 30 Mar 2009 23:10:37 +0000 (23:10 +0000)]
Actually suppress warnings in test_at_least_import_untested_modules
inside the catch_warnings context manager.

16 years agoFix issue #4865: add /Library/Python/2.7/site-packages to
Ronald Oussoren [Mon, 30 Mar 2009 23:10:35 +0000 (23:10 +0000)]
Fix issue #4865: add /Library/Python/2.7/site-packages to
sys.path on OSX, to make it easier to share (some) installed
packages between the system install and a user install.

16 years agoAdd more items
Andrew M. Kuchling [Mon, 30 Mar 2009 23:09:46 +0000 (23:09 +0000)]
Add more items

16 years agotypo fix
Andrew M. Kuchling [Mon, 30 Mar 2009 23:08:24 +0000 (23:08 +0000)]
typo fix

16 years agoChange more tests to use import_module for the modules that
R. David Murray [Mon, 30 Mar 2009 23:05:48 +0000 (23:05 +0000)]
Change more tests to use import_module for the modules that
should cause tests to be skipped.  Also rename import_function
to the more descriptive get_attribute and add a docstring.

16 years ago#5039: make it clear that the impl. note refers to CPython.
Georg Brandl [Mon, 30 Mar 2009 22:43:00 +0000 (22:43 +0000)]
#5039: make it clear that the impl. note refers to CPython.

16 years agoA fix for issue 1974, inspired by the patch from Andi Albrecht (aalbrecht),
Barry Warsaw [Mon, 30 Mar 2009 22:42:17 +0000 (22:42 +0000)]
A fix for issue 1974, inspired by the patch from Andi Albrecht (aalbrecht),
though with some changes by me.  This patch should not be back ported or
forward ported.  It's a bit too risky for 2.6 and 3.x does things fairly
differently.

16 years agoMany edits
Andrew M. Kuchling [Mon, 30 Mar 2009 22:31:11 +0000 (22:31 +0000)]
Many edits

16 years agoAdd several items and placeholders
Andrew M. Kuchling [Mon, 30 Mar 2009 22:30:20 +0000 (22:30 +0000)]
Add several items and placeholders

16 years agoRemove comment
Andrew M. Kuchling [Mon, 30 Mar 2009 22:29:53 +0000 (22:29 +0000)]
Remove comment

16 years agoTypo fixes
Andrew M. Kuchling [Mon, 30 Mar 2009 22:29:15 +0000 (22:29 +0000)]
Typo fixes

16 years ago#5199: make warning about vars() assignment more visible.
Georg Brandl [Mon, 30 Mar 2009 22:09:34 +0000 (22:09 +0000)]
#5199: make warning about vars() assignment more visible.