]>
granicus.if.org Git - python/log
Nadeem Vawda [Sun, 26 Feb 2012 22:53:50 +0000 (00:53 +0200)]
Null merge.
Nadeem Vawda [Sun, 26 Feb 2012 22:42:58 +0000 (00:42 +0200)]
Issue #13873: Fix crash in test_zlib when running on a small (<4GB) tmpfs.
Georg Brandl [Sun, 26 Feb 2012 22:02:53 +0000 (23:02 +0100)]
Remove duplicate label.
Benjamin Peterson [Sun, 26 Feb 2012 20:54:47 +0000 (15:54 -0500)]
the days of pre-standard C compilers are gone
Antoine Pitrou [Sun, 26 Feb 2012 17:09:50 +0000 (18:09 +0100)]
Issue #14080: fix sporadic test_imp failure. Patch by Stefan Krah.
Charles-François Natali [Sun, 26 Feb 2012 16:27:32 +0000 (17:27 +0100)]
Issue #14107: test: Fix a deadlock involving the memory watchdog thread.
Gregory P. Smith [Sun, 26 Feb 2012 09:54:46 +0000 (01:54 -0800)]
Issue #14123: Explicitly mention that old style % string formatting has caveats but is not going away any time soon.
Gregory P. Smith [Sun, 26 Feb 2012 09:54:07 +0000 (01:54 -0800)]
Issue #14123: Explicitly mention that old style % string formatting has caveats
but is not going away any time soon.
Nick Coghlan [Sun, 26 Feb 2012 07:49:52 +0000 (17:49 +1000)]
Close issue #6210: Implement PEP 409
Ezio Melotti [Sun, 26 Feb 2012 07:39:55 +0000 (09:39 +0200)]
#14081: The sep and maxsplit parameter to str.split, bytes.split, and bytearray.split may now be passed as keyword arguments.
Éric Araujo [Sun, 26 Feb 2012 03:07:37 +0000 (04:07 +0100)]
Merge 3.2
Éric Araujo [Sun, 26 Feb 2012 03:01:54 +0000 (04:01 +0100)]
Branch merge
Éric Araujo [Sun, 26 Feb 2012 03:01:34 +0000 (04:01 +0100)]
Port the #6884 fix to packaging
Éric Araujo [Sun, 26 Feb 2012 03:00:43 +0000 (04:00 +0100)]
Branch merge
Éric Araujo [Sun, 26 Feb 2012 01:14:33 +0000 (02:14 +0100)]
Set archive format explicitly in one distutils test
Éric Araujo [Sun, 26 Feb 2012 01:14:08 +0000 (02:14 +0100)]
Fix typo in “seperat{or,ion}”
Éric Araujo [Sun, 26 Feb 2012 01:13:30 +0000 (02:13 +0100)]
Use const markup instead of a misleading string literal
Ezio Melotti [Sat, 25 Feb 2012 17:26:39 +0000 (19:26 +0200)]
#14114: merge with 3.2.
Ezio Melotti [Sat, 25 Feb 2012 17:24:24 +0000 (19:24 +0200)]
#14114: don't include copybutton.js in the htmlhelp output.
Éric Araujo [Sat, 25 Feb 2012 16:26:44 +0000 (17:26 +0100)]
Merge from 3.2
Éric Araujo [Sat, 25 Feb 2012 15:57:39 +0000 (16:57 +0100)]
Add news entry for previous commit
Éric Araujo [Sat, 25 Feb 2012 15:57:04 +0000 (16:57 +0100)]
Add test file for scripts in Tools (#13447).
When people find bugs in scripts such as reindent.py, msgfmt.py or
pygettext.py, we have to try to reproduce the bug manually, apply a fix
and test manually again. The alternative is to only read the code and
trust that it works. This test file is a way to stop that
unsatisfactory state of things and write proper unit tests instead.
Éric Araujo [Sat, 25 Feb 2012 15:32:18 +0000 (16:32 +0100)]
Merge 3.2
Éric Araujo [Sat, 25 Feb 2012 15:28:05 +0000 (16:28 +0100)]
Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).
These regex changes fix a number of issues for distutils on Windows:
- #6884: impossible to include a file starting with 'build'
- #9691 and #14004: sdist includes too many files
- #13193: test_filelist failures
This commit replaces the incorrect changes done in
0a94e2f807c7 and
90b30d62caf2 to fix #13193; we were too eager to fix the test failures
and I did not study the code enough before greenlighting patches. This
time we have unit tests from the problems reported by users to be sure
we have the right fix.
Thanks to Nadeem Vawda for his help.
Nadeem Vawda [Sat, 25 Feb 2012 13:58:36 +0000 (15:58 +0200)]
Use assertEqual in test_strptime for better failure messages (cf. issue #14113).
Stefan Krah [Sat, 25 Feb 2012 11:24:21 +0000 (12:24 +0100)]
- Issue #10181: New memoryview implementation fixes multiple ownership
and lifetime issues of dynamically allocated Py_buffer members (#9990)
as well as crashes (#8305, #7433). Many new features have been added
(See whatsnew/3.3), and the documentation has been updated extensively.
The ndarray test object from _testbuffer.c implements all aspects of
PEP-3118, so further development towards the complete implementation
of the PEP can proceed in a test-driven manner.
Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review
and many ideas.
- Issue #12834: Fix incorrect results of memoryview.tobytes() for
non-contiguous arrays.
- Issue #5231: Introduce memoryview.cast() method that allows changing
format and shape without making a copy of the underlying memory.
Martin v. Löwis [Sat, 25 Feb 2012 09:47:30 +0000 (10:47 +0100)]
Merge with 3.2
Martin v. Löwis [Sat, 25 Feb 2012 09:40:13 +0000 (10:40 +0100)]
Package mime.types
Philip Jenvey [Sat, 25 Feb 2012 05:48:17 +0000 (21:48 -0800)]
unused imports, pep8
Victor Stinner [Sat, 25 Feb 2012 00:22:36 +0000 (01:22 +0100)]
Close #14095: type.__new__() doesn't remove __qualname__ key from the class
dict anymore if the key is present. Reject also non-string qualified names.
And fix reference leaks in type.__new__().
Victor Stinner [Fri, 24 Feb 2012 23:47:08 +0000 (00:47 +0100)]
Oops, revert unwanted changes
Victor Stinner [Fri, 24 Feb 2012 23:43:27 +0000 (00:43 +0100)]
Issue #14107: fix bigmem tests on str.capitalize(), str.swapcase() and
str.title(). Compute correctly how much memory is required for the test
(memuse).
Benjamin Peterson [Fri, 24 Feb 2012 16:49:07 +0000 (11:49 -0500)]
merge heads
Benjamin Peterson [Fri, 24 Feb 2012 16:48:47 +0000 (11:48 -0500)]
merge 3.2
Benjamin Peterson [Fri, 24 Feb 2012 16:47:29 +0000 (11:47 -0500)]
merge 3.2.2 release branch for rc
Brett Cannon [Fri, 24 Feb 2012 16:20:54 +0000 (11:20 -0500)]
Simplify importib._resolve_name().
Antoine Pitrou [Fri, 24 Feb 2012 12:30:46 +0000 (13:30 +0100)]
Fix compilation error under Windows (and warnings too).
Ezio Melotti [Fri, 24 Feb 2012 10:44:04 +0000 (12:44 +0200)]
#13973: move a couple of imports at module level. Patch by Tshepang Lekhonkhobe.
Brett Cannon [Fri, 24 Feb 2012 01:48:13 +0000 (20:48 -0500)]
merge
Brett Cannon [Fri, 24 Feb 2012 01:47:57 +0000 (20:47 -0500)]
Turn _return_module() into _handle_fromlist().
Victor Stinner [Fri, 24 Feb 2012 00:44:47 +0000 (01:44 +0100)]
Issue #13706: Fix format(float, "n") for locale with non-ASCII decimal point (e.g. ps_aF)
Brett Cannon [Fri, 24 Feb 2012 00:34:55 +0000 (19:34 -0500)]
merge
Brett Cannon [Fri, 24 Feb 2012 00:34:35 +0000 (19:34 -0500)]
Make the benchmark recording more sensible for importlib.test.benchmark.
Victor Stinner [Thu, 23 Feb 2012 23:37:51 +0000 (00:37 +0100)]
Issue #13706: Fix format(int, "n") for locale with non-ASCII thousands separator
* Decode thousands separator and decimal point using PyUnicode_DecodeLocale()
(from the locale encoding), instead of decoding them implicitly from latin1
* Remove _PyUnicode_InsertThousandsGroupingLocale(), it was not used
* Change _PyUnicode_InsertThousandsGrouping() API to return the maximum
character if unicode is NULL
* Replace MIN/MAX macros by Py_MIN/Py_MAX
* stringlib/undef.h undefines STRINGLIB_IS_UNICODE
* stringlib/localeutil.h only supports Unicode
Brett Cannon [Thu, 23 Feb 2012 23:30:04 +0000 (18:30 -0500)]
merge
Brett Cannon [Thu, 23 Feb 2012 23:29:12 +0000 (18:29 -0500)]
Improper type for __package__ should raise TypeError, not ValueError.
Brett Cannon [Thu, 23 Feb 2012 23:18:48 +0000 (18:18 -0500)]
Do a type check instead of an interface check.
Victor Stinner [Thu, 23 Feb 2012 23:10:45 +0000 (00:10 +0100)]
Issue #13846: Enhance time.monotonic() documentation
Vinay Sajip [Thu, 23 Feb 2012 20:55:35 +0000 (20:55 +0000)]
Merged upstream changes.
Vinay Sajip [Thu, 23 Feb 2012 20:53:40 +0000 (20:53 +0000)]
Merged upstream changes.
Vinay Sajip [Thu, 23 Feb 2012 20:51:57 +0000 (20:51 +0000)]
Merged upstream changes.
Vinay Sajip [Thu, 23 Feb 2012 20:51:18 +0000 (20:51 +0000)]
Merged fix added for recent changes in non-threading environments.
Vinay Sajip [Thu, 23 Feb 2012 20:49:08 +0000 (20:49 +0000)]
Fix added for recent changes in non-threading environments.
Georg Brandl [Thu, 23 Feb 2012 20:19:41 +0000 (21:19 +0100)]
Added tag v3.2.3rc1 for changeset
7085403daf43
Georg Brandl [Thu, 23 Feb 2012 20:19:25 +0000 (21:19 +0100)]
Update copyright year.
Georg Brandl [Thu, 23 Feb 2012 20:19:18 +0000 (21:19 +0100)]
Add 3.2.3 to license.
Georg Brandl [Thu, 23 Feb 2012 20:17:27 +0000 (21:17 +0100)]
merge with 3.2
Georg Brandl [Thu, 23 Feb 2012 20:16:49 +0000 (21:16 +0100)]
merge heads
Georg Brandl [Thu, 23 Feb 2012 20:14:12 +0000 (21:14 +0100)]
Bump version to 3.2.3rc1.
Georg Brandl [Thu, 23 Feb 2012 20:12:41 +0000 (21:12 +0100)]
Update pydoc topics.
Georg Brandl [Thu, 23 Feb 2012 20:12:39 +0000 (21:12 +0100)]
Fix markup errors.
Vinay Sajip [Thu, 23 Feb 2012 20:03:49 +0000 (20:03 +0000)]
Merged logging flush/close changes from 3.2.
Vinay Sajip [Thu, 23 Feb 2012 19:45:52 +0000 (19:45 +0000)]
logging: Added locking in flush() and close() handler methods. Thanks to Fayaz Yusuf Khan for the suggestion.
Benjamin Peterson [Thu, 23 Feb 2012 15:54:36 +0000 (10:54 -0500)]
merge 3.2
Benjamin Peterson [Thu, 23 Feb 2012 15:54:28 +0000 (10:54 -0500)]
merge 3.1
Benjamin Peterson [Thu, 23 Feb 2012 15:53:44 +0000 (10:53 -0500)]
update copyright year
Benjamin Peterson [Thu, 23 Feb 2012 15:48:22 +0000 (10:48 -0500)]
merge 3.2
Benjamin Peterson [Thu, 23 Feb 2012 15:48:03 +0000 (10:48 -0500)]
merge 3.1 (with 3.1.5rc1 release tag)
Benjamin Peterson [Thu, 23 Feb 2012 15:46:00 +0000 (10:46 -0500)]
Added tag v3.1.5rc1 for changeset
ee26aca3219c
Benjamin Peterson [Thu, 23 Feb 2012 15:45:48 +0000 (10:45 -0500)]
version now 3.1.5rc1
Brett Cannon [Thu, 23 Feb 2012 15:17:56 +0000 (10:17 -0500)]
Merge
Nadeem Vawda [Thu, 23 Feb 2012 12:23:17 +0000 (14:23 +0200)]
Simplify zlib bigmem tests.
Nadeem Vawda [Thu, 23 Feb 2012 12:16:15 +0000 (14:16 +0200)]
Fix previous fix (for test_zlib) to work on 32-bit systems.
Nadeem Vawda [Thu, 23 Feb 2012 11:36:25 +0000 (13:36 +0200)]
Issue #13873: Fix crash in test_zlib on bigmem buildbot.
Brett Cannon [Wed, 22 Feb 2012 23:33:05 +0000 (18:33 -0500)]
Refactor importlib to make it easier to re-implement in C.
Victor Stinner [Wed, 22 Feb 2012 20:22:20 +0000 (21:22 +0100)]
Fix doc of an internal function: unicode_write_cstr()
Charles-François Natali [Wed, 22 Feb 2012 20:03:09 +0000 (21:03 +0100)]
Issue #14077: importlib: Fix regression introduced by
de6703671386 .
Antoine Pitrou [Wed, 22 Feb 2012 18:23:13 +0000 (19:23 +0100)]
Null merge
Antoine Pitrou [Wed, 22 Feb 2012 17:08:30 +0000 (18:08 +0100)]
Issue #14084: Fix a file descriptor leak when importing a module with a bad encoding.
Antoine Pitrou [Wed, 22 Feb 2012 17:05:43 +0000 (18:05 +0100)]
Issue #14084: Fix a file descriptor leak when importing a module with a bad encoding.
Antoine Pitrou [Wed, 22 Feb 2012 17:03:04 +0000 (18:03 +0100)]
In find_module(), do not silence fileno() and dup() errors.
Antoine Pitrou [Wed, 22 Feb 2012 15:41:50 +0000 (16:41 +0100)]
Fix compile failure under Windows
Victor Stinner [Wed, 22 Feb 2012 12:55:02 +0000 (13:55 +0100)]
Optimize str%arg for number formats: %i, %d, %u, %x, %p
Write a specialized function to write an ASCII/latin1 C char* string into a
Python Unicode string.
Victor Stinner [Wed, 22 Feb 2012 12:37:39 +0000 (13:37 +0100)]
Micro-optimize computation of maxchar in PyUnicode_TransformDecimalToASCII()
Victor Stinner [Wed, 22 Feb 2012 12:37:04 +0000 (13:37 +0100)]
Micro-optimize unicode_expandtabs(): use FILL() macro to write N spaces
Victor Stinner [Wed, 22 Feb 2012 12:36:20 +0000 (13:36 +0100)]
PyUnicode_New() and unicode_putchar() check for MAX_UNICODE maximum (U+10FFFF)
Nadeem Vawda [Wed, 22 Feb 2012 09:53:09 +0000 (11:53 +0200)]
Merge: #14053: Fix "make patchcheck" to work with MQ.
Patch by Francisco Martín Brugué
Nadeem Vawda [Wed, 22 Feb 2012 09:46:41 +0000 (11:46 +0200)]
Issue #14053: Fix "make patchcheck" to work with MQ.
Patch by Francisco Martín Brugué
Ross Lagerwall [Wed, 22 Feb 2012 04:02:07 +0000 (06:02 +0200)]
Fix sporadic test_subprocess regression introduced by
834650d63130 .
Antoine Pitrou [Wed, 22 Feb 2012 02:33:56 +0000 (03:33 +0100)]
Fix (presumably) test_hash under big-endian systems (PPC).
Antoine Pitrou [Wed, 22 Feb 2012 02:33:56 +0000 (03:33 +0100)]
Fix (presumably) test_hash under big-endian systems (PPC).
Antoine Pitrou [Wed, 22 Feb 2012 01:46:58 +0000 (02:46 +0100)]
Additional debug info in case of failure
Antoine Pitrou [Wed, 22 Feb 2012 01:30:09 +0000 (02:30 +0100)]
unload() should be sufficient
Antoine Pitrou [Wed, 22 Feb 2012 00:11:31 +0000 (01:11 +0100)]
Try to debug sporadic test failures
Benjamin Peterson [Tue, 21 Feb 2012 23:03:26 +0000 (18:03 -0500)]
remove unapplicable statement
Georg Brandl [Tue, 21 Feb 2012 21:37:36 +0000 (22:37 +0100)]
merge with 3.2
Georg Brandl [Tue, 21 Feb 2012 21:36:37 +0000 (22:36 +0100)]
merge with 3.2
Georg Brandl [Tue, 21 Feb 2012 21:36:27 +0000 (22:36 +0100)]
Remove reST markup from --help output. Also: O(n**2) is dict construction, not single insertion.
Victor Stinner [Tue, 21 Feb 2012 21:10:16 +0000 (22:10 +0100)]
site: don't import traceback at startup to speed up Python startup
Benjamin Peterson [Tue, 21 Feb 2012 21:08:05 +0000 (16:08 -0500)]
enable hash randomization by default