]>
granicus.if.org Git - python/log
Tarek Ziadé [Wed, 19 May 2010 22:20:14 +0000 (22:20 +0000)]
#8759: Fixed user paths in sysconfig for posix and os2 schemes
Stefan Krah [Wed, 19 May 2010 15:59:40 +0000 (15:59 +0000)]
Fix typo.
Stefan Krah [Wed, 19 May 2010 15:46:39 +0000 (15:46 +0000)]
Fix typos in docstrings.
Ezio Melotti [Wed, 19 May 2010 00:32:52 +0000 (00:32 +0000)]
Fix typo in argparse doc.
Giampaolo Rodolà [Tue, 18 May 2010 20:04:31 +0000 (20:04 +0000)]
Fix issue #8573 (asyncore._strerror bug): fixed os.strerror typo; included NameError in the tuple of expected exception; added test case for asyncore._strerror.
Senthil Kumaran [Tue, 18 May 2010 13:40:23 +0000 (13:40 +0000)]
Doc Fix. Correct link to Zephyr ASDL Abstract page.
Vinay Sajip [Tue, 18 May 2010 08:16:27 +0000 (08:16 +0000)]
Fixed minor typo in ReST markup.
Senthil Kumaran [Tue, 18 May 2010 03:20:43 +0000 (03:20 +0000)]
Fix minor typo.
Antoine Pitrou [Mon, 17 May 2010 19:56:59 +0000 (19:56 +0000)]
Issue #7079: Fix a possible crash when closing a file object while using
it from another thread. Patch by Daniel Stutzbach.
Florent Xicluna [Mon, 17 May 2010 13:35:09 +0000 (13:35 +0000)]
Issue #
1285086 : Speed up urllib.quote and urllib.unquote for simple cases.
Tarek Ziadé [Mon, 17 May 2010 10:54:43 +0000 (10:54 +0000)]
upgraded distutils docs w.r.t. the manifest regeneration
Florent Xicluna [Mon, 17 May 2010 10:39:07 +0000 (10:39 +0000)]
Slight style cleanup.
Tarek Ziadé [Mon, 17 May 2010 10:06:20 +0000 (10:06 +0000)]
Fixed #8688: Distutils now recalculates MANIFEST everytime.
Andrew M. Kuchling [Sun, 16 May 2010 23:31:16 +0000 (23:31 +0000)]
Add cross-reference to later section
Antoine Pitrou [Sun, 16 May 2010 23:11:46 +0000 (23:11 +0000)]
Clear the OpenSSL error queue each time an error is signalled.
When the error queue is not emptied, strange things can happen on the next SSL call, depending on the OpenSSL version.
Antoine Pitrou [Sun, 16 May 2010 14:16:56 +0000 (14:16 +0000)]
Document that SSL v2 is insecure.
Victor Stinner [Sun, 16 May 2010 00:34:40 +0000 (00:34 +0000)]
Use with open() as fo: ... instead of try: fo = open(...) finally: fo.close()
fo is not set if the open() fails.
Victor Stinner [Sat, 15 May 2010 22:55:28 +0000 (22:55 +0000)]
Use 4-spaces for indentation (instead of tabs) in pgen outputs
Regenerate (reindent) Python/graminit.c
Victor Stinner [Sat, 15 May 2010 22:19:27 +0000 (22:19 +0000)]
reindent _cursesmodule.c
Use untabify.py + emacs (python3 mode) + manual editions for
Py_BEGIN_ALLOW_THREADS / Py_END_ALLOW_THREADS
Amaury Forgeot d'Arc [Sat, 15 May 2010 21:45:30 +0000 (21:45 +0000)]
Remove unused variable, and fix a compilation warning on Windows
Victor Stinner [Sat, 15 May 2010 21:00:59 +0000 (21:00 +0000)]
NEWS: strip trailing spaces
Benjamin Peterson [Sat, 15 May 2010 17:48:55 +0000 (17:48 +0000)]
use TestCase skip method
Stefan Krah [Sat, 15 May 2010 09:31:08 +0000 (09:31 +0000)]
If the timeout is exceeded, count the tests as skipped instead of just
issuing a warning.
Victor Stinner [Fri, 14 May 2010 21:52:26 +0000 (21:52 +0000)]
Fix regression introduced by r81154 (Issue #5099, subprocess destructor)
Victor Stinner [Fri, 14 May 2010 15:53:20 +0000 (15:53 +0000)]
Issue #8711: add paragraph titles to c-api/unicode.rst
(Python2 doesn't have PyUnicode_DecodeFSDefault*() functions)
Victor Stinner [Fri, 14 May 2010 14:20:07 +0000 (14:20 +0000)]
Doc: replace PEP xxx by :pep:`xxx` to create a link on the PEP
Brett Cannon [Fri, 14 May 2010 00:21:48 +0000 (00:21 +0000)]
subprocess.Popen.__del__ referenced global objects, which is a no-no thanks to
interpreter shutdown semantics. Same issue goes for the methods that __del__
called. Now all the methods capture the global objects it needs as default
values to private parameters (could have stuck them on the class object itself,
but since the objects have nothing directly to do with the class that seemed
wrong).
There is no test as making one that works is hard. This patch was
verified against a consistently failing test in Mercurial's test suite, though,
so it has been tested in some regard.
Closes issue #5099. Thanks to Mary Stern for the bug report and Gabriel
Genellina for writing another patch for the same issue and attempting to write
a test.
Brett Cannon [Thu, 13 May 2010 23:59:41 +0000 (23:59 +0000)]
test_site was failing under darwin for non-framework builds because a test was
assuming framework-specific site-packages directories were being used.
Florent Xicluna [Thu, 13 May 2010 23:46:48 +0000 (23:46 +0000)]
Revert changeset r81150 which helped diagnose issue #8423 on some OS X buildbot.
Florent Xicluna [Thu, 13 May 2010 21:41:05 +0000 (21:41 +0000)]
Improve test feedback to troubleshoot issue #8423 on OS X.
Florent Xicluna [Thu, 13 May 2010 21:40:01 +0000 (21:40 +0000)]
Better test skipping, with message in the log.
Benjamin Peterson [Thu, 13 May 2010 21:14:10 +0000 (21:14 +0000)]
rip out mention of types.ListType #8703
Florent Xicluna [Thu, 13 May 2010 18:16:06 +0000 (18:16 +0000)]
Revert the additional OS X information (r81140). Keep the endianness information.
Florent Xicluna [Thu, 13 May 2010 17:05:29 +0000 (17:05 +0000)]
Add sensible information about the OS X platform to diagnose issue #8423:
test_pep277 fails on "x86 Tiger" buildbot but not on "PPC Tiger".
Victor Stinner [Thu, 13 May 2010 16:22:15 +0000 (16:22 +0000)]
Fix verb tense in skip message.
Ooops, merge also r80334 (patch by r.david.murray)
Victor Stinner [Thu, 13 May 2010 16:18:14 +0000 (16:18 +0000)]
Issue #8422, test_genericpath: skip the creation of a directory with an invalid
UTF name on Mac OS X because the OS deny it (the name have to be a valid UTF8
string).
Merge r80163 from py3k branch.
Senthil Kumaran [Thu, 13 May 2010 03:25:21 +0000 (03:25 +0000)]
Fix Issue8657 - adding git and git+ssh as know schemes.
Mark Dickinson [Wed, 12 May 2010 19:53:36 +0000 (19:53 +0000)]
Fix unused variable in test_factorial.
Andrew M. Kuchling [Wed, 12 May 2010 18:56:48 +0000 (18:56 +0000)]
#8696: add documentation for logging.config.dictConfig (PEP 391)
Antoine Pitrou [Wed, 12 May 2010 14:02:34 +0000 (14:02 +0000)]
Improve _ssl.c formatting
Andrew M. Kuchling [Wed, 12 May 2010 13:56:07 +0000 (13:56 +0000)]
Grammar fix
Fred Drake [Wed, 12 May 2010 02:24:50 +0000 (02:24 +0000)]
- clarify Attr.name comment on the presence of colons in namespace mode
- document Attr.value
- wrap some long lines
Fred Drake [Wed, 12 May 2010 01:22:03 +0000 (01:22 +0000)]
fix error introduced in previous commit, and the adjacent additional typo
Andrew M. Kuchling [Wed, 12 May 2010 00:40:47 +0000 (00:40 +0000)]
Let's call this done
Andrew M. Kuchling [Wed, 12 May 2010 00:38:44 +0000 (00:38 +0000)]
Revision pass: lots of edits, typo fixes, rearrangements
Giampaolo Rodolà [Wed, 12 May 2010 00:29:27 +0000 (00:29 +0000)]
Removed the assertion that dispatcher.connected attribute must be False after a single connect() call. Solaris and FreeBSD buildbots failures showed how connect() can succeed even in a single call. All bo failures should definitively be fixed now.
Antoine Pitrou [Tue, 11 May 2010 23:42:28 +0000 (23:42 +0000)]
Issue #8681: Make the zlib module's error messages more informative when
the zlib itself doesn't give any detailed explanation.
Antoine Pitrou [Tue, 11 May 2010 23:32:31 +0000 (23:32 +0000)]
Issue #8672: Add a zlib test ensuring that an incomplete stream can be
handled by a decompressor object without errors (it returns incomplete
uncompressed data).
Brian Curtin [Tue, 11 May 2010 19:13:13 +0000 (19:13 +0000)]
#8575 - Update and reorganize some _winreg contents.
I've removed the hopeful note about a future higher-level module since
it's been in there for quite a long time and nothing of the sort has
come up. There are a few places where markup was added to cross-reference
other sections, and many of the external links have been removed and now
point to newly created sections containing previously undocumented
information.
The Value Types section was created and it's contents were taken from
a function-specific area, since it applies to more than just that
function. It fits in better with the other newly documented constants.
Fred Drake [Tue, 11 May 2010 18:12:27 +0000 (18:12 +0000)]
fix typo
Mark Dickinson [Tue, 11 May 2010 13:05:30 +0000 (13:05 +0000)]
Issue #8674: fix another bogus overflow check in audioop module.
Mark Dickinson [Tue, 11 May 2010 08:55:06 +0000 (08:55 +0000)]
Issue #8510: Remove nested 'main' functions (causing failure) in 3 configure tests;
remove some unnecessary '#include "confdefs.h"' lines. Thanks Roumen Petrov.
Andrew M. Kuchling [Mon, 10 May 2010 23:27:01 +0000 (23:27 +0000)]
Use ';' after initialization macros to avoid confusing re-indenters
Andrew M. Kuchling [Mon, 10 May 2010 23:24:09 +0000 (23:24 +0000)]
Break long line in macros
Andrew M. Kuchling [Mon, 10 May 2010 23:13:41 +0000 (23:13 +0000)]
Fix typo
Georg Brandl [Mon, 10 May 2010 21:51:33 +0000 (21:51 +0000)]
Fix typo.
Georg Brandl [Mon, 10 May 2010 21:50:57 +0000 (21:50 +0000)]
Consolidate deprecation messages.
Georg Brandl [Mon, 10 May 2010 21:46:50 +0000 (21:46 +0000)]
Fix reference direction.
Georg Brandl [Mon, 10 May 2010 21:02:51 +0000 (21:02 +0000)]
#8642: fix wrong function name.
Michael Foord [Mon, 10 May 2010 20:21:16 +0000 (20:21 +0000)]
Improving help message for python -m unittest. Issue 8303.
Florent Xicluna [Mon, 10 May 2010 19:59:22 +0000 (19:59 +0000)]
Add a link on maketrans().
Andrew M. Kuchling [Mon, 10 May 2010 17:18:25 +0000 (17:18 +0000)]
Move { out of #if...#else block; this confuses Emacs' C-mode
Mark Dickinson [Mon, 10 May 2010 16:07:42 +0000 (16:07 +0000)]
Issue #8674: Fix incorrect and UB-inducing overflow checks in audioop
module. Thanks Tomas Hoger for the patch.
Giampaolo Rodolà [Mon, 10 May 2010 15:33:22 +0000 (15:33 +0000)]
Issue #8490: adds a more solid test suite for asyncore
Andrew M. Kuchling [Mon, 10 May 2010 15:03:35 +0000 (15:03 +0000)]
Link to unittest2 article
Andrew M. Kuchling [Mon, 10 May 2010 14:20:12 +0000 (14:20 +0000)]
Use title case
Andrew M. Kuchling [Mon, 10 May 2010 14:18:27 +0000 (14:18 +0000)]
Markup fix; re-word a sentence
Benjamin Peterson [Sun, 9 May 2010 21:09:40 +0000 (21:09 +0000)]
finish clause
Mark Dickinson [Sun, 9 May 2010 20:42:09 +0000 (20:42 +0000)]
Wrap multiline macros in a 'do {} while(0)', for safety.
Mark Dickinson [Sun, 9 May 2010 20:30:29 +0000 (20:30 +0000)]
Post-detabification cleanup: whitespace fixes and long line rewraps only.
Antoine Pitrou [Sun, 9 May 2010 18:32:48 +0000 (18:32 +0000)]
Remove spurious newlines, and add version number.
Antoine Pitrou [Sun, 9 May 2010 15:15:11 +0000 (15:15 +0000)]
Fixup indentation of PC/_msi.c
Antoine Pitrou [Sun, 9 May 2010 14:46:46 +0000 (14:46 +0000)]
Untabify C files. Will watch buildbots.
Eric Smith [Sun, 9 May 2010 14:04:59 +0000 (14:04 +0000)]
Issue 8671: Whitespace fix.
Michael Foord [Sun, 9 May 2010 09:58:25 +0000 (09:58 +0000)]
Adding a test for unittest.BaseTestSuite.
Mark Dickinson [Sun, 9 May 2010 09:30:06 +0000 (09:30 +0000)]
Issue #8644: Improve accuracy of timedelta.total_seconds method.
(Backport of r80979 to py3k.) Thanks Alexander Belopolsky.
Gregory P. Smith [Sun, 9 May 2010 01:20:20 +0000 (01:20 +0000)]
Revert r81012. buildbot problems and its questionable of me to even
add this to trunk while we're on the way to 2.7rc1.
When fixed this can go into py3k first. Sorry.
Gregory P. Smith [Sat, 8 May 2010 23:38:49 +0000 (23:38 +0000)]
Fixes [issue7245] Better Ctrl-C support in pdb.
Benjamin Peterson [Sat, 8 May 2010 20:59:42 +0000 (20:59 +0000)]
remove svn:mergeinfo property
Jean-Paul Calderone [Sat, 8 May 2010 20:06:02 +0000 (20:06 +0000)]
Skip signal handler re-installation if it is not necessary. Issue 8354.
Mark Dickinson [Sat, 8 May 2010 19:13:21 +0000 (19:13 +0000)]
Fix configure bug that was misreporting availability of MacOS X 10.5 SDK as available on Linux but not on OS X.
Benjamin Peterson [Sat, 8 May 2010 18:53:42 +0000 (18:53 +0000)]
towards 2.7 release candidate 1
Benjamin Peterson [Sat, 8 May 2010 17:10:37 +0000 (17:10 +0000)]
tag second 2.7 beta
Benjamin Peterson [Sat, 8 May 2010 17:08:17 +0000 (17:08 +0000)]
bump version to 2.7 beta 2
Michael Foord [Sat, 8 May 2010 17:06:25 +0000 (17:06 +0000)]
unittest: issue 8301. Adding functions to test suites no longer crashes.
Benjamin Peterson [Sat, 8 May 2010 17:05:19 +0000 (17:05 +0000)]
update pydoc-topics
Benjamin Peterson [Sat, 8 May 2010 16:44:52 +0000 (16:44 +0000)]
run and fix enumerate start test cases #8636
Michael Foord [Sat, 8 May 2010 16:40:52 +0000 (16:40 +0000)]
Updating documentation and adding docstrings to unittest.TestCase.assertRegexpMatches and assertNotRegexpMatches. Issue 8038.
Benjamin Peterson [Sat, 8 May 2010 15:42:29 +0000 (15:42 +0000)]
add underscore
Benjamin Peterson [Sat, 8 May 2010 15:41:44 +0000 (15:41 +0000)]
r80967 introduced a new scheme
Andrew M. Kuchling [Sat, 8 May 2010 15:39:46 +0000 (15:39 +0000)]
Write summary of the 2.7 release; rewrite the future section some more;
mention PYTHONWARNINGS env. var; tweak some examples for readability.
And with this commit, the "What's New" is done... except for a
complete read-through to polish the text, and fixing any reported errors,
but those tasks can easily wait until after beta2.
Antoine Pitrou [Sat, 8 May 2010 15:23:57 +0000 (15:23 +0000)]
Revert r80963 - it broke compilation everywhere
Michael Foord [Sat, 8 May 2010 15:09:37 +0000 (15:09 +0000)]
Documenting test discovery from package name and potential problems with test discovery importing tests from the wrong location. Issue 7780 and issue 8547.
Andrew M. Kuchling [Sat, 8 May 2010 13:29:46 +0000 (13:29 +0000)]
Markup fixes
Andrew M. Kuchling [Sat, 8 May 2010 13:28:03 +0000 (13:28 +0000)]
Add logging.dictConfig example; give up on writing a Ttk example
Michael Foord [Sat, 8 May 2010 13:20:07 +0000 (13:20 +0000)]
Issue 7780. Adding a test for unittest test discovery from a dotted path.
Matthias Klose [Sat, 8 May 2010 11:04:18 +0000 (11:04 +0000)]
configure.in: Avoid autoconf warning: Assume C89 semantics that
RETSIGTYPE is always void (issue #8510).
pyconfig.h: Regenerate
Matthias Klose [Sat, 8 May 2010 11:01:39 +0000 (11:01 +0000)]
configure.in: convert all obsolete AC_TRY_* macros to AC_*_IFELSE,
only whitespace changes in generated configure (diff -uEwB).
Ronald Oussoren [Sat, 8 May 2010 10:29:06 +0000 (10:29 +0000)]
Issue #8084: ensure that the --user directory
conforms to platforms standars on OSX when
using a python framework.
Matthias Klose [Sat, 8 May 2010 10:17:27 +0000 (10:17 +0000)]
configure.in: s/AC_AIX/AC_USE_SYSTEM_EXTENSIONS/