]>
granicus.if.org Git - python/log
Gregory P. Smith [Mon, 3 Jan 2011 21:09:23 +0000 (21:09 +0000)]
news for 6643
Gregory P. Smith [Mon, 3 Jan 2011 21:06:12 +0000 (21:06 +0000)]
issue6643 - Two locks held within the threading module on each thread instance
needed to be reinitialized after fork(). Adds tests to confirm that they are
and that a potential deadlock and crasher bug are fixed (platform dependant).
Antoine Pitrou [Mon, 3 Jan 2011 20:40:07 +0000 (20:40 +0000)]
Mention --randseed in option list
Antoine Pitrou [Mon, 3 Jan 2011 20:38:52 +0000 (20:38 +0000)]
Issue #6293: Have regrtest.py echo back sys.flags. This is done by default
in whole runs and enabled selectively using `--header` when running an
explicit list of tests. Original patch by Collin Winter.
Michael Foord [Mon, 3 Jan 2011 19:13:02 +0000 (19:13 +0000)]
Update description of Tools/unicode
Antoine Pitrou [Mon, 3 Jan 2011 18:53:50 +0000 (18:53 +0000)]
Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
the configure script but use $GREP instead. Patch by Fabian Groffen.
Antoine Pitrou [Mon, 3 Jan 2011 18:23:55 +0000 (18:23 +0000)]
Issue #10806, issue #9905: Fix subprocess pipes when some of the standard
file descriptors (0, 1, 2) are closed in the parent process. Initial
patch by Ross Lagerwall.
Éric Araujo [Mon, 3 Jan 2011 17:51:11 +0000 (17:51 +0000)]
Fix test_site for systems without unsetenv. Reported by Zsolt Cserna.
Michael Foord [Mon, 3 Jan 2011 17:00:11 +0000 (17:00 +0000)]
Enable unittest.TestCase to be instantiated without providing a method name.
Changed unittestgui to show number of discovered tests in the status bar.
Victor Stinner [Mon, 3 Jan 2011 16:36:00 +0000 (16:36 +0000)]
test_subprocess: close pipes at the end of test_pipe_cloexec_real_tools()
Victor Stinner [Mon, 3 Jan 2011 16:12:39 +0000 (16:12 +0000)]
pydoc: close the DocServer when done
Victor Stinner [Mon, 3 Jan 2011 15:47:59 +0000 (15:47 +0000)]
Issue #10816: multiprocessing.SocketClient() closes the socket on error
Use a context manager to close immediatly the socket on error.
Michael Foord [Mon, 3 Jan 2011 15:39:49 +0000 (15:39 +0000)]
Issue 10502: addition of unittestgui to Tools/
Victor Stinner [Mon, 3 Jan 2011 14:30:46 +0000 (14:30 +0000)]
test_socket: use context managers to close directly the socket
Fix ResourceWarning(unclosed socket) warnings. Patch written by Nadeem Vawda.
Victor Stinner [Mon, 3 Jan 2011 14:30:44 +0000 (14:30 +0000)]
test_xmlrpc: close the transport when done
Fix a ResourceWarning(unclosed socket). Patch written by Nadeem Vawda.
Victor Stinner [Mon, 3 Jan 2011 14:30:43 +0000 (14:30 +0000)]
test_tkinter: use a context manager to close directly the pipe
Patch written by Nadeem Vawda
Victor Stinner [Mon, 3 Jan 2011 14:30:41 +0000 (14:30 +0000)]
test_timeout: move testRecvfromTimeout() to a UDP-specific test case
Fix a ResourceWarning(unclosed socket).
Victor Stinner [Mon, 3 Jan 2011 14:30:39 +0000 (14:30 +0000)]
test_sockserver: close servers when done
Michael Foord [Mon, 3 Jan 2011 12:55:11 +0000 (12:55 +0000)]
Issue 10786: unittest documentation update.
Senthil Kumaran [Mon, 3 Jan 2011 10:11:07 +0000 (10:11 +0000)]
Reverting the mistaken commit r87677. Checked in py3rsa.py by mistake.
Senthil Kumaran [Mon, 3 Jan 2011 09:47:09 +0000 (09:47 +0000)]
py3k implmentation of RSA algorithm,
Brian Quinlan [Mon, 3 Jan 2011 02:56:39 +0000 (02:56 +0000)]
Removes the 'Call' class which is used to control execution order and is unreliable on Windows
Raymond Hettinger [Mon, 3 Jan 2011 02:44:14 +0000 (02:44 +0000)]
Supply a reduce method for pickling.
Raymond Hettinger [Mon, 3 Jan 2011 02:12:02 +0000 (02:12 +0000)]
Make C helper function more closely match the pure python version, and add tests.
Martin v. Löwis [Mon, 3 Jan 2011 00:19:59 +0000 (00:19 +0000)]
Skip hanging test.
Amaury Forgeot d'Arc [Mon, 3 Jan 2011 00:19:11 +0000 (00:19 +0000)]
#8278: In the Windows implementation of stat() and utime(),
use time_t instead of int. This gives support for dates after 2038,
at least when compiled with VS2003 or later, where time_t is 64bit.
Martin v. Löwis [Mon, 3 Jan 2011 00:07:01 +0000 (00:07 +0000)]
Issue #10798: Reject supporting concurrent.futures if the system has
too few POSIX semaphores.
Georg Brandl [Sun, 2 Jan 2011 22:33:43 +0000 (22:33 +0000)]
#8013 follow-up:
* In asctime and ctime, properly remove the newline if the year has more than four digits
* Consistent error message for both functions
* Fix the test comments and add a check for the removed newline
Alexander Belopolsky [Sun, 2 Jan 2011 22:16:10 +0000 (22:16 +0000)]
Issue #8013: Fixed test
Antoine Pitrou [Sun, 2 Jan 2011 22:12:22 +0000 (22:12 +0000)]
Some nits.
Antoine Pitrou [Sun, 2 Jan 2011 22:09:27 +0000 (22:09 +0000)]
Add a shutdown() call in the server example.
Antoine Pitrou [Sun, 2 Jan 2011 22:06:53 +0000 (22:06 +0000)]
Clarify behaviour of close() and shutdown() on sockets.
Gregory P. Smith [Sun, 2 Jan 2011 20:52:48 +0000 (20:52 +0000)]
issue10802: fallback to pipe+fcntl when the pipe2 syscall fails with errno ENOSYS.
Alexander Belopolsky [Sun, 2 Jan 2011 20:48:22 +0000 (20:48 +0000)]
Issue #8013: Fixed time.asctime segfault when OS's asctime fails
Antoine Pitrou [Sun, 2 Jan 2011 20:45:21 +0000 (20:45 +0000)]
Fix bad quoting in r87639. Caught by Arfrever.
Victor Stinner [Sun, 2 Jan 2011 19:50:36 +0000 (19:50 +0000)]
Issue #10807: Remove base64, bz2, hex, quopri, rot13, uu and zlib codecs from
the codec aliases. They are still accessible via codecs.lookup().
Antoine Pitrou [Sun, 2 Jan 2011 19:34:03 +0000 (19:34 +0000)]
Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
and DragonFly BSD. Patch by Nicolas Joly.
Georg Brandl [Sun, 2 Jan 2011 19:07:51 +0000 (19:07 +0000)]
Fix code indentation.
Antoine Pitrou [Sun, 2 Jan 2011 16:16:09 +0000 (16:16 +0000)]
Relax test condition a lot
Georg Brandl [Sun, 2 Jan 2011 14:23:43 +0000 (14:23 +0000)]
#
1665333 : add more docs for optparse.OptionGroup.
Raymond Hettinger [Sun, 2 Jan 2011 08:03:33 +0000 (08:03 +0000)]
Fix doctest to not rely on order of dictionary entries.
Use super() instead of direct references to the dict superclass.
Raymond Hettinger [Sat, 1 Jan 2011 23:51:55 +0000 (23:51 +0000)]
Fix OrderedDic.pop() to work for subclasses that define __missing__().
Raymond Hettinger [Sat, 1 Jan 2011 22:38:00 +0000 (22:38 +0000)]
Make it easier to extend OrderedDict without breaking it.
Gregory P. Smith [Sat, 1 Jan 2011 21:18:46 +0000 (21:18 +0000)]
post release bump
Benjamin Peterson [Sat, 1 Jan 2011 14:28:31 +0000 (14:28 +0000)]
update copyright to 2011
Georg Brandl [Sat, 1 Jan 2011 10:42:31 +0000 (10:42 +0000)]
#10801: do not actually extract, just open() the files in the test zipfile.
Georg Brandl [Sat, 1 Jan 2011 10:09:32 +0000 (10:09 +0000)]
#10801: In zipfile, support different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky.
Georg Brandl [Sat, 1 Jan 2011 10:07:30 +0000 (10:07 +0000)]
Fix issue references.
Terry Reedy [Sat, 1 Jan 2011 02:54:11 +0000 (02:54 +0000)]
Issue 6285: add NEWS entry for 3.2.
Terry Reedy [Sat, 1 Jan 2011 02:25:36 +0000 (02:25 +0000)]
Issue 6285: catch missing IDLE help file.
Raymond Hettinger [Fri, 31 Dec 2010 23:23:06 +0000 (23:23 +0000)]
Typo.
Raymond Hettinger [Fri, 31 Dec 2010 23:16:17 +0000 (23:16 +0000)]
Fix OrderedDict.setdefault() to work for subclasses that define __missing__().
Georg Brandl [Fri, 31 Dec 2010 23:00:03 +0000 (23:00 +0000)]
Happy New Year! (CET edition)
R. David Murray [Fri, 31 Dec 2010 19:21:14 +0000 (19:21 +0000)]
#9361: add some tests for calendar.leapdays
Patch by John Chandler.
Vinay Sajip [Thu, 30 Dec 2010 23:26:50 +0000 (23:26 +0000)]
Issue #10788: Changed test_logging setUp logic to provide more information.
Georg Brandl [Thu, 30 Dec 2010 22:32:49 +0000 (22:32 +0000)]
Update README, remove empty directory.
Georg Brandl [Thu, 30 Dec 2010 22:31:10 +0000 (22:31 +0000)]
Add the missing __main__.py in the turtledemo package. It seems to have been lost during some mass rename action (r86095).
Georg Brandl [Thu, 30 Dec 2010 22:12:40 +0000 (22:12 +0000)]
Remove mentions of the Demo directory.
Georg Brandl [Thu, 30 Dec 2010 22:11:50 +0000 (22:11 +0000)]
Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo.
Georg Brandl [Thu, 30 Dec 2010 21:33:49 +0000 (21:33 +0000)]
Remove the actual Demo dir.
Georg Brandl [Thu, 30 Dec 2010 21:33:07 +0000 (21:33 +0000)]
More cleanup: Move some demos into a dedicated Tools/demo dir, move 2to3 demo to Tools, and remove all the other Demo content.
Michael Foord [Thu, 30 Dec 2010 19:36:29 +0000 (19:36 +0000)]
Issue 10786: unittest.TextTestRunner default stream no longer bound at import time
Georg Brandl [Thu, 30 Dec 2010 17:36:17 +0000 (17:36 +0000)]
Fix NameErrors.
Georg Brandl [Thu, 30 Dec 2010 17:32:22 +0000 (17:32 +0000)]
Clean up tools: remove "world" and "framer", move single SSL script to scripts/.
Georg Brandl [Thu, 30 Dec 2010 17:22:33 +0000 (17:22 +0000)]
Remove some of the old demos. (Put a few somewhere else.)
Martin v. Löwis [Thu, 30 Dec 2010 14:55:47 +0000 (14:55 +0000)]
Build and install libpython3.so.
Martin v. Löwis [Thu, 30 Dec 2010 08:36:37 +0000 (08:36 +0000)]
Issue #10542: Document that identifiers use XID_Start XID_Continue*.
Senthil Kumaran [Thu, 30 Dec 2010 07:07:58 +0000 (07:07 +0000)]
Fix Issue10793 - hashlib documentation issue on return type of digest
R. David Murray [Wed, 29 Dec 2010 19:06:48 +0000 (19:06 +0000)]
Fix same typo in docs.
Terry Reedy [Wed, 29 Dec 2010 19:02:07 +0000 (19:02 +0000)]
Minor clarification
R. David Murray [Wed, 29 Dec 2010 16:57:24 +0000 (16:57 +0000)]
Fix a comment typo and update another comment to match Python3 reality
Senthil Kumaran [Wed, 29 Dec 2010 06:25:42 +0000 (06:25 +0000)]
Fix Issue 10753 - Don't quote ;=, in the PATH_INFO envvar.
Victor Stinner [Wed, 29 Dec 2010 02:44:42 +0000 (02:44 +0000)]
Issue #10783: rephrase the changelog (new try)
Brian Curtin [Wed, 29 Dec 2010 02:41:07 +0000 (02:41 +0000)]
Close stdout, clear ResourceWarning
Brian Curtin [Wed, 29 Dec 2010 02:04:28 +0000 (02:04 +0000)]
Fix #9333 on Windows XP, where os.symlink is not a possibility.
Victor Stinner [Tue, 28 Dec 2010 23:39:51 +0000 (23:39 +0000)]
Rephrase PyUnicode_CompareWithASCIIString() documentation
Victor Stinner [Tue, 28 Dec 2010 23:35:10 +0000 (23:35 +0000)]
Issue #10783: rephrase the changelog (NEWS, What's new)
Victor Stinner [Tue, 28 Dec 2010 23:14:17 +0000 (23:14 +0000)]
Don't ignore pgen error (on "make Parser/pgen.stamp")
Victor Stinner [Tue, 28 Dec 2010 23:05:20 +0000 (23:05 +0000)]
Compile pgenmain.c and printgrammar.c with PGEN defined
Brian Quinlan [Tue, 28 Dec 2010 21:14:34 +0000 (21:14 +0000)]
Does not install a logging handler. Fixes issue 10626.
Terry Reedy [Tue, 28 Dec 2010 19:30:19 +0000 (19:30 +0000)]
Issue 10738: Fix webbrowser.Opera.raise_opts value.
R. David Murray [Tue, 28 Dec 2010 18:54:13 +0000 (18:54 +0000)]
#9824: encode , and ; in cookie values so that browsers don't split on them
There is a small chance of backward incompatibility here, but only for
non-SimpleCookie applications reading SimpleCookie generated cookies. Even
then, any such ap is likely to be handling escaped values already, and it would
take a fairly perverse implementation of unescaping to fail to unescape these
newly escaped chars, so the risk seems minimal.
Georg Brandl [Tue, 28 Dec 2010 18:30:18 +0000 (18:30 +0000)]
Add sys.flags.quiet attribute for the new -q option, as noted missing by Eric in #
1772833 .
Brian Curtin [Tue, 28 Dec 2010 17:12:43 +0000 (17:12 +0000)]
This file was obsolted by a number of adjustments to the os.symlink tests
on Windows, and is no longer needed by any tests or Lib/test/support.py
Brian Curtin [Tue, 28 Dec 2010 17:08:22 +0000 (17:08 +0000)]
Minor doc update for #9333. Took out the phrasing about os.symlink not
existing and mentioned the OSError possibility.
Senthil Kumaran [Tue, 28 Dec 2010 15:55:16 +0000 (15:55 +0000)]
Fix Issue10759 - html.parser.unescape() fails on HTML entities with incorrect syntax
Brian Curtin [Tue, 28 Dec 2010 14:31:47 +0000 (14:31 +0000)]
Fix #9333. The symlink function is always available now, raising OSError
when the user doesn't hold the symbolic link privilege rather than hiding it.
Victor Stinner [Tue, 28 Dec 2010 13:33:43 +0000 (13:33 +0000)]
Issue #10783: Fix test_sys, pack('c', ' ') => pack('c', b' ')
Victor Stinner [Tue, 28 Dec 2010 13:26:42 +0000 (13:26 +0000)]
Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8
* Replace "bytes" by "bytes object" in struct error messages
* Document the API change in What's new in Python 3.2
* Fix test_wave
* Remove also ugly implicit conversions in test_struct
Georg Brandl [Tue, 28 Dec 2010 11:53:25 +0000 (11:53 +0000)]
#10609: fix non-working dbm example.
Georg Brandl [Tue, 28 Dec 2010 11:49:41 +0000 (11:49 +0000)]
#10739: document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected.
Georg Brandl [Tue, 28 Dec 2010 11:48:53 +0000 (11:48 +0000)]
Rewrap.
Georg Brandl [Tue, 28 Dec 2010 11:38:12 +0000 (11:38 +0000)]
Remove history; adapt a bit more to reST, since this will once be part of the dev guide.
Georg Brandl [Tue, 28 Dec 2010 11:15:49 +0000 (11:15 +0000)]
#10781: clarify that *encoding* is not a parameter for Node objects in general.
Georg Brandl [Tue, 28 Dec 2010 11:08:17 +0000 (11:08 +0000)]
#10742: document readonly attribute of memoryviews.
Georg Brandl [Tue, 28 Dec 2010 11:06:07 +0000 (11:06 +0000)]
#10767: update README in crashers; not all may have a bug entry and/or be fixed.
Victor Stinner [Tue, 28 Dec 2010 11:02:46 +0000 (11:02 +0000)]
Issue #9738: Fix typo, ASCII-encoding string => ASCII-encoded string
Georg Brandl [Tue, 28 Dec 2010 11:02:12 +0000 (11:02 +0000)]
Add news entry and clarify another.
Georg Brandl [Tue, 28 Dec 2010 10:56:20 +0000 (10:56 +0000)]
#10768: fix ScrolledText widget construction, and make the example work from the interactive shell.
Georg Brandl [Tue, 28 Dec 2010 10:38:33 +0000 (10:38 +0000)]
#10777: fix iteration over dict keys while mutating the dict.