Commit Graph

4186 Commits

Author SHA1 Message Date
R. David Murray 0374a82f75 Issue #2170: refactored xml.dom.minidom.normalize, increasing both
its clarity and its speed.
2009-04-09 21:54:50 +00:00
Tarek Ziadé ad95826c33 Fixed #5731: Distutils bdist_wininst no longer worked on non-Windows platforms 2009-04-09 21:36:44 +00:00
Andrew M. Kuchling 5963185b23 Typo fixes 2009-04-09 11:23:36 +00:00
Benjamin Peterson ee42545884 see if this helps the doc builds 2009-04-06 22:53:29 +00:00
Gregory P. Smith 923ba361d8 - Issue #2254: Fix CGIHTTPServer information disclosure. Relative paths are
now collapsed within the url properly before looking in cgi_directories.
2009-04-06 06:33:26 +00:00
Gregory P. Smith 2b3eb37f92 news entry for r71299. 2009-04-05 23:48:26 +00:00
Tarek Ziadé 64408fb4c5 Fixed #5095: msi missing from Distutils bdist formats 2009-04-05 22:51:09 +00:00
Tarek Ziadé faa6b121fb Fixed #1491431: distutils.filelist.glob_to_re was broken for some edge cases (detailed in the test 2009-04-05 21:44:08 +00:00
Matthias Klose 91a3b9e4f0 Issue #1113244: Py_XINCREF, Py_DECREF, Py_XDECREF: Add `do { ... } while (0)'
to avoid compiler warnings.
2009-04-05 21:19:13 +00:00
Matthias Klose a5d58c831f - Issue #2703: SimpleXMLRPCDispatcher.__init__: Provide default values for
new arguments introduced in 2.5.
2009-04-05 21:00:48 +00:00
Georg Brandl 29c6a281b1 Normalize issue referencing style. 2009-04-05 20:23:13 +00:00
Michael Foord f2dfef1637 Adding assertIs and assertIsNot methods to unittest.TestCase
Issue #2578
2009-04-05 19:19:28 +00:00
Tarek Ziadé 453d953f3e Fixed 5694: removed spurious test output in Distutils 2009-04-05 18:31:24 +00:00
Georg Brandl 3f0ef20269 #5471: fix expanduser() for $HOME set to "/". 2009-04-05 14:48:49 +00:00
Georg Brandl 1956d5c15f Add NEWS entry for r71237. 2009-04-05 14:25:41 +00:00
Matthias Klose 0610e0808b - Py_DECREF: Add `do { ... } while (0)' to avoid compiler warnings.
(avoiding brown paper typo this time)
2009-04-05 12:43:08 +00:00
Georg Brandl 50ba6e1b50 #1726172: dont raise an unexpected IndexError if a voidresp() call has an empty response. 2009-04-05 10:48:47 +00:00
Benjamin Peterson ea0d7444c8 revert r71159 since it broke the build 2009-04-04 16:05:51 +00:00
Matthias Klose 8212a82371 - Py_DECREF: Add `do { ... } while (0)' to avoid compiler warnings. 2009-04-04 15:51:23 +00:00
Matthias Klose edb5e1e09e - Issue #3845: In PyRun_SimpleFileExFlags avoid invalid memory access with
short file names.
2009-04-04 14:18:13 +00:00
Antoine Pitrou 789be0c0a0 Issue #2396: backport the memoryview object. 2009-04-02 21:18:34 +00:00
Georg Brandl d3f03fa715 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.
2009-04-02 18:09:04 +00:00
R. David Murray 52720c5455 Add missing iteritems() call to the for loop in mailbox.MH.get_message().
Fixes issue2625.
2009-04-02 14:05:35 +00:00
Jesse Noller 7152f6d915 Add custom initializer argument to multiprocess.Manager*, courtesy of lekma 2009-04-02 05:17:26 +00:00
Jesse Noller 5053fbbb38 Issue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCES 2009-04-02 04:22:09 +00:00
Michael Foord 345b2fe21e 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
2009-04-02 03:20:38 +00:00
Brett Cannon c4f90ebea7 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.
2009-04-02 03:17:39 +00:00
Jesse Noller b502bc7a1a Issue 3110: Additional protection for SEM_VALUE_MAX on platforms, thanks to Martin Loewis 2009-04-02 02:32:55 +00:00
Brett Cannon 6471733e1d Add my initials to Misc/developers.txt. Names are now sorted by number of
characters in the person's name.
2009-04-01 23:01:12 +00:00
Georg Brandl 58b8b95cdb In Pdb, stop assigning values to __builtin__._ which interferes with the one commonly installed by gettext. 2009-04-01 21:54:21 +00:00
Georg Brandl 5942b91759 Add NEWS item. 2009-04-01 21:05:44 +00:00
Brett Cannon ce3d221447 test_warnings ironically had a single test that was not protecting the warnings
filter and was resetting it.
2009-04-01 20:25:48 +00:00
Brett Cannon 2da4d628a5 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.
2009-04-01 19:57:10 +00:00
Raymond Hettinger 66c4a6b51c Issue #5647: MutableSet.__iand__() no longer mutates self during iteration. 2009-04-01 18:50:56 +00:00
Michael Foord 449b7d95d4 Adding Wing project file 2009-04-01 18:25:38 +00:00
Brett Cannon 15ba4dae5a _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.
2009-04-01 18:03:59 +00:00
Brett Cannon 24565d296c Paul Kippes was given commit privileges to work on 3to2. 2009-04-01 17:52:13 +00:00
Brett Cannon d5cc025e1c Ron DuPlain was given commit privileges at PyCon 2009 to work on 3to2. 2009-04-01 17:07:16 +00:00
Brett Cannon ad078a0d7a 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.
2009-04-01 16:00:34 +00:00
Georg Brandl 6f0e8353af Add Maksim, who worked on several issues at the sprint. 2009-04-01 14:02:27 +00:00
Georg Brandl e92d4b6f57 The SimpleXMLRPCServer's CGI handler now runs like a pony. 2009-04-01 04:21:14 +00:00
R. David Murray a83da3507f 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.
2009-04-01 03:21:43 +00:00
Georg Brandl d8fb6ac9da Issue #5635: Fix running test_sys with tracing enabled. 2009-04-01 00:04:33 +00:00
Jack Diederich d60c29ed8b #5228: add pickle support to functools.partial 2009-03-31 23:46:48 +00:00
Georg Brandl 44fb2a9314 #5617: add a handy function to print a unicode string to gdbinit. 2009-03-31 22:35:46 +00:00
Tarek Ziadé 9e47ce49a0 #5583 Added optional Extensions in Distutils 2009-03-31 22:27:23 +00:00
Jesse Noller 42f9b4e5b4 Issue 5619: Pass MS CRT debug flags into subprocesses 2009-03-31 22:20:35 +00:00
Benjamin Peterson d906ea62c8 fix Thread.ident when it is the main thread or a dummy thread #5632 2009-03-31 21:34:42 +00:00
R. David Murray 41448c58d2 Add NEWS entry for regrtest change. 2009-03-31 19:57:24 +00:00
Jesse Noller 1f0a55523f missed the news/acks for netbsd patch 2009-03-31 18:27:14 +00:00