]>
granicus.if.org Git - python/log
Georg Brandl [Thu, 29 Jul 2010 14:49:08 +0000 (14:49 +0000)]
#9388: remove ERA_YEAR which is never defined in the source code.
Georg Brandl [Thu, 29 Jul 2010 14:46:07 +0000 (14:46 +0000)]
#9397: remove mention of dbm.bsd which does not exist anymore.
Georg Brandl [Thu, 29 Jul 2010 14:36:11 +0000 (14:36 +0000)]
Use correct directive and name.
Georg Brandl [Thu, 29 Jul 2010 14:32:22 +0000 (14:32 +0000)]
#9407: document configparser.Error.
Georg Brandl [Thu, 29 Jul 2010 14:23:06 +0000 (14:23 +0000)]
Use Py_CLEAR().
Georg Brandl [Thu, 29 Jul 2010 14:17:12 +0000 (14:17 +0000)]
#
1090076 : explain the behavior of *vars* in get() better.
Mark Dickinson [Thu, 29 Jul 2010 13:56:56 +0000 (13:56 +0000)]
Fix typo.
Georg Brandl [Thu, 29 Jul 2010 13:38:37 +0000 (13:38 +0000)]
#3874: document HTMLParser.unknown_decl().
Georg Brandl [Thu, 29 Jul 2010 13:19:42 +0000 (13:19 +0000)]
Fix #9412: make list of messages an instance attribute instead of class attribute.
Georg Brandl [Thu, 29 Jul 2010 12:17:40 +0000 (12:17 +0000)]
#9411: allow selecting an encoding for configparser files. Also adds a new test config file to test special cases.
Georg Brandl [Thu, 29 Jul 2010 11:56:20 +0000 (11:56 +0000)]
Fix for r83202: improve the handling of empty lines.
Georg Brandl [Thu, 29 Jul 2010 11:49:05 +0000 (11:49 +0000)]
#6538: fix regex documentation again -- use fictional class names "regex" and "match" but do not document them as classes, remove 1.5 compat info and use new default argument syntax where possible.
Georg Brandl [Thu, 29 Jul 2010 11:15:36 +0000 (11:15 +0000)]
Remove Python 1.5 compatibility note.
Victor Stinner [Thu, 29 Jul 2010 00:29:00 +0000 (00:29 +0000)]
Update test_os.py according to my last changes on _Environ.__repr__()
Victor Stinner [Wed, 28 Jul 2010 21:25:42 +0000 (21:25 +0000)]
Issue #9283: Oops, add missing { and } to repr(os.environ)
Victor Stinner [Wed, 28 Jul 2010 21:23:23 +0000 (21:23 +0000)]
#9283: Fix repr(os.environ), display unicode keys and values on POSIX systems
Georg Brandl [Wed, 28 Jul 2010 17:37:27 +0000 (17:37 +0000)]
Add missing file.
Florent Xicluna [Wed, 28 Jul 2010 16:39:41 +0000 (16:39 +0000)]
Syntax cleanup.
Senthil Kumaran [Wed, 28 Jul 2010 16:27:56 +0000 (16:27 +0000)]
Fix Issue6325 - robotparse to honor urls with query strings.
Georg Brandl [Wed, 28 Jul 2010 13:13:46 +0000 (13:13 +0000)]
#
1682942 : add some ConfigParser features: alternate delimiters, alternate comments, empty lines in values. Also enhance the docs with more examples and mention SafeConfigParser before ConfigParser. Patch by Lukas Langa, review by myself, Eric and Ezio.
Georg Brandl [Wed, 28 Jul 2010 08:19:35 +0000 (08:19 +0000)]
#9354: Provide getsockopt() in asyncore file_wrapper(). Patch by Lukas Langa.
Victor Stinner [Wed, 28 Jul 2010 00:40:58 +0000 (00:40 +0000)]
Issue #8991: convertbuffer() rejects discontigious buffers
Ezio Melotti [Wed, 28 Jul 2010 00:23:21 +0000 (00:23 +0000)]
Fix failure introduced in r83182.
Victor Stinner [Wed, 28 Jul 2010 00:15:03 +0000 (00:15 +0000)]
Issue #8966: ctypes: Remove implicit bytes-unicode conversion
Victor Stinner [Tue, 27 Jul 2010 23:36:41 +0000 (23:36 +0000)]
Fix ctypes tests to avoid implicit bytes-unicode conversion
Alexander Belopolsky [Tue, 27 Jul 2010 23:02:38 +0000 (23:02 +0000)]
Issue #9378: python -m pickle <pickle file> will now load and display
the first object in the pickle file.
Ezio Melotti [Tue, 27 Jul 2010 22:24:13 +0000 (22:24 +0000)]
With skipUnless there is no need to add test classes conditionally.
Antoine Pitrou [Tue, 27 Jul 2010 22:08:27 +0000 (22:08 +0000)]
Issue #9294: remove dead code in Objects/object.c. Patch by Grant Limberg.
Ezio Melotti [Tue, 27 Jul 2010 22:03:33 +0000 (22:03 +0000)]
Use proper skips and assert* methods in test_asyncore.
Florent Xicluna [Tue, 27 Jul 2010 21:20:15 +0000 (21:20 +0000)]
Issue #4770: Restrict binascii module to accept only bytes (as specified).
And fix the email package to encode to ASCII instead of ``raw-unicode-escape`` before ASCII-to-binary decoding.
Georg Brandl [Tue, 27 Jul 2010 18:19:21 +0000 (18:19 +0000)]
Update Sphinx to 1.0.1.
Alexander Belopolsky [Tue, 27 Jul 2010 14:16:32 +0000 (14:16 +0000)]
Issue #9384: python -m tkinter will now display a simple demo applet.
Gregory P. Smith [Tue, 27 Jul 2010 05:31:29 +0000 (05:31 +0000)]
The default size of the re module's compiled regular expression cache has
been increased from 100 to 500 and the cache replacement policy has changed
from simply clearing the entire cache on overflow to randomly forgetting 20%
of the existing cached compiled regular expressions. This is a performance
win for applications that use a lot of regular expressions and limits the
impact of the performance hit anytime the cache is exceeded.
Georg Brandl [Mon, 26 Jul 2010 21:12:13 +0000 (21:12 +0000)]
Clarify.
Alexander Belopolsky [Mon, 26 Jul 2010 18:27:49 +0000 (18:27 +0000)]
Added versionadded entry for the annotate argument.
Georg Brandl [Mon, 26 Jul 2010 17:09:32 +0000 (17:09 +0000)]
Add Reid.
Georg Brandl [Mon, 26 Jul 2010 17:00:20 +0000 (17:00 +0000)]
Fix indentation in example.
Georg Brandl [Mon, 26 Jul 2010 15:11:49 +0000 (15:11 +0000)]
Fix grammar.
Andrew M. Kuchling [Mon, 26 Jul 2010 13:08:58 +0000 (13:08 +0000)]
Reword paragraph
Andrew M. Kuchling [Mon, 26 Jul 2010 12:54:02 +0000 (12:54 +0000)]
#7637: fix a grammar error; simplify a sentence
Georg Brandl [Mon, 26 Jul 2010 09:33:12 +0000 (09:33 +0000)]
Add Brian Quinlan.
Georg Brandl [Mon, 26 Jul 2010 08:51:42 +0000 (08:51 +0000)]
#9381: fix markup.
Alexander Belopolsky [Mon, 26 Jul 2010 02:36:41 +0000 (02:36 +0000)]
Make python version of fromtimestamp behave more like C.
Brian Curtin [Mon, 26 Jul 2010 02:36:32 +0000 (02:36 +0000)]
Add note about #7113 and add Łukasz Langa to ACKS
Brian Curtin [Mon, 26 Jul 2010 00:27:10 +0000 (00:27 +0000)]
Fix #7113. Patch by Łukasz Langa.
Changes include using a list of lines instead of patching together using
string interpolation, and a multi-line value test cases.
Andrew M. Kuchling [Sun, 25 Jul 2010 23:38:47 +0000 (23:38 +0000)]
#777884: make .normalize() do nothing for childless nodes, instead of raising an exception
Andrew M. Kuchling [Sun, 25 Jul 2010 23:23:30 +0000 (23:23 +0000)]
#7637: clarify description of encoding parameter
Michael Foord [Sun, 25 Jul 2010 23:09:25 +0000 (23:09 +0000)]
Issue #4686 - add .args to exceptions in the configparsermodule
Andrew M. Kuchling [Sun, 25 Jul 2010 22:57:12 +0000 (22:57 +0000)]
#
1495229 : update the type names used by the XML DOM mapping
Alexander Belopolsky [Sun, 25 Jul 2010 15:05:42 +0000 (15:05 +0000)]
Corrected comments on where settrace and setprofile are tested.
Alexander Belopolsky [Sun, 25 Jul 2010 15:02:55 +0000 (15:02 +0000)]
Issue #9315: Renamed test_trace to test_sys_settrace and
test_profilehooks to test_sys_setprofile so that test_trace can be
used for testing the trace module and for naming consistency.
Alexander Belopolsky [Sun, 25 Jul 2010 14:58:54 +0000 (14:58 +0000)]
Issue #9315: Revert r83005 before renaming test_trace to
test_sys_settrace and test_profilehooks to test_sys_setprofile in all
three branches.
Ronald Oussoren [Sat, 24 Jul 2010 14:15:19 +0000 (14:15 +0000)]
Fix for issue 9367: the test code for os.getgroups
assumes that the result of getgroups and the output
of the id(1) command return groups in the same
order. That assumption is both fragile and false.
Martin v. Löwis [Sat, 24 Jul 2010 10:09:11 +0000 (10:09 +0000)]
Put listdir default argument into declaration.
Richard Jones [Sat, 24 Jul 2010 09:51:40 +0000 (09:51 +0000)]
Implementation for issue 4184
Changes the previously private attributes to make them public, increasing the potential for extending the library in user code. Backward-compatible and documented.
Victor Stinner [Sat, 24 Jul 2010 02:24:55 +0000 (02:24 +0000)]
#9032: XML-RPC client: Transport.request() retries on EPIPE error
The EPIPE error occurs when the server closes the socket and the client sends a
"big" XML-RPC request (I don't know exactly the size threshold).
request() just have to ignore the error because single_request() closes the
socket on error, and so the next call to single_request() will open a new
socket.
Remove also a comment in the HTTP client because it's now wrong: see r70643
and issue #5542.
Victor Stinner [Sat, 24 Jul 2010 00:49:20 +0000 (00:49 +0000)]
Issue #4629: getopt raises an error if an argument ends with = whereas getopt
doesn't except a value (eg. --help= is rejected if getopt uses ['help='] long
options).
Alexander Belopolsky [Fri, 23 Jul 2010 20:03:53 +0000 (20:03 +0000)]
Use _datetime docstring if _datetime is available.
Alexander Belopolsky [Fri, 23 Jul 2010 19:25:47 +0000 (19:25 +0000)]
Issue #7989: Added pure python implementation of the datetime module.
Brett Cannon [Fri, 23 Jul 2010 16:58:57 +0000 (16:58 +0000)]
Add Brian Brazil.
Brett Cannon [Fri, 23 Jul 2010 16:58:21 +0000 (16:58 +0000)]
Mention in the fnmatch docs that meta-characters in translate cannot be quoted.
Closes issue 9358. Thanks to Brian Brazil for the patch.
Brett Cannon [Fri, 23 Jul 2010 16:56:21 +0000 (16:56 +0000)]
Add queue tests for empty, full, put_nowait, and get_nowait.
Closes issue 9357. Thanks to Brian Brazil for the patch.
Georg Brandl [Fri, 23 Jul 2010 16:55:42 +0000 (16:55 +0000)]
Update to 1.0.
Georg Brandl [Fri, 23 Jul 2010 16:55:26 +0000 (16:55 +0000)]
Fix some markup glitches.
Ezio Melotti [Fri, 23 Jul 2010 16:48:22 +0000 (16:48 +0000)]
#9359: fix typo. Thanks to Piotr Kasprzyk for the patch.
Brian Curtin [Fri, 23 Jul 2010 16:30:10 +0000 (16:30 +0000)]
Tab test_repr_daemon over so it's included in ThreadTests.
Noticed by Amaury.
Brett Cannon [Fri, 23 Jul 2010 16:23:13 +0000 (16:23 +0000)]
Add tests for fnmatch.filter and translate.
Partially closes issue 9356. Thanks to Brian Brazil for the patch.
Brett Cannon [Fri, 23 Jul 2010 16:22:25 +0000 (16:22 +0000)]
Make fnmatch be more PEP 8 compliant.
Partially closes issue 9356. Thanks to Brian Brazil for the patch.
Richard Jones [Fri, 23 Jul 2010 16:20:40 +0000 (16:20 +0000)]
New tests for smtpd module. Has full coverage for SMTPChannel and SMTPServer.
Ronald Oussoren [Fri, 23 Jul 2010 16:05:35 +0000 (16:05 +0000)]
Ensure that sys.prefix can reliably be found
on OSX. This fixes a small issue that was exposed
by running test_subprocess through regrtest (and
hence in a subdirectory).
Without this patch running python.exe from the
build tree will fail when these tree conditions
are true:
1) the CWD is not the root of build tree
2) python.exe is found through $PATH
3) the framework is not yet installed
Brett Cannon [Fri, 23 Jul 2010 15:50:52 +0000 (15:50 +0000)]
Add more tests for the threading.Thread.repr.
Partially closes issue 9346. Thanks to Brian Brazil for the patch.
Brett Cannon [Fri, 23 Jul 2010 15:50:02 +0000 (15:50 +0000)]
Rip out old testing code that was inlined in threading.
Partially closes issue 9346. Thanks Brian Brazil for the patch.
Brett Cannon [Fri, 23 Jul 2010 15:43:14 +0000 (15:43 +0000)]
Rename some macros in the sha1 module to no longer conflict with termios.h.
Brett Cannon [Fri, 23 Jul 2010 14:45:19 +0000 (14:45 +0000)]
Stop shadowing a test class.
Brett Cannon [Fri, 23 Jul 2010 14:03:16 +0000 (14:03 +0000)]
Explicitly test relative imports by reusing importlib tests.
Closes issue 8392. Thanks Virgil Dupras for the initial patch.
Brett Cannon [Fri, 23 Jul 2010 13:54:14 +0000 (13:54 +0000)]
Test calendar.monthrange.
Closes issue 9342. Thanks John Chandler for the patch.
Ronald Oussoren [Fri, 23 Jul 2010 13:53:51 +0000 (13:53 +0000)]
This fixes issue7900 by adding code that deals
with the fact that getgroups(2) might return
more that MAX_GROUPS on OSX.
See the issue (and python-dev archives) for the
gory details. Summarized: OSX behaves rather oddly
and Apple says this is intentional.
Brett Cannon [Fri, 23 Jul 2010 12:26:35 +0000 (12:26 +0000)]
Clarify the wording for threading.is_alive() to not suggest something is
"roughly" done.
Closes issue 9339. Thanks Brian Brazil for the patch.
Martin v. Löwis [Fri, 23 Jul 2010 12:16:41 +0000 (12:16 +0000)]
Issue #6095: Make directory argument to os.listdir optional.
Patch by Virgil Dupras.
Ronald Oussoren [Fri, 23 Jul 2010 11:54:59 +0000 (11:54 +0000)]
Fix for issue 7895. Avoid crashing the interpreter
when calling platform.mac_ver after calling os.fork by
reading from a system configuration file instead of
using OSX APIs.
Ronald Oussoren [Fri, 23 Jul 2010 11:48:36 +0000 (11:48 +0000)]
Minor tweak of test_osx_env to
avoid failing when the framework is not
yet installed.
Brett Cannon [Fri, 23 Jul 2010 11:31:31 +0000 (11:31 +0000)]
Document the fact that the 'test' package is meant only for use by Python
itself and not by others.
Closes issue 9255.
Ronald Oussoren [Fri, 23 Jul 2010 09:50:05 +0000 (09:50 +0000)]
Workaround for issue 4047: in some configurations of
the Crash Reporter on OSX test_subprocess will trigger
the reporter.
This patch prints a warning when the Crash Reporter will
get triggered intentionally, which should avoid confusing
people.
Ronald Oussoren [Fri, 23 Jul 2010 09:43:17 +0000 (09:43 +0000)]
Ensure that the Makefile variable expansion
in distutils.sysconfig matches that in the
toplevel sysconfig module.
Without this patch universal builds on OSX are
broken.
Als add a test that checks that the two version
of get_config_vars agree on important values.
Georg Brandl [Fri, 23 Jul 2010 08:46:35 +0000 (08:46 +0000)]
Use augassign.
Brian Curtin [Thu, 22 Jul 2010 15:38:28 +0000 (15:38 +0000)]
Skip this test as it doesn't apply to Windows. It was added for
#9189 for some GCC flags.
Tarek Ziadé [Thu, 22 Jul 2010 12:50:05 +0000 (12:50 +0000)]
reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen.
Brett Cannon [Thu, 22 Jul 2010 07:40:56 +0000 (07:40 +0000)]
Add importlib benchmarks which try to be "realistic" by importing the decimal
module which is the largest module in the stdlib.
Alexander Belopolsky [Wed, 21 Jul 2010 17:43:42 +0000 (17:43 +0000)]
Issue #9323: Fixed a bug in trace.py that resulted in loosing the name
of the script being traced. Patch by Eli Bendersky.
Antoine Pitrou [Wed, 21 Jul 2010 16:41:31 +0000 (16:41 +0000)]
Issue #5395: check that array.fromfile() re-raises an IOError instead of replacing it
with EOFError.
(this is only an added test, but 2.x will get a fix too)
Antoine Pitrou [Wed, 21 Jul 2010 15:54:48 +0000 (15:54 +0000)]
Remove outdated mention of deprecated functions in the string module - they have been removed in 3.x.
Doug Hellmann [Wed, 21 Jul 2010 12:29:04 +0000 (12:29 +0000)]
Apply patch from Ray Allen for issue 9296
Brett Cannon [Wed, 21 Jul 2010 09:48:31 +0000 (09:48 +0000)]
Minor clarification about importlib.abc.SourceLoader.get_filename.
Brian Curtin [Wed, 21 Jul 2010 01:44:19 +0000 (01:44 +0000)]
Fix #9316. if/is grammar corrections.
Benjamin Peterson [Tue, 20 Jul 2010 22:39:34 +0000 (22:39 +0000)]
revert unintended changes
Benjamin Peterson [Tue, 20 Jul 2010 22:37:19 +0000 (22:37 +0000)]
move test_trace.py so as not to conflict with future tests for the trace module
Alexander Belopolsky [Tue, 20 Jul 2010 19:55:18 +0000 (19:55 +0000)]
Issue #9282: Fixed --listfuncs option of trace.py. Thanks Eli
Bendersky for the patch.
Ronald Oussoren [Tue, 20 Jul 2010 16:07:10 +0000 (16:07 +0000)]
Without this patch the value of sysconfig.get_config_var('LDSHARED')
is wrong when PY_LDFLAGS is not empty.
The bug was caused by LDSHARED getting expanded *before* sysconfig
renamed PY_LDSHARED (and simular values) to names without a PY_
prefix.
The patch tries to maintain the intended behaviour of allowing users
to set LDFLAGS in the environment and have that affect the build.
Without this patch a universal build on OSX cannot build universal
(fat binary) extensions.
Gregory P. Smith [Mon, 19 Jul 2010 23:17:22 +0000 (23:17 +0000)]
Fixes Issue #3704: http.cookiejar was not properly handling URLs with a / in
the parameters. (This is jjlee's issue3704.patch ported to py3k)
Senthil Kumaran [Mon, 19 Jul 2010 18:17:19 +0000 (18:17 +0000)]
Fix Issue9301 - urllib.parse.unquote and unquote_to_byte to raise TypeError for None.