]>
granicus.if.org Git - python/log
Jesus Cea [Sat, 7 Jul 2012 12:56:04 +0000 (14:56 +0200)]
Cope with OSs lying - #10142: Support for SEEK_HOLE/SEEK_DATA
Nick Coghlan [Sat, 7 Jul 2012 12:53:46 +0000 (22:53 +1000)]
Issue 14814: Further clean ups to the ipaddress tutorial
Nick Coghlan [Sat, 7 Jul 2012 12:15:22 +0000 (22:15 +1000)]
Issue 14814: Explain how to get more error detail in the ipaddress tutorial, and tweak the display for octet errors in IPv4 (noticed the formatting problem when adding to the docs)
Mark Dickinson [Sat, 7 Jul 2012 12:08:48 +0000 (14:08 +0200)]
Use correct types for ASCII_CHAR_MASK integer constants.
Nick Coghlan [Sat, 7 Jul 2012 11:43:30 +0000 (21:43 +1000)]
Issue 14814: Make the ipaddress code easier to follow by using newer language features (patch by Serhiy Storchaka)
Florent Xicluna [Sat, 7 Jul 2012 11:16:44 +0000 (13:16 +0200)]
Minor refactoring in importlib._bootstrap, and fix the '_wrap' docstring.
Florent Xicluna [Sat, 7 Jul 2012 11:16:44 +0000 (13:16 +0200)]
Minor refactoring in xml.etree.ElementTree doctype parser.
Florent Xicluna [Sat, 7 Jul 2012 10:26:56 +0000 (12:26 +0200)]
Merge branch
Florent Xicluna [Sat, 7 Jul 2012 10:13:35 +0000 (12:13 +0200)]
Issue #14990: tokenize: correctly fail with SyntaxError on invalid encoding declaration.
Nick Coghlan [Sat, 7 Jul 2012 09:23:53 +0000 (19:23 +1000)]
Issue 14814: Provide more informative error messages in ipaddress, and ensure that errors are caught as expected
Nick Coghlan [Sat, 7 Jul 2012 03:34:50 +0000 (13:34 +1000)]
Issue 14814: %s implies coercion with str() - remove a lot of redundant str() calls from the ipaddress implementation
doko@ubuntu.com [Sat, 7 Jul 2012 01:06:42 +0000 (03:06 +0200)]
- Issue #15268: Search curses.h in /usr/include/ncursesw.
Antoine Pitrou [Fri, 6 Jul 2012 16:52:58 +0000 (18:52 +0200)]
Issue #15247: FileIO now raises an error when given a file descriptor pointing to a directory.
Antoine Pitrou [Fri, 6 Jul 2012 16:48:24 +0000 (18:48 +0200)]
Issue #15247: FileIO now raises an error when given a file descriptor pointing to a directory.
Nick Coghlan [Fri, 6 Jul 2012 15:43:31 +0000 (01:43 +1000)]
Issue 14814: Eliminate bytes warnings from ipaddress by correctly throwing an exception early when given bytes data of the wrong length. Also removes 2.x backwards compatibility code from associated tests.
Nick Coghlan [Fri, 6 Jul 2012 15:13:55 +0000 (01:13 +1000)]
Issue 14814: Better handling of cases where octet/hextet parsing fails, including ensuring that tracebacks are still clean even when calling class constructors directly
Richard Oudkerk [Fri, 6 Jul 2012 11:05:32 +0000 (12:05 +0100)]
Issue #15261: Stop os.stat(fd) crashing on Windows when fd not open.
Antoine Pitrou [Thu, 5 Jul 2012 18:57:33 +0000 (20:57 +0200)]
Issue #15020: The program name used to search for Python's path is now python3 under Unix, not python.
Antoine Pitrou [Thu, 5 Jul 2012 18:56:30 +0000 (20:56 +0200)]
Issue #15020: The program name used to search for Python's path is now "python3" under Unix, not "python".
Senthil Kumaran [Thu, 5 Jul 2012 02:33:45 +0000 (19:33 -0700)]
Fix issue # 15033 - Return the proper exitcode for failure when modules are invoked using -m switch. Patch contributed by Jeff Knupp
Senthil Kumaran [Thu, 5 Jul 2012 02:28:16 +0000 (19:28 -0700)]
Fix issue # 15033 - Return the proper exitcode for failure when modules are invoked using -m switch. Patch contributed by Jeff Knupp
Brett Cannon [Wed, 4 Jul 2012 18:03:40 +0000 (14:03 -0400)]
Issue #15210: Greatly simplify the test for supporting importlib
working without _frozen_importlib by moving to an import over a direct
access in sys.modules.
Mark Dickinson [Wed, 4 Jul 2012 09:07:06 +0000 (11:07 +0200)]
Fix undefined names in __all__.
Raymond Hettinger [Wed, 4 Jul 2012 00:55:23 +0000 (17:55 -0700)]
Make ANSI the default output style
Raymond Hettinger [Tue, 3 Jul 2012 21:42:33 +0000 (14:42 -0700)]
Add examples to the module docstring
Raymond Hettinger [Tue, 3 Jul 2012 21:25:16 +0000 (14:25 -0700)]
Fix spelling.
Raymond Hettinger [Tue, 3 Jul 2012 21:11:40 +0000 (14:11 -0700)]
Add support for ANSI escape sequences
Vinay Sajip [Tue, 3 Jul 2012 20:36:36 +0000 (21:36 +0100)]
Closes #14902: Fixed timezone conversion of a date/time in the past. Thanks to Yuriy Syrovetskiy for the report and Juancarlo AƱez for the patch on which this fix is based.
Raymond Hettinger [Tue, 3 Jul 2012 20:13:52 +0000 (13:13 -0700)]
Refactor to isolate HTML encoding step from the parsing step.
Vinay Sajip [Tue, 3 Jul 2012 16:26:55 +0000 (17:26 +0100)]
Closes #15241: Added information on venv prefixes to pyvenv section.
Vinay Sajip [Tue, 3 Jul 2012 15:56:40 +0000 (16:56 +0100)]
Issue #15241: Added test for venv prefixes.
Vinay Sajip [Tue, 3 Jul 2012 15:33:57 +0000 (16:33 +0100)]
Issue 15241: Improved site.py documentation relating to venvs.
Jesus Cea [Tue, 3 Jul 2012 11:18:30 +0000 (13:18 +0200)]
NULL MERGE: Issue #1677: Unused variable warning in Non-Windows
Jesus Cea [Tue, 3 Jul 2012 11:15:03 +0000 (13:15 +0200)]
Issue #1677: Unused variable warning in Non-Windows
Raymond Hettinger [Tue, 3 Jul 2012 07:15:59 +0000 (00:15 -0700)]
Fix keyword argument
Raymond Hettinger [Tue, 3 Jul 2012 07:12:27 +0000 (00:12 -0700)]
Minor cleanups
Raymond Hettinger [Tue, 3 Jul 2012 00:17:16 +0000 (17:17 -0700)]
Use new-style string formatting for the HTML template
Raymond Hettinger [Mon, 2 Jul 2012 20:54:33 +0000 (13:54 -0700)]
Clean-up unused variable
Raymond Hettinger [Mon, 2 Jul 2012 20:29:57 +0000 (13:29 -0700)]
Do HTML escaping after the tokenization step.
Brett Cannon [Mon, 2 Jul 2012 19:13:11 +0000 (15:13 -0400)]
Issue #15166: Re-implement imp.get_tag() using sys.implementation.
Also eliminates some C code in Python/import.c as well.
Patch by Eric Snow with verification by comparing against another
patch from Jeff Knupp.
Brett Cannon [Mon, 2 Jul 2012 18:53:10 +0000 (14:53 -0400)]
Issue #15210: If _frozen_importlib is not found in sys.modules by
importlib.__init__, then catch the KeyError raised, not ImportError.
Brett Cannon [Mon, 2 Jul 2012 18:35:34 +0000 (14:35 -0400)]
Closes #15030: Make importlib.abc.PyPycLoader respect the new .pyc
file size header field.
Thanks to Marc Abramowitz and Ronan Lamy for helping out with various
parts of the patch.
Stefan Krah [Sun, 1 Jul 2012 10:24:20 +0000 (12:24 +0200)]
Remove ISSUES.txt.
doko@ubuntu.com [Sun, 1 Jul 2012 08:35:54 +0000 (10:35 +0200)]
- Issue #15235: Allow Berkley DB versions up to 5.3 to build the dbm module.
Georg Brandl [Sun, 1 Jul 2012 08:04:35 +0000 (10:04 +0200)]
Fix filename.
Georg Brandl [Sun, 1 Jul 2012 07:56:07 +0000 (09:56 +0200)]
Merge with 3.2.
Georg Brandl [Sun, 1 Jul 2012 07:47:54 +0000 (09:47 +0200)]
Make call of os.getppid() conditional: it is not available on Windows.
Georg Brandl [Sun, 1 Jul 2012 07:43:20 +0000 (09:43 +0200)]
Fix inconsistent function name in embedding howto.
Raymond Hettinger [Sun, 1 Jul 2012 07:37:05 +0000 (00:37 -0700)]
Limit which operators get colorized
Raymond Hettinger [Sun, 1 Jul 2012 06:19:30 +0000 (23:19 -0700)]
Set title to the source filename
Raymond Hettinger [Sun, 1 Jul 2012 05:19:04 +0000 (22:19 -0700)]
Small cleanups
Raymond Hettinger [Sun, 1 Jul 2012 00:10:25 +0000 (17:10 -0700)]
Fix local variable
Raymond Hettinger [Sun, 1 Jul 2012 00:00:14 +0000 (17:00 -0700)]
Add author tag
Raymond Hettinger [Sat, 30 Jun 2012 23:58:06 +0000 (16:58 -0700)]
Add syntax highlighter tool
doko@ubuntu.com [Sat, 30 Jun 2012 23:08:20 +0000 (01:08 +0200)]
- Issue #15194: check in the missing m4/ax_append_flag.m4 file.
Regenerate aclocalm4 and configure.
doko@ubuntu.com [Sat, 30 Jun 2012 22:38:34 +0000 (00:38 +0200)]
null merge
doko@ubuntu.com [Sat, 30 Jun 2012 22:37:47 +0000 (00:37 +0200)]
- Issue #15194: check in the missing m4/ax_check_compile_flag.m4 file.
Regenerate aclocalm4 and configure.
doko@ubuntu.com [Sat, 30 Jun 2012 22:23:51 +0000 (00:23 +0200)]
- Issue #14330: Don't derive the include and library search dirs
from GCC for native builds
Antoine Pitrou [Sat, 30 Jun 2012 21:37:47 +0000 (23:37 +0200)]
Issue #15229: An OSError subclass whose __init__ doesn't call back
OSError.__init__ could produce incomplete instances, leading to crashes
when calling str() on them.
doko@ubuntu.com [Sat, 30 Jun 2012 21:28:09 +0000 (23:28 +0200)]
- fix the OS X build failure, only try to remove the temporary file if it exists
Antoine Pitrou [Sat, 30 Jun 2012 21:03:18 +0000 (23:03 +0200)]
Merge
Antoine Pitrou [Sat, 30 Jun 2012 20:56:37 +0000 (22:56 +0200)]
Try to fix compilation failure under OS X
doko@ubuntu.com [Sat, 30 Jun 2012 20:36:12 +0000 (22:36 +0200)]
null merge
doko@ubuntu.com [Sat, 30 Jun 2012 20:35:52 +0000 (22:35 +0200)]
- Regenerate the libffi configure file
doko@ubuntu.com [Sat, 30 Jun 2012 20:35:00 +0000 (22:35 +0200)]
- Issue #14330: For cross builds, don't use host python, use host search paths
for host compiler.
Add NEWS entry, rename _PROJECT_BASE to _PYTHON_PROJECT_BASE.
Stefan Krah [Sat, 30 Jun 2012 19:57:49 +0000 (21:57 +0200)]
After
79d2eb29c755 it is no longer necessary to zero the output array:
None of the _mpd_shortadd() or _mpd_shortmul() functions read uninitialized
values. Previously zeroing was required since _mpd_real_size() was called
on the output array.
doko@ubuntu.com [Sat, 30 Jun 2012 18:42:45 +0000 (20:42 +0200)]
- Issue #14330: For cross builds, don't use host python, use host search paths
for host compiler.
doko@ubuntu.com [Sat, 30 Jun 2012 17:28:16 +0000 (19:28 +0200)]
- Issue #3754: Fix /dev/ptmx, /dev/ptc file checks for cross builds,
require values set in CONFIG_SITE.
Stefan Krah [Sat, 30 Jun 2012 16:42:32 +0000 (18:42 +0200)]
Null merge.
Stefan Krah [Sat, 30 Jun 2012 16:35:15 +0000 (18:35 +0200)]
Issue #15171: Quote the variable that expands to the current directory.
Matthias Klose [Sat, 30 Jun 2012 16:32:06 +0000 (18:32 +0200)]
previous patch needs patch from issue #14330
set cross_compiling = False for now.
Matthias Klose [Sat, 30 Jun 2012 16:26:26 +0000 (18:26 +0200)]
- merge branches
doko@ubuntu.com [Sat, 30 Jun 2012 16:25:32 +0000 (18:25 +0200)]
- Issue #3754: Use readelf instead of ldd for the cross build readline check
Stefan Krah [Sat, 30 Jun 2012 16:20:33 +0000 (18:20 +0200)]
Whitespace.
Stefan Krah [Sat, 30 Jun 2012 16:05:33 +0000 (18:05 +0200)]
Proactive reliability fix for broken FPUs: The base conversion functions
use log10() to calculate the size of the output array. The current code
has been tested on x86/amd64 (and to a lesser extent on qemu-mips qemu-sparc)
and produces sufficiently large values for all inputs tested so far (coefficient
sizes of 10**18 - 1 are hard to test exhaustively).
The new code does not rely on the correctness of log10() and resizes
the output arrays if the allocated space is insufficient.
Antoine Pitrou [Sat, 30 Jun 2012 15:33:13 +0000 (17:33 +0200)]
Merge
Antoine Pitrou [Sat, 30 Jun 2012 15:32:41 +0000 (17:32 +0200)]
Issue #9239: add tests for modifying zipfile comments in append mode.
doko@ubuntu.com [Sat, 30 Jun 2012 15:32:23 +0000 (17:32 +0200)]
- check for libtinfo as a termcap library
Antoine Pitrou [Sat, 30 Jun 2012 15:31:37 +0000 (17:31 +0200)]
Issue #9239: add tests for modifying zipfile comments in append mode.
Antoine Pitrou [Sat, 30 Jun 2012 15:27:56 +0000 (17:27 +0200)]
Issue #15225: improve error message when hmac is passed a wrong key type.
Patch by Marc Abramowitz.
doko@ubuntu.com [Sat, 30 Jun 2012 15:05:13 +0000 (17:05 +0200)]
- Issue #3754: Some unrelated configure.ac cleanups.
doko@ubuntu.com [Sat, 30 Jun 2012 14:52:05 +0000 (16:52 +0200)]
- Issue #14324: use a linker test to check for profiling support
doko@ubuntu.com [Sat, 30 Jun 2012 12:42:46 +0000 (14:42 +0200)]
- Issue #3754: Use AC_PATH_TOOL and AC_CHECK_TOOLS instead of
AC_PATH_PROG and AC_CHECK_PROGS for the target tools.
doko@ubuntu.com [Sat, 30 Jun 2012 12:32:08 +0000 (14:32 +0200)]
- Issue #3754, refactor sys.platform / get_platform bits, use a
global host_platform instead.
Nadeem Vawda [Sat, 30 Jun 2012 11:34:28 +0000 (13:34 +0200)]
Update GzipFile docstring to mention gzip.open()'s new text-mode support.
Tim Golden [Fri, 29 Jun 2012 21:12:39 +0000 (22:12 +0100)]
Merged
Tim Golden [Fri, 29 Jun 2012 21:11:38 +0000 (22:11 +0100)]
Merged
Senthil Kumaran [Fri, 29 Jun 2012 18:08:51 +0000 (11:08 -0700)]
urllib.parse cleanup. rename keywords used as variables
Senthil Kumaran [Fri, 29 Jun 2012 18:08:20 +0000 (11:08 -0700)]
urllib.parse cleanup. rename keywords used as variables
Tim Golden [Fri, 29 Jun 2012 17:45:40 +0000 (18:45 +0100)]
Dummy merge from 3.2
Antoine Pitrou [Fri, 29 Jun 2012 17:40:54 +0000 (19:40 +0200)]
Better diagnose test failure
Antoine Pitrou [Fri, 29 Jun 2012 17:40:35 +0000 (19:40 +0200)]
Better diagnose test failure
Tim Golden [Fri, 29 Jun 2012 17:39:26 +0000 (18:39 +0100)]
Issue #1677: Handle better a race condition between the interactive interpreter and
the Ctrl-C signal handler on Windows
Tim Golden [Fri, 29 Jun 2012 17:27:08 +0000 (18:27 +0100)]
Issue #1677: Handle better a race condition between the interactive interpreter and
the Ctrl-C signal handler on Windows
Petri Lehtinen [Fri, 29 Jun 2012 12:12:54 +0000 (15:12 +0300)]
#5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
Petri Lehtinen [Fri, 29 Jun 2012 12:09:12 +0000 (15:09 +0300)]
#5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
Petri Lehtinen [Fri, 29 Jun 2012 10:51:19 +0000 (13:51 +0300)]
#9559: Don't call _pre_mailbox_hook more than once
Petri Lehtinen [Fri, 29 Jun 2012 10:43:37 +0000 (13:43 +0300)]
#9559: Don't call _pre_mailbox_hook more than once
Hynek Schlawack [Fri, 29 Jun 2012 06:28:20 +0000 (08:28 +0200)]
Check for all used fd-based functions in shutil.rmdir, closes #15218
Senthil Kumaran [Fri, 29 Jun 2012 04:08:27 +0000 (21:08 -0700)]
urlparse docs clean up - no reference to earlier draft