]> granicus.if.org Git - python/log
python
16 years ago#5601: clarify that webbrowser is not meant for file names.
Georg Brandl [Sat, 4 Apr 2009 13:45:49 +0000 (13:45 +0000)]
#5601: clarify that webbrowser is not meant for file names.

16 years ago#5642: clarify map() compatibility to the builtin.
Georg Brandl [Sat, 4 Apr 2009 13:42:39 +0000 (13:42 +0000)]
#5642: clarify map() compatibility to the builtin.

16 years agoReplace the localized min/max calls with normal if/else
Raymond Hettinger [Sat, 4 Apr 2009 08:46:58 +0000 (08:46 +0000)]
Replace the localized min/max calls with normal if/else

16 years agoAllow multiple IDLE GUI/subprocess pairs to exist
Kurt B. Kaiser [Sat, 4 Apr 2009 07:03:48 +0000 (07:03 +0000)]
Allow multiple IDLE GUI/subprocess pairs to exist
simultaneously. Thanks to David Scherer for suggesting
the use of an ephemeral port for the GUI.
Patch 1529142 Weeble.

16 years agoFix error in description of 'oct' (issue 5678).
R. David Murray [Sat, 4 Apr 2009 06:39:56 +0000 (06:39 +0000)]
Fix error in description of 'oct' (issue 5678).

16 years agoAdd helpful link.
Raymond Hettinger [Sat, 4 Apr 2009 05:37:47 +0000 (05:37 +0000)]
Add helpful link.

16 years agoClarified warning about logging use from asynchronous signal handlers.
Vinay Sajip [Fri, 3 Apr 2009 21:58:16 +0000 (21:58 +0000)]
Clarified warning about logging use from asynchronous signal handlers.

16 years agoFix 'the the' duplication
Andrew M. Kuchling [Fri, 3 Apr 2009 21:45:29 +0000 (21:45 +0000)]
Fix 'the the' duplication

16 years agoFix 'the the'; grammar fix
Andrew M. Kuchling [Fri, 3 Apr 2009 21:44:49 +0000 (21:44 +0000)]
Fix 'the the'; grammar fix

16 years agoAdd some items
Andrew M. Kuchling [Fri, 3 Apr 2009 21:43:00 +0000 (21:43 +0000)]
Add some items

16 years agoAdded warning about logging use from asynchronous signal handlers.
Vinay Sajip [Fri, 3 Apr 2009 10:23:18 +0000 (10:23 +0000)]
Added warning about logging use from asynchronous signal handlers.

16 years agoFixed compile error on windows.
Hirokazu Yamamoto [Fri, 3 Apr 2009 03:54:08 +0000 (03:54 +0000)]
Fixed compile error on windows.

16 years agoLocalize the function lookup in timeit.
Raymond Hettinger [Fri, 3 Apr 2009 02:43:54 +0000 (02:43 +0000)]
Localize the function lookup in timeit.

16 years agoUpdate docs for namedtuple's renaming change.
Raymond Hettinger [Thu, 2 Apr 2009 22:34:17 +0000 (22:34 +0000)]
Update docs for namedtuple's renaming change.

16 years agoHave namedtuple's field renamer assign names that
Raymond Hettinger [Thu, 2 Apr 2009 22:25:40 +0000 (22:25 +0000)]
Have namedtuple's field renamer assign names that
are consistent with the corresponding tuple index.

16 years agoIssue #2396: backport the memoryview object.
Antoine Pitrou [Thu, 2 Apr 2009 21:18:34 +0000 (21:18 +0000)]
Issue #2396: backport the memoryview object.

16 years agosys.long_info attributes should be ints, not longs
Mark Dickinson [Thu, 2 Apr 2009 18:39:37 +0000 (18:39 +0000)]
sys.long_info attributes should be ints, not longs

16 years agoPyErr_NormalizeException may not set an error, so convert the PyErr_SetObject
Georg Brandl [Thu, 2 Apr 2009 18:09:04 +0000 (18:09 +0000)]
PyErr_NormalizeException may not set an error, so convert the PyErr_SetObject
call on hitting the recursion limit into just assigning it to the arguments provided.

16 years agoActually the displayhook should print the repr.
Georg Brandl [Thu, 2 Apr 2009 17:43:07 +0000 (17:43 +0000)]
Actually the displayhook should print the repr.

16 years agoAdd missing iteritems() call to the for loop in mailbox.MH.get_message().
R. David Murray [Thu, 2 Apr 2009 14:05:35 +0000 (14:05 +0000)]
Add missing iteritems() call to the for loop in mailbox.MH.get_message().

Fixes issue2625.

16 years agoStore the functions in the _type_equality_funcs as wrapped objects that are deep...
Michael Foord [Thu, 2 Apr 2009 05:51:54 +0000 (05:51 +0000)]
Store the functions in the _type_equality_funcs as wrapped objects that are deep copyable.

This allows for the deep copying of TestCase instances.

Issue 5660

16 years agoAdd custom initializer argument to multiprocess.Manager*, courtesy of lekma
Jesse Noller [Thu, 2 Apr 2009 05:17:26 +0000 (05:17 +0000)]
Add custom initializer argument to multiprocess.Manager*, courtesy of lekma

16 years agoClarify that datetime strftime does not produce leap seconds and datetime
R. David Murray [Thu, 2 Apr 2009 04:34:04 +0000 (04:34 +0000)]
Clarify that datetime strftime does not produce leap seconds and datetime
strptime does not accept it in the strftime behavior section of the
datetime docs.

Closes issue 2568.

16 years agoIssue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCES
Jesse Noller [Thu, 2 Apr 2009 04:22:09 +0000 (04:22 +0000)]
Issue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCES

16 years agoFix two issues introduced by issue #71031 by changing the signature of
Brett Cannon [Thu, 2 Apr 2009 03:34:53 +0000 (03:34 +0000)]
Fix two issues introduced by issue #71031 by changing the signature of
PyImport_AppendInittab() to take a const char *.

16 years agoBetter exception messages for unittest assert methods.
Michael Foord [Thu, 2 Apr 2009 03:20:38 +0000 (03:20 +0000)]
Better exception messages for unittest assert methods.

- unittest.assertNotEqual() now uses the inequality operator (!=) instead
  of the equality operator.

- Default assertTrue and assertFalse messages are now useful.

- TestCase has a longMessage attribute. This defaults to False, but if set to True
  useful error messages are shown in addition to explicit messages passed to assert methods.

Issue #5663

16 years agoPyImport_AppendInittab() took a char * as a first argument even though that
Brett Cannon [Thu, 2 Apr 2009 03:17:39 +0000 (03:17 +0000)]
PyImport_AppendInittab() took a char * as a first argument even though that
string was stored beyond the life of the call. Changed the signature to be
const char * to help make this point.

Closes issue #1419652.

16 years agoFixing the issue4860. Escaping embedded '"' character in js_output() method of Morsel.
Senthil Kumaran [Thu, 2 Apr 2009 03:00:34 +0000 (03:00 +0000)]
Fixing the issue4860. Escaping embedded '"' character in js_output() method of Morsel.

16 years agofix error handling
Benjamin Peterson [Thu, 2 Apr 2009 02:52:46 +0000 (02:52 +0000)]
fix error handling

16 years agoIn PyErr_GivenExceptionMatches, temporarily bump the recursion
Georg Brandl [Thu, 2 Apr 2009 02:47:44 +0000 (02:47 +0000)]
In PyErr_GivenExceptionMatches, temporarily bump the recursion
limit, so that in the most common case PyObject_IsSubclass will
not raise a recursion error we have to ignore anyway.

16 years agoRemove port spec from run.py and fix bug where
Kurt B. Kaiser [Thu, 2 Apr 2009 02:44:54 +0000 (02:44 +0000)]
Remove port spec from run.py and fix bug where
subprocess fails to extract port from command line
when warnings are present.

16 years agoIssue 3110: Additional protection for SEM_VALUE_MAX on platforms, thanks to Martin...
Jesse Noller [Thu, 2 Apr 2009 02:32:55 +0000 (02:32 +0000)]
Issue 3110: Additional protection for SEM_VALUE_MAX on platforms, thanks to Martin Loewis

16 years agoFix test_doctest, missed two assignments to curframe.
Georg Brandl [Thu, 2 Apr 2009 02:00:01 +0000 (02:00 +0000)]
Fix test_doctest, missed two assignments to curframe.

16 years agohandle SEEK_ constants in test_io
Benjamin Peterson [Thu, 2 Apr 2009 01:03:17 +0000 (01:03 +0000)]
handle SEEK_ constants in test_io

16 years agothis should be :noindex:
Benjamin Peterson [Thu, 2 Apr 2009 00:12:47 +0000 (00:12 +0000)]
this should be :noindex:

16 years agofix markup
Benjamin Peterson [Thu, 2 Apr 2009 00:11:52 +0000 (00:11 +0000)]
fix markup

16 years agoissue5545: Switch to Autoconf for multiprocessing; special thanks to Martin Lowis...
Jesse Noller [Thu, 2 Apr 2009 00:03:28 +0000 (00:03 +0000)]
issue5545: Switch to Autoconf for multiprocessing; special thanks to Martin Lowis for help

16 years agoTypo fix
Andrew M. Kuchling [Thu, 2 Apr 2009 00:02:14 +0000 (00:02 +0000)]
Typo fix

16 years agoCache the f_locals dict of the current frame, since every access to frame.f_locals...
Georg Brandl [Wed, 1 Apr 2009 23:32:17 +0000 (23:32 +0000)]
Cache the f_locals dict of the current frame, since every access to frame.f_locals overrides its contents with the real locals which undoes modifications made by the debugging user.

16 years agoremove double underscores
Benjamin Peterson [Wed, 1 Apr 2009 23:15:49 +0000 (23:15 +0000)]
remove double underscores

16 years agoAdd my initials to Misc/developers.txt. Names are now sorted by number of
Brett Cannon [Wed, 1 Apr 2009 23:01:12 +0000 (23:01 +0000)]
Add my initials to Misc/developers.txt. Names are now sorted by number of
characters in the person's name.

16 years agoIn Pdb, stop assigning values to __builtin__._ which interferes with the one commonly...
Georg Brandl [Wed, 1 Apr 2009 21:54:21 +0000 (21:54 +0000)]
In Pdb, stop assigning values to __builtin__._ which interferes with the one commonly installed by gettext.

16 years agoAdd tests checking the CSV module's ability to handle
R. David Murray [Wed, 1 Apr 2009 21:26:18 +0000 (21:26 +0000)]
Add tests checking the CSV module's ability to handle
embedded newlines in quoted field values.

16 years agoadd seek constants to __all__
Benjamin Peterson [Wed, 1 Apr 2009 21:12:54 +0000 (21:12 +0000)]
add seek constants to __all__

16 years agoRevert accidental checkin.
Georg Brandl [Wed, 1 Apr 2009 21:06:30 +0000 (21:06 +0000)]
Revert accidental checkin.

16 years agoAdd NEWS item.
Georg Brandl [Wed, 1 Apr 2009 21:05:44 +0000 (21:05 +0000)]
Add NEWS item.

16 years ago#4572: add SEEK_* values as constants in io.py.
Georg Brandl [Wed, 1 Apr 2009 21:00:55 +0000 (21:00 +0000)]
#4572: add SEEK_* values as constants in io.py.

16 years agoAdd link to an alternative generator with a long-period.
Raymond Hettinger [Wed, 1 Apr 2009 20:50:58 +0000 (20:50 +0000)]
Add link to an alternative generator with a long-period.

16 years agoFix for issue5040. Adding test for Content-Length
Senthil Kumaran [Wed, 1 Apr 2009 20:26:33 +0000 (20:26 +0000)]
Fix for issue5040. Adding test for Content-Length

16 years agobounds check arguments to mmap.move(). All of them. Really.
Jack Diederich [Wed, 1 Apr 2009 20:26:13 +0000 (20:26 +0000)]
bounds check arguments to mmap.move().  All of them.  Really.
fixes crasher on OS X 10.5

16 years agotest_warnings ironically had a single test that was not protecting the warnings
Brett Cannon [Wed, 1 Apr 2009 20:25:48 +0000 (20:25 +0000)]
test_warnings ironically had a single test that was not protecting the warnings
filter and was resetting it.

16 years agotest_logging was blindly clearing the warnings filter. This caused
Brett Cannon [Wed, 1 Apr 2009 19:57:10 +0000 (19:57 +0000)]
test_logging was blindly clearing the warnings filter. This caused
PendingDeprecationWarnings to be spewed all over by unittest.failIf*(). Fix
moves over to using warnings.catch_warning to protect the warnings filter.

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)