]>
granicus.if.org Git - python/log
Antoine Pitrou [Fri, 5 Nov 2010 22:18:28 +0000 (22:18 +0000)]
More what's new
Antoine Pitrou [Fri, 5 Nov 2010 22:13:55 +0000 (22:13 +0000)]
Update 3.2 what's new
Antoine Pitrou [Fri, 5 Nov 2010 21:15:39 +0000 (21:15 +0000)]
Issue #10180: Pickling file objects is now explicitly forbidden, since
unpickling them produced nonsensical results.
Antoine Pitrou [Fri, 5 Nov 2010 20:26:59 +0000 (20:26 +0000)]
Output served URL when running ssl_servers
Antoine Pitrou [Fri, 5 Nov 2010 20:17:55 +0000 (20:17 +0000)]
Fix test_httplib when built without threads
Antoine Pitrou [Fri, 5 Nov 2010 19:58:28 +0000 (19:58 +0000)]
Fix bootstrap issues when building without threads
Antoine Pitrou [Fri, 5 Nov 2010 19:47:27 +0000 (19:47 +0000)]
Issue #10311: The signal module now restores errno before returning from
its low-level signal handler. Patch by Hallvard B Furuseth.
Antoine Pitrou [Fri, 5 Nov 2010 19:16:37 +0000 (19:16 +0000)]
Issue #10282: Add a `nntp_implementation` attribute to NNTP objects.
Hirokazu Yamamoto [Fri, 5 Nov 2010 17:24:13 +0000 (17:24 +0000)]
Fixed socket_gethostname() on windows.
David Malcolm [Fri, 5 Nov 2010 17:23:41 +0000 (17:23 +0000)]
Issue #10288: The deprecated family of "char"-handling macros
(ISLOWER()/ISUPPER()/etc) have now been removed: use Py_ISLOWER() etc
instead.
Brian Curtin [Fri, 5 Nov 2010 17:22:46 +0000 (17:22 +0000)]
Close subprocess pipes to clean up ResourceWarnings
Brian Curtin [Fri, 5 Nov 2010 17:09:05 +0000 (17:09 +0000)]
Fix a number of ResourceWarnings on Windows due to open pipes.
Brian Curtin [Fri, 5 Nov 2010 15:47:45 +0000 (15:47 +0000)]
Add socket cleanup for ResourceWarning and update test to use skip decorator
Ezio Melotti [Fri, 5 Nov 2010 15:43:40 +0000 (15:43 +0000)]
Merge the doc for assertTrue/False, assert[Not]AlmostEqual, assert[Not]RegexpMatches, rephrase a couple of paragraphs, and remove redundant doc about the msg arg.
Brian Curtin [Fri, 5 Nov 2010 15:40:27 +0000 (15:40 +0000)]
Fix ResourceWarning from subprocess pipes being left open.
Brian Curtin [Fri, 5 Nov 2010 15:38:47 +0000 (15:38 +0000)]
Fix ResourceWarning from subprocess pipe.
Brian Curtin [Fri, 5 Nov 2010 15:17:11 +0000 (15:17 +0000)]
Close subprocess pipes in _kill. Fixes a number of ResourceWarnings.
Brian Curtin [Fri, 5 Nov 2010 15:04:48 +0000 (15:04 +0000)]
Close subprocess pipes in the non-UNIX section of run_cgi.
Clears a number of ResourceWarnings in test_httpservers.
Brian Curtin [Fri, 5 Nov 2010 14:48:35 +0000 (14:48 +0000)]
Shift the pipe-using code into an else block, then close the pipe
in finally. Removes two ResourceWarnings.
Antoine Pitrou [Fri, 5 Nov 2010 12:23:55 +0000 (12:23 +0000)]
Followup to r86170: fix reference leak in str.format
Georg Brandl [Fri, 5 Nov 2010 07:10:41 +0000 (07:10 +0000)]
Move glossary entry to the right position and fix link.
Brian Curtin [Fri, 5 Nov 2010 03:58:52 +0000 (03:58 +0000)]
Add cleanups to stdout/stderr pipes to remove ResourceWarnings.
Antoine Pitrou [Fri, 5 Nov 2010 00:05:25 +0000 (00:05 +0000)]
Issue #10279: fix test_gc under Win64.
Antoine Pitrou [Thu, 4 Nov 2010 21:36:15 +0000 (21:36 +0000)]
Issue #10283: Add a `group_pattern` argument to NNTP.list().
Antoine Pitrou [Thu, 4 Nov 2010 20:48:37 +0000 (20:48 +0000)]
Issue #3699: Fix test_bigaddrspace and extend it to test bytestrings
as well as unicode strings. Initial patch by Sandro Tosi.
Antoine Pitrou [Thu, 4 Nov 2010 20:30:33 +0000 (20:30 +0000)]
Issue #10293: Remove obsolete field in the PyMemoryView structure,
unused undocumented value PyBUF_SHADOW, and strangely-looking code in
PyMemoryView_GetContiguous.
Ezio Melotti [Thu, 4 Nov 2010 19:09:28 +0000 (19:09 +0000)]
Move the deprecated aliases in a new section.
Eric Smith [Thu, 4 Nov 2010 17:06:58 +0000 (17:06 +0000)]
Issue #6081: Add str.format_map. str.format_map(mapping) is similar to str.format(**mapping), except mapping does not get converted to a dict.
Antoine Pitrou [Thu, 4 Nov 2010 16:51:32 +0000 (16:51 +0000)]
Issue #10314: improve performance of JSON encoding with sort_keys=True
Hirokazu Yamamoto [Thu, 4 Nov 2010 15:21:59 +0000 (15:21 +0000)]
Updated PC/VS8.0. (mainly to follow r86137: use temporary dir in make_buildinfo.c)
Ezio Melotti [Thu, 4 Nov 2010 14:52:13 +0000 (14:52 +0000)]
Merge the doc for assertIs[Not], assertIs[Not]None, and assert[Not]IsInstance.
Hirokazu Yamamoto [Thu, 4 Nov 2010 14:11:32 +0000 (14:11 +0000)]
Can build older OpenSSL in http://svn.python.org/projects/externals/
without Perl again.
Hirokazu Yamamoto [Thu, 4 Nov 2010 13:49:41 +0000 (13:49 +0000)]
Added svn:ignore.
Hirokazu Yamamoto [Thu, 4 Nov 2010 12:09:08 +0000 (12:09 +0000)]
Issue #5391: mmap.read_byte() should return unsigned value [0, 255]
instead of signed value [-127, 128].
Senthil Kumaran [Thu, 4 Nov 2010 03:51:05 +0000 (03:51 +0000)]
Fix Issue 10307 - compile error in readline.c
Brian Curtin [Thu, 4 Nov 2010 03:41:43 +0000 (03:41 +0000)]
Fix three ResourceWarnings.
Mimic the clientTearDown from ThreadedTCPSocketTest, closing the socket.
Raymond Hettinger [Thu, 4 Nov 2010 03:02:56 +0000 (03:02 +0000)]
Demote one warning to a note. There's no security risk here, just a note on usage and avialability.
Raymond Hettinger [Thu, 4 Nov 2010 02:39:07 +0000 (02:39 +0000)]
Put warning block in the main flow of text.
Benjamin Peterson [Thu, 4 Nov 2010 00:38:49 +0000 (00:38 +0000)]
classic classes are gone; whoppie!
Benjamin Peterson [Wed, 3 Nov 2010 23:11:10 +0000 (23:11 +0000)]
deuglify
Phillip J. Eby [Wed, 3 Nov 2010 22:39:01 +0000 (22:39 +0000)]
Implement http://bugs.python.org/issue10155 using And Clover's patch, w/added
docs and support for more client-generated CGI variables. (This should
complete the WSGI 1.0.1 compliance changes for Python 3.x.)
Benjamin Peterson [Wed, 3 Nov 2010 21:35:28 +0000 (21:35 +0000)]
update items/keys/values doc #10300
Ezio Melotti [Wed, 3 Nov 2010 20:51:17 +0000 (20:51 +0000)]
Divide the context manager signature from the normal one for consistency with the other methods.
Ezio Melotti [Wed, 3 Nov 2010 20:45:31 +0000 (20:45 +0000)]
Minor cleanups to unittest doc.
Ezio Melotti [Wed, 3 Nov 2010 20:39:14 +0000 (20:39 +0000)]
List the assert* methods in tables in unittest doc.
Antoine Pitrou [Wed, 3 Nov 2010 18:32:54 +0000 (18:32 +0000)]
Issue #10285: explain the `flag` return field better in NNTP.list().
Patch by Julien Élie.
Antoine Pitrou [Wed, 3 Nov 2010 18:18:43 +0000 (18:18 +0000)]
Issue #10281: nntplib now returns None for absent fields in the OVER/XOVER
response, instead of raising an exception.
Kristján Valur Jónsson [Wed, 3 Nov 2010 13:57:00 +0000 (13:57 +0000)]
issue 9981
let make_buildinfo use a temporary directory on windows
Antoine Pitrou [Wed, 3 Nov 2010 08:53:25 +0000 (08:53 +0000)]
Disabling SNI test; server admin would not like us to use it for automated tests.
Georg Brandl [Wed, 3 Nov 2010 07:41:00 +0000 (07:41 +0000)]
A newline in lineno output breaks pyframe output.
Phillip J. Eby [Wed, 3 Nov 2010 00:46:45 +0000 (00:46 +0000)]
Update docs (and sample app in wsgiref.simple_server) to reflect PEP 3333.
Antoine Pitrou [Tue, 2 Nov 2010 23:50:11 +0000 (23:50 +0000)]
Issue #10173: test_multiprocessing shouldn't pickle TestCase instances
Antoine Pitrou [Tue, 2 Nov 2010 22:31:52 +0000 (22:31 +0000)]
Issue #10280: NNTP.nntp_version should reflect the highest version
advertised by the server.
Phillip J. Eby [Tue, 2 Nov 2010 22:28:59 +0000 (22:28 +0000)]
Update wsgiref for PEP 3333, and fix errors introduced into the test suite by converting type() checks to isinstance().
(When WSGI specifies a built-in type, it does NOT mean "this type or a subclass" -- it means 'type(x) is SpecifiedType'.)
Benjamin Peterson [Tue, 2 Nov 2010 21:54:20 +0000 (21:54 +0000)]
remove some things that are now tested
Brett Cannon [Tue, 2 Nov 2010 19:27:59 +0000 (19:27 +0000)]
Ditch some dead code in test_unicode_file.
Closes issue #10294. Thanks Stefan Behnel for the find.
Michael Foord [Tue, 2 Nov 2010 14:27:10 +0000 (14:27 +0000)]
Updating unittest docs to reflect change in unittest.TestCase.assert[Not]AlmostEqual signature change
Hirokazu Yamamoto [Tue, 2 Nov 2010 14:06:03 +0000 (14:06 +0000)]
Defined Py_BUILD_CORE_MODULE also on VC7.1.
# I don't have this compiler, so I couldn't test it.
Hirokazu Yamamoto [Tue, 2 Nov 2010 13:48:13 +0000 (13:48 +0000)]
Py_BUILD_CORE_MODULE was not needed in python.dsp and pythonw.dsp.
Michael Foord [Tue, 2 Nov 2010 13:44:51 +0000 (13:44 +0000)]
Remove the keyword only restriction for places and delta args in unittest.TestCase.assert[Not]AlmostEqual
Hirokazu Yamamoto [Tue, 2 Nov 2010 13:21:31 +0000 (13:21 +0000)]
Defined Py_BUILD_CORE_MODULE also on VC6.
Steven Bethard [Tue, 2 Nov 2010 12:47:22 +0000 (12:47 +0000)]
Fix bug 9340 - argparse parse_known_args didn't work with subparsers
Brian Curtin [Tue, 2 Nov 2010 03:59:09 +0000 (03:59 +0000)]
Clean up ResourceWarnings. Explictly close stdout from the subprocess.
Brian Curtin [Tue, 2 Nov 2010 02:07:09 +0000 (02:07 +0000)]
Clean up ResourceWarnings due to unclosed sockets.
Martin v. Löwis [Mon, 1 Nov 2010 22:08:46 +0000 (22:08 +0000)]
Remove extracted trees at the end of the test.
Martin v. Löwis [Mon, 1 Nov 2010 21:39:13 +0000 (21:39 +0000)]
Issue #10184: Touch directories only once when extracting a tarfile.
Michael Foord [Mon, 1 Nov 2010 21:09:03 +0000 (21:09 +0000)]
Fix issue 9926. TestSuite subclasses that override __call__ are called correctly.
Alexander Belopolsky [Mon, 1 Nov 2010 18:42:01 +0000 (18:42 +0000)]
Translated German message into English.
Alexander Belopolsky [Mon, 1 Nov 2010 18:17:20 +0000 (18:17 +0000)]
Issue #10199: Fixing r86095 - svn did not like combining rename and change of directory.
Alexander Belopolsky [Mon, 1 Nov 2010 18:15:48 +0000 (18:15 +0000)]
Issue #10199: Fixing r86095 - svn did not like combining rename and change of directory.
Alexander Belopolsky [Mon, 1 Nov 2010 18:15:02 +0000 (18:15 +0000)]
Issue #10199: Fixing r86095 - svn did not like combining rename and change of directory.
Alexander Belopolsky [Mon, 1 Nov 2010 17:52:57 +0000 (17:52 +0000)]
Reverted inadvertent change from r86095
Alexander Belopolsky [Mon, 1 Nov 2010 17:39:37 +0000 (17:39 +0000)]
Issue #10199: Moved Demo/turtle under Lib/
Brian Curtin [Mon, 1 Nov 2010 16:40:17 +0000 (16:40 +0000)]
Fix ResourceWarning occuring on Windows. Close stdout/stderr pipes.
Steven Bethard [Mon, 1 Nov 2010 16:29:26 +0000 (16:29 +0000)]
Fix for issue 9355 where with multiple mutually exclusive arguments, some brackets were being lost in the usage messages
Steven Bethard [Mon, 1 Nov 2010 15:57:36 +0000 (15:57 +0000)]
Fix bug 9352 where characters were being lost in parsing some short options
Alexander Belopolsky [Mon, 1 Nov 2010 15:45:34 +0000 (15:45 +0000)]
Issue #7061: Simplified a section title.
Steven Bethard [Mon, 1 Nov 2010 15:23:12 +0000 (15:23 +0000)]
Get argparse.__all__ back up to date (issue 9353)
Brian Curtin [Mon, 1 Nov 2010 14:00:33 +0000 (14:00 +0000)]
Close subprocess pipes to clear ResourceWarning messages in debug mode.
Steven Bethard [Mon, 1 Nov 2010 13:56:09 +0000 (13:56 +0000)]
Unset COLUMNS for test_argparse (and restore afterwards) (issue 9553)
Brian Curtin [Mon, 1 Nov 2010 05:10:44 +0000 (05:10 +0000)]
Fix some ResourceErrors.
Use a context manager for os.popen and explicitly close a socket.
Benjamin Peterson [Mon, 1 Nov 2010 01:44:30 +0000 (01:44 +0000)]
fix output for getaddrinfo bug check #7059
Raymond Hettinger [Sun, 31 Oct 2010 22:36:06 +0000 (22:36 +0000)]
Issue #9886: Add a key-function entry to the glossary.
Raymond Hettinger [Sun, 31 Oct 2010 22:00:50 +0000 (22:00 +0000)]
Issue 7402: Improve reduce() example in the python idioms how-to.
Antoine Pitrou [Sun, 31 Oct 2010 21:27:04 +0000 (21:27 +0000)]
Issue #10265: Close file objects explicitly in sunau. Patch by Brian Brazil.
Raymond Hettinger [Sun, 31 Oct 2010 21:23:24 +0000 (21:23 +0000)]
Issue 7447: Improve docs for sum().
Antoine Pitrou [Sun, 31 Oct 2010 21:03:01 +0000 (21:03 +0000)]
No declarations in the middle of a block (fixes compile under Windows)
Benjamin Peterson [Sun, 31 Oct 2010 20:35:08 +0000 (20:35 +0000)]
set native eol on new files
Benjamin Peterson [Sun, 31 Oct 2010 20:33:35 +0000 (20:33 +0000)]
set eol-style on new doc files
Benjamin Peterson [Sun, 31 Oct 2010 20:03:32 +0000 (20:03 +0000)]
close the source's byte stream
Benjamin Peterson [Sun, 31 Oct 2010 19:58:07 +0000 (19:58 +0000)]
fix ftplib resource warnings
Benjamin Peterson [Sun, 31 Oct 2010 18:23:23 +0000 (18:23 +0000)]
fix resource warnings in test_sax #10269
Benjamin Peterson [Sun, 31 Oct 2010 18:21:16 +0000 (18:21 +0000)]
wrap some things in with blocks
Benjamin Peterson [Sun, 31 Oct 2010 18:13:04 +0000 (18:13 +0000)]
more fun with string exceptions
Benjamin Peterson [Sun, 31 Oct 2010 17:59:20 +0000 (17:59 +0000)]
string exceptions; how quaint
Raymond Hettinger [Sun, 31 Oct 2010 17:57:52 +0000 (17:57 +0000)]
Issue 10110: Let Queue.put recognize a full queue when the maxsize parameter has been reduced.
Benjamin Peterson [Sun, 31 Oct 2010 17:57:22 +0000 (17:57 +0000)]
start banging on zipfile's file leakiness
Benjamin Peterson [Sun, 31 Oct 2010 17:34:34 +0000 (17:34 +0000)]
fix leaking sockets
Benjamin Peterson [Sun, 31 Oct 2010 17:15:42 +0000 (17:15 +0000)]
cleanup resources in test_smtplib #10264
Benjamin Peterson [Sun, 31 Oct 2010 17:11:02 +0000 (17:11 +0000)]
add --enable-loadable-sqlite-extensions #10268