]>
granicus.if.org Git - python/log
Victor Stinner [Sun, 7 Nov 2010 15:47:36 +0000 (15:47 +0000)]
Issue #10329: The trace module writes reports using the input Python script
encoding, instead of the locale encoding. Patch written by Alexander
Belopolsky.
Victor Stinner [Sun, 7 Nov 2010 15:43:39 +0000 (15:43 +0000)]
os module: remove nonbreaking space in a comment
Mark Dickinson [Sun, 7 Nov 2010 15:31:41 +0000 (15:31 +0000)]
Update assertComplexIdentical to handle nans correctly.
Hirokazu Yamamoto [Sun, 7 Nov 2010 14:29:26 +0000 (14:29 +0000)]
Issue #6317: Now winsound.PlaySound only accepts unicode with MvL's approval.
Victor Stinner [Sun, 7 Nov 2010 14:14:27 +0000 (14:14 +0000)]
Issue #10337: skip tests of tanh() sign in test_math and test_cmath if tanh()
doesn't preserve the zero sign (if TANH_PRESERVES_ZERO_SIGN define is 0).
Senthil Kumaran [Sun, 7 Nov 2010 12:57:04 +0000 (12:57 +0000)]
Fix Issue10226 - Clarifying the role of the netloc separator.
Mark Dickinson [Sun, 7 Nov 2010 12:48:18 +0000 (12:48 +0000)]
Issue #10145: the float.is_integer method was undocumented.
Hirokazu Yamamoto [Sun, 7 Nov 2010 11:32:01 +0000 (11:32 +0000)]
Changed entry name because it's hard to merge.
Mark Dickinson [Sun, 7 Nov 2010 11:24:44 +0000 (11:24 +0000)]
Issue 10297: Add missing import in decimal example snippet.
Hirokazu Yamamoto [Sun, 7 Nov 2010 11:07:44 +0000 (11:07 +0000)]
Reformatted code a bit.
Mark Dickinson [Sun, 7 Nov 2010 10:01:46 +0000 (10:01 +0000)]
Add a dtoa.c test value that triggered a bug in recent versions of
Gay's dtoa.c (but not for current versions of Python's dtoa.c).
Thanks Rick Regan for finding and reporting this.
Hirokazu Yamamoto [Sun, 7 Nov 2010 09:23:15 +0000 (09:23 +0000)]
Issue #6317: Now winsound.PlaySound can accept non ascii filename.
Victor Stinner [Sun, 7 Nov 2010 04:36:56 +0000 (04:36 +0000)]
test_concurrent_futures: remove temporary hack
Hirokazu Yamamoto [Sun, 7 Nov 2010 02:45:19 +0000 (02:45 +0000)]
Formatted code. (Tabify, etc)
Eric Smith [Sat, 6 Nov 2010 19:27:37 +0000 (19:27 +0000)]
Added more to docstrings for str.format, format_map, and __format__.
Éric Araujo [Sat, 6 Nov 2010 18:03:52 +0000 (18:03 +0000)]
Fix #10252 again (hopefully definitely). Patch by Brian Curtin.
Éric Araujo [Sat, 6 Nov 2010 16:06:37 +0000 (16:06 +0000)]
Remove traces of setuptools (#10341)
Éric Araujo [Sat, 6 Nov 2010 15:57:52 +0000 (15:57 +0000)]
Correct the fix for #10252: Popen objects have no close method.
Éric Araujo [Sat, 6 Nov 2010 15:01:07 +0000 (15:01 +0000)]
Add missing NEWS entries for some of my commits.
Eric Smith [Sat, 6 Nov 2010 14:43:26 +0000 (14:43 +0000)]
Removed unused test classes from test_format_map().
Eric Smith [Sat, 6 Nov 2010 13:22:13 +0000 (13:22 +0000)]
Added example for str.format_map().
Victor Stinner [Sat, 6 Nov 2010 13:10:29 +0000 (13:10 +0000)]
test_concurrent_futures: dump ulimit -a to check a failure on x86 FreeBSD 7.2 3.x, buildbot
Victor Stinner [Sat, 6 Nov 2010 12:59:33 +0000 (12:59 +0000)]
os.get_exec_path() ignores BytesWarning instead of recoding them
Use only one global warning.catch_warnings() context, instead of two local
contexts. Improve also the explaination why the function uses a local import.
Georg Brandl [Sat, 6 Nov 2010 07:19:35 +0000 (07:19 +0000)]
#10334: add a role to refer to Python source files in SVN.
Éric Araujo [Sat, 6 Nov 2010 07:03:07 +0000 (07:03 +0000)]
Tweak example to make clear the argument is a boolean, not any integer.
With Raymond’s approval.
Éric Araujo [Sat, 6 Nov 2010 06:33:03 +0000 (06:33 +0000)]
Fix wrapper/wrapped typo (with Raymond’s blessing)
Éric Araujo [Sat, 6 Nov 2010 06:30:16 +0000 (06:30 +0000)]
Fix typo
Éric Araujo [Sat, 6 Nov 2010 06:00:54 +0000 (06:00 +0000)]
Remove traces of Mac OS 9 support, again (#9508).
This was done in r80805 (#7908) and erroneously brought back by the
distutils revert. This commit removes more code than the original,
which was uncomplete. There is no NEWS entry, like in r80805.
Éric Araujo [Sat, 6 Nov 2010 04:59:27 +0000 (04:59 +0000)]
Fix typo from r86170.
Éric Araujo [Sat, 6 Nov 2010 04:48:05 +0000 (04:48 +0000)]
Prevent race condition with mkdir in distutils. Patch by Arfrever on #9281.
Éric Araujo [Sat, 6 Nov 2010 04:24:00 +0000 (04:24 +0000)]
Add missing NEWS entry for r86239.
Éric Araujo [Sat, 6 Nov 2010 04:11:59 +0000 (04:11 +0000)]
Prevent ResourceWarnings in test_gettext
Éric Araujo [Sat, 6 Nov 2010 04:09:29 +0000 (04:09 +0000)]
Fix caching error found by regrtest -R (#10229)
Éric Araujo [Sat, 6 Nov 2010 02:44:43 +0000 (02:44 +0000)]
Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)
Éric Araujo [Sat, 6 Nov 2010 02:12:51 +0000 (02:12 +0000)]
Fix one omission in r78359
Éric Araujo [Sat, 6 Nov 2010 02:10:32 +0000 (02:10 +0000)]
Also close file descriptors from os.popen and subprocess.Popen
Alexander Belopolsky [Sat, 6 Nov 2010 01:31:16 +0000 (01:31 +0000)]
Issue #10330: trace module can now be used with python built without threads.
Brian Curtin [Sat, 6 Nov 2010 01:30:41 +0000 (01:30 +0000)]
Clear up ResourceWarnings
Éric Araujo [Fri, 5 Nov 2010 23:59:32 +0000 (23:59 +0000)]
Of course, I forgot one file in r86223.
Éric Araujo [Fri, 5 Nov 2010 23:58:34 +0000 (23:58 +0000)]
Add missing entry for r86223.
Éric Araujo [Fri, 5 Nov 2010 23:51:56 +0000 (23:51 +0000)]
Always close files in distutils code and tests (#10252).
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.