]>
granicus.if.org Git - python/log
Mark Dickinson [Sat, 25 Jun 2011 09:00:12 +0000 (11:00 +0200)]
Issue #12164: Document (in docstring) that str.translate accepts None for the first argument.
Ross Lagerwall [Sat, 25 Jun 2011 07:55:10 +0000 (09:55 +0200)]
Issue 12404: Remove C89 incompatible code from mmap module.
Patch by Akira Kitada.
R David Murray [Fri, 24 Jun 2011 01:19:25 +0000 (21:19 -0400)]
#9921: clarify os.path.join joining algorithm
The new wording is based on the comments in the code, which
match the actual behavior.
R David Murray [Thu, 23 Jun 2011 00:00:27 +0000 (20:00 -0400)]
#12389: fix missing space at sentence end.
Victor Stinner [Mon, 20 Jun 2011 20:07:06 +0000 (22:07 +0200)]
Revert
d370d609d09b as requested by Terry Jan Reedy:
"#3067: locale.setlocale() accepts a Unicode locale."
Victor Stinner [Mon, 20 Jun 2011 15:54:33 +0000 (17:54 +0200)]
Issue #12285: multiprocessing.Pool() raises a ValueError if the number of
processes if negative or null.
Senthil Kumaran [Mon, 20 Jun 2011 14:37:03 +0000 (07:37 -0700)]
merge heads
Senthil Kumaran [Mon, 20 Jun 2011 14:34:48 +0000 (07:34 -0700)]
merge 3.2 - Fix closes Issue12359 - Removing a confusing sentence from the previous change.
Victor Stinner [Mon, 20 Jun 2011 14:14:48 +0000 (16:14 +0200)]
Close #3067: locale.setlocale() accepts a Unicode locale.
Senthil Kumaran [Mon, 20 Jun 2011 00:45:36 +0000 (17:45 -0700)]
Fix issue12359. Minor doc update on import module description.
R David Murray [Sat, 18 Jun 2011 23:31:22 +0000 (19:31 -0400)]
#6771: fix docs: curses.wrapper is exposed as a function, not a module
Patch by July Tikhonov.
R David Murray [Sat, 18 Jun 2011 02:23:04 +0000 (22:23 -0400)]
#11700: proxy object close methods can now be called multiple times
This makes them work like the close provided by regular file objects. This
patch also backports the close-the-underlying-file code for _ProxyFile objects
that was introduced along with context manager support in the 3.x branch.
Victor Stinner [Fri, 17 Jun 2011 12:06:27 +0000 (14:06 +0200)]
Issue #12133: AbstractHTTPHandler.do_open() of urllib.request closes the HTTP
connection if its getresponse() method fails with a socket error. Patch written
by Ezio Melotti.
Benjamin Peterson [Thu, 16 Jun 2011 23:49:46 +0000 (18:49 -0500)]
update link to pycrypto (closes #12351)
Vinay Sajip [Mon, 13 Jun 2011 13:59:36 +0000 (14:59 +0100)]
Closes #12206: documentation update for LogRecord constructor and Formatter.formatTime.
Benjamin Peterson [Sat, 11 Jun 2011 20:53:11 +0000 (15:53 -0500)]
allow "fake" filenames in findsource (closes #9284)
This allows findsource() to work in doctests.
A patch from Dirkjan Ochtman.
Benjamin Peterson [Sat, 11 Jun 2011 16:33:54 +0000 (11:33 -0500)]
onto 2.7.3
Benjamin Peterson [Sat, 11 Jun 2011 14:51:21 +0000 (09:51 -0500)]
merge 2.7.2 release branch
Benjamin Peterson [Sat, 11 Jun 2011 14:50:36 +0000 (09:50 -0500)]
Added tag v2.7.2 for changeset
8527427914a2
Benjamin Peterson [Sat, 11 Jun 2011 14:50:21 +0000 (09:50 -0500)]
update pydoc-topics
Benjamin Peterson [Sat, 11 Jun 2011 14:42:44 +0000 (09:42 -0500)]
bump to 2.7.2 final
Benjamin Peterson [Fri, 10 Jun 2011 16:33:58 +0000 (11:33 -0500)]
merge heads
Benjamin Peterson [Fri, 10 Jun 2011 16:33:41 +0000 (11:33 -0500)]
merge 2.7.2 release branch with fix for #12009
Benjamin Peterson [Fri, 10 Jun 2011 16:32:52 +0000 (11:32 -0500)]
fix regression in netrc comment handling (closes #12009)
Eli Bendersky [Fri, 10 Jun 2011 07:36:34 +0000 (10:36 +0300)]
Issue #12223: Typo fix in datamodel docs
R David Murray [Thu, 9 Jun 2011 20:01:09 +0000 (16:01 -0400)]
#10694: zipfile now ignores garbage at the end of a zipfile.
Original fix by 'rep', final patch (with tests) by Xuanji Li.
Brian Curtin [Thu, 9 Jun 2011 15:00:42 +0000 (10:00 -0500)]
Correction to
f1509fc75435 - Issue #11583
Rather than wrapping the C _isdir function in a Python function,
just import the C _isdir function directly. Additionally, add in the
docstring which was left out.
Éric Araujo [Thu, 9 Jun 2011 12:26:10 +0000 (14:26 +0200)]
Fix a few misuses of :option: I missed in r86521.
Extract of the commit message:
Fix usage of :option: in the docs (#9312).
:option: is used to create a link to an option of python, not to mark
up any instance of any arbitrary command-line option. These were
changed to ````.
Éric Araujo [Thu, 9 Jun 2011 11:14:12 +0000 (13:14 +0200)]
Branch merge
Brian Curtin [Thu, 9 Jun 2011 00:29:53 +0000 (19:29 -0500)]
Merge
Éric Araujo [Tue, 7 Jun 2011 23:11:36 +0000 (01:11 +0200)]
Add examples that work on Windows to distutils docs (#
1626300 )
Éric Araujo [Mon, 6 Jun 2011 15:11:31 +0000 (17:11 +0200)]
Branch merge
Benjamin Peterson [Sun, 5 Jun 2011 17:51:18 +0000 (12:51 -0500)]
merge 2.7.2 release branch
Martin v. Löwis [Sun, 5 Jun 2011 08:44:18 +0000 (10:44 +0200)]
Stop adding txt files twice.
Martin v. Löwis [Sun, 5 Jun 2011 08:43:45 +0000 (10:43 +0200)]
Add 2.7.2 UUIDs
Éric Araujo [Sat, 4 Jun 2011 18:45:33 +0000 (20:45 +0200)]
Remove unnecessary executable bit on one distutils file
Mark Dickinson [Sat, 4 Jun 2011 17:24:15 +0000 (18:24 +0100)]
Issue #12080: Fix a performance issue in Decimal._power_exact that caused some corner-case Decimal.__pow__ calls to take an unreasonably long time.
Éric Araujo [Sat, 4 Jun 2011 16:35:04 +0000 (18:35 +0200)]
Remove outdated bit of advice (
c882b5ff92d9 follow-up)
Barry Warsaw [Sat, 4 Jun 2011 00:07:41 +0000 (20:07 -0400)]
Null merge from 2.6.
Barry Warsaw [Sat, 4 Jun 2011 00:05:48 +0000 (20:05 -0400)]
Replay svn r88852.
Barry Warsaw [Sat, 4 Jun 2011 00:02:47 +0000 (20:02 -0400)]
Replay svn r88850.
Victor Stinner [Fri, 3 Jun 2011 21:56:43 +0000 (23:56 +0200)]
Issue #12016: Add test_errorhandle() to TestBase_Mapping of
test_multibytecodec_support. Improve also error message of the
test_errorhandle() of TestBase.
Victor Stinner [Fri, 3 Jun 2011 21:35:27 +0000 (23:35 +0200)]
Issue #12016: Reindent decoders of HK and JP codecs
Benjamin Peterson [Fri, 3 Jun 2011 21:17:48 +0000 (16:17 -0500)]
merge 2.7.2 release branch
Benjamin Peterson [Fri, 3 Jun 2011 21:17:22 +0000 (16:17 -0500)]
another benefit of this change
Éric Araujo [Fri, 3 Jun 2011 17:25:58 +0000 (19:25 +0200)]
Document working dir for “make html” (#12249). Patch by Tshepang Lekhonkhobe.
Raymond Hettinger [Fri, 3 Jun 2011 03:40:35 +0000 (20:40 -0700)]
Fix named tuples to work with vars().
Raymond Hettinger [Thu, 2 Jun 2011 01:21:42 +0000 (18:21 -0700)]
sys.checkinterval() now refreshes the current countdown ticker.
Raymond Hettinger [Wed, 1 Jun 2011 23:01:21 +0000 (16:01 -0700)]
Cleanup example
Raymond Hettinger [Wed, 1 Jun 2011 22:50:34 +0000 (15:50 -0700)]
Multiple clean-ups to the docs for builtin functions.
* Use concrete example for dir() and eliminate the distracting doctest directives.
* Add a pure python equivalent for enumerate()
* Modify the enumerate() example to demonstrate the start argument
* Remove incorrect reference the *iterable* in the enumerate() docs.
* Downgrade the comments on input() from a warning to a note.
* Fix the iter() example to use the empty string as the terminating
condition for file.readline(). Also, the old example was broken
because readline() results include a newline, so 'STOP\n' would have
been the correct terminating condition. Even with that fix, the
STOP example was fragile and would have lead to infinite loops with
malformed inputs.
* Do not refer to classmethod as being "more advanced" than staticmethod.
Raymond Hettinger [Wed, 1 Jun 2011 21:57:13 +0000 (14:57 -0700)]
Link to suggestions for how to use super().
Éric Araujo [Wed, 1 Jun 2011 17:28:26 +0000 (19:28 +0200)]
Branch merge
Benjamin Peterson [Wed, 1 Jun 2011 00:12:11 +0000 (19:12 -0500)]
merge release tag
Benjamin Peterson [Wed, 1 Jun 2011 00:08:12 +0000 (19:08 -0500)]
merge heads
Benjamin Peterson [Wed, 1 Jun 2011 00:01:23 +0000 (19:01 -0500)]
merge 2.7.2 release branch
Benjamin Peterson [Tue, 31 May 2011 23:59:49 +0000 (18:59 -0500)]
simply use the Python version for pyexpat.__version__ #12221
Victor Stinner [Tue, 31 May 2011 23:57:48 +0000 (01:57 +0200)]
Issue #12085: Fix test_subprocess for my previous commit
Replace support by test_support, and add captured_stderr() function.
Benjamin Peterson [Tue, 31 May 2011 23:44:55 +0000 (18:44 -0500)]
add 2.7.2 header
Victor Stinner [Tue, 31 May 2011 23:03:00 +0000 (01:03 +0200)]
Close #12085: Fix an attribute error in subprocess.Popen destructor if the
constructor has failed, e.g. because of an undeclared keyword argument. Patch
written by Oleg Oshmyan.
Éric Araujo [Tue, 31 May 2011 19:50:22 +0000 (21:50 +0200)]
Fix markup: arguments in a class directive are __init__ arguments, not base classes
Éric Araujo [Tue, 31 May 2011 12:08:40 +0000 (14:08 +0200)]
Fix error message to use the Python name instead of the C name
Victor Stinner [Mon, 30 May 2011 21:58:21 +0000 (23:58 +0200)]
Issue #12057: Add tests for ISO 2022 codecs
iso2022_jp, iso2022_jp_2 and iso2022_kr
Victor Stinner [Mon, 30 May 2011 21:49:13 +0000 (23:49 +0200)]
Issue #1195: fix the issue number of the NEWS entry
Victor Stinner [Mon, 30 May 2011 21:44:13 +0000 (23:44 +0200)]
Issue #12016: my_fgets() now always clears errors before calling fgets(). Fix
the following case: sys.stdin.read() stopped with CTRL+d (end of file),
raw_input() interrupted by CTRL+c.
Benjamin Peterson [Sun, 29 May 2011 21:50:40 +0000 (16:50 -0500)]
Added tag v2.7.2rc1 for changeset
f48756685406
Benjamin Peterson [Sun, 29 May 2011 21:50:27 +0000 (16:50 -0500)]
bump to 2.7.2rc1
Éric Araujo [Sun, 29 May 2011 15:57:29 +0000 (17:57 +0200)]
Branch merge
Ned Deily [Sun, 29 May 2011 09:36:17 +0000 (02:36 -0700)]
Issue #12205: Fix test_subprocess failure due to uninstalled test data.
Éric Araujo [Sat, 28 May 2011 22:31:30 +0000 (00:31 +0200)]
Re-add missing doc stub for the distutils check command
Éric Araujo [Sat, 28 May 2011 22:11:59 +0000 (00:11 +0200)]
Backport doc improvements for distutils.cmd.Command (#9223).
Original commit by Georg Brandl.
Éric Araujo [Sat, 28 May 2011 21:21:19 +0000 (23:21 +0200)]
Fix test_distutils when sys.dont_write_bytecode is true (#9831).
The tests now pass all combinations of -O/-OO and -B. See also #7071
and #6292 for previous variations on the same theme.
Ned Deily [Sat, 28 May 2011 12:56:14 +0000 (05:56 -0700)]
Issue #11217: For 64-bit/32-bit Mac OS X universal framework builds,
ensure "make install" creates symlinks in --prefix bin for the "-32"
files in the framework bin directory like the installer does.
Martin v. Löwis [Sat, 28 May 2011 12:14:17 +0000 (14:14 +0200)]
Nearly null-merge 2.5.6
Martin v. Löwis [Sat, 28 May 2011 12:13:32 +0000 (14:13 +0200)]
Nearly null-merge 2.5.6
Martin v. Löwis [Sat, 28 May 2011 12:06:55 +0000 (14:06 +0200)]
merge 2.5.6c1 tag
Martin v. Löwis [Sat, 28 May 2011 12:05:31 +0000 (14:05 +0200)]
Added tag v2.5.6c1 for changeset
a87c7b96672b
Martin v. Löwis [Sat, 28 May 2011 12:00:37 +0000 (14:00 +0200)]
Added tag v2.5.6 for changeset
de34c7b097e8
Martin v. Löwis [Sat, 28 May 2011 11:58:36 +0000 (13:58 +0200)]
r88840: Prepare for 2.5.6.
Martin v. Löwis [Sat, 28 May 2011 11:57:28 +0000 (13:57 +0200)]
r88828: Fix year.
Martin v. Löwis [Sat, 28 May 2011 11:56:22 +0000 (13:56 +0200)]
r88824: Prepare for 2.5.6c1.
Ned Deily [Sat, 28 May 2011 07:11:54 +0000 (00:11 -0700)]
Issue #9670: Increase the default stack size for secondary threads on
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(patch by Ronald Oussoren)
Benjamin Peterson [Thu, 26 May 2011 14:57:21 +0000 (09:57 -0500)]
merge heads
Benjamin Peterson [Thu, 26 May 2011 14:56:41 +0000 (09:56 -0500)]
raise an ValueError in getvalue() on closed StringIO (closes #12161)
Thanks for Catalin Iacob for the patch.
Éric Araujo [Thu, 26 May 2011 14:52:22 +0000 (16:52 +0200)]
Branch merge
Victor Stinner [Thu, 26 May 2011 11:37:25 +0000 (13:37 +0200)]
Close #12182: Fix pydoc.HTMLDoc.multicolumn() if Python uses the new (true)
division (python -Qnew). Patch written by Ralf W. Grosse-Kunstleve.
Kurt B. Kaiser [Thu, 26 May 2011 02:36:51 +0000 (22:36 -0400)]
IDLE: #6378: Further adjust idle.bat to start associated Python
Victor Stinner [Wed, 25 May 2011 20:52:37 +0000 (22:52 +0200)]
Issue #12175: RawIOBase.readall() now returns None if read() returns None.
Victor Stinner [Wed, 25 May 2011 20:15:36 +0000 (22:15 +0200)]
Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError if
the file is closed.
Éric Araujo [Wed, 25 May 2011 16:11:43 +0000 (18:11 +0200)]
Fix display of html.parser.HTMLParser.feed docstrin
Éric Araujo [Wed, 25 May 2011 16:11:24 +0000 (18:11 +0200)]
Add missing name in pkgutil.__all__
Éric Araujo [Wed, 25 May 2011 16:06:35 +0000 (18:06 +0200)]
Branch merge
Éric Araujo [Wed, 25 May 2011 16:06:16 +0000 (18:06 +0200)]
Fix two typos
Victor Stinner [Tue, 24 May 2011 23:19:57 +0000 (01:19 +0200)]
Issue #12057: Add cjkencodings directory to the Makefile and Tools/msi/msi.py
Victor Stinner [Tue, 24 May 2011 22:19:07 +0000 (00:19 +0200)]
Issue #12057: Add tests for the HZ encoding
Charles-François Natali [Tue, 24 May 2011 21:10:54 +0000 (23:10 +0200)]
Issue #
1441530 : In imaplib, use makefile() to wrap the SSL socket to avoid
heap fragmentation and MemoryError with some malloc implementations.
Victor Stinner [Tue, 24 May 2011 20:29:13 +0000 (22:29 +0200)]
Issue #12100: Don't reset incremental encoders of CJK codecs at each call to
their encode() method anymore, but continue to call the reset() method if the
final argument is True.
Benjamin Peterson [Tue, 24 May 2011 17:42:51 +0000 (12:42 -0500)]
use '->' to indicate return values
Benjamin Peterson [Mon, 23 May 2011 23:17:55 +0000 (18:17 -0500)]
must clear an AttributeError if it is set
Benjamin Peterson [Mon, 23 May 2011 22:11:21 +0000 (17:11 -0500)]
handle old-style instances
Benjamin Peterson [Mon, 23 May 2011 21:11:05 +0000 (16:11 -0500)]
correctly lookup __dir__