]> granicus.if.org Git - python/log
python
12 years ago- Issue #15268: Search curses.h in /usr/include/ncursesw.
doko@ubuntu.com [Sat, 7 Jul 2012 01:06:42 +0000 (03:06 +0200)]
- Issue #15268: Search curses.h in /usr/include/ncursesw.

12 years agoIssue #15247: FileIO now raises an error when given a file descriptor pointing to...
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.

12 years agoIssue #15247: FileIO now raises an error when given a file descriptor pointing to...
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.

12 years agoIssue 14814: Eliminate bytes warnings from ipaddress by correctly throwing an excepti...
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.

12 years agoIssue 14814: Better handling of cases where octet/hextet parsing fails, including...
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

12 years agoIssue #15261: Stop os.stat(fd) crashing on Windows when fd not open.
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.

12 years agoIssue #15020: The program name used to search for Python's path is now python3 under...
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.

12 years agoIssue #15020: The program name used to search for Python's path is now "python3"...
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".

12 years agoFix issue # 15033 - Return the proper exitcode for failure when modules are invoked...
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

12 years agoFix issue # 15033 - Return the proper exitcode for failure when modules are invoked...
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

12 years agoIssue #15210: Greatly simplify the test for supporting importlib
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.

12 years agoFix undefined names in __all__.
Mark Dickinson [Wed, 4 Jul 2012 09:07:06 +0000 (11:07 +0200)]
Fix undefined names in __all__.

12 years agoMake ANSI the default output style
Raymond Hettinger [Wed, 4 Jul 2012 00:55:23 +0000 (17:55 -0700)]
Make ANSI the default output style

12 years agoAdd examples to the module docstring
Raymond Hettinger [Tue, 3 Jul 2012 21:42:33 +0000 (14:42 -0700)]
Add examples to the module docstring

12 years agoFix spelling.
Raymond Hettinger [Tue, 3 Jul 2012 21:25:16 +0000 (14:25 -0700)]
Fix spelling.

12 years agoAdd support for ANSI escape sequences
Raymond Hettinger [Tue, 3 Jul 2012 21:11:40 +0000 (14:11 -0700)]
Add support for ANSI escape sequences

12 years agoCloses #14902: Fixed timezone conversion of a date/time in the past. Thanks to Yuriy...
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.

12 years agoRefactor to isolate HTML encoding step from the parsing step.
Raymond Hettinger [Tue, 3 Jul 2012 20:13:52 +0000 (13:13 -0700)]
Refactor to isolate HTML encoding step from the parsing step.

12 years agoCloses #15241: Added information on venv prefixes to pyvenv section.
Vinay Sajip [Tue, 3 Jul 2012 16:26:55 +0000 (17:26 +0100)]
Closes #15241: Added information on venv prefixes to pyvenv section.

12 years agoIssue #15241: Added test for venv prefixes.
Vinay Sajip [Tue, 3 Jul 2012 15:56:40 +0000 (16:56 +0100)]
Issue #15241: Added test for venv prefixes.

12 years agoIssue 15241: Improved site.py documentation relating to venvs.
Vinay Sajip [Tue, 3 Jul 2012 15:33:57 +0000 (16:33 +0100)]
Issue 15241: Improved site.py documentation relating to venvs.

12 years agoNULL MERGE: Issue #1677: Unused variable warning in Non-Windows
Jesus Cea [Tue, 3 Jul 2012 11:18:30 +0000 (13:18 +0200)]
NULL MERGE: Issue #1677: Unused variable warning in Non-Windows

12 years agoIssue #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

12 years agoFix keyword argument
Raymond Hettinger [Tue, 3 Jul 2012 07:15:59 +0000 (00:15 -0700)]
Fix keyword argument

12 years agoMinor cleanups
Raymond Hettinger [Tue, 3 Jul 2012 07:12:27 +0000 (00:12 -0700)]
Minor cleanups

12 years agoUse new-style string formatting for the HTML template
Raymond Hettinger [Tue, 3 Jul 2012 00:17:16 +0000 (17:17 -0700)]
Use new-style string formatting for the HTML template

12 years agoClean-up unused variable
Raymond Hettinger [Mon, 2 Jul 2012 20:54:33 +0000 (13:54 -0700)]
Clean-up unused variable

12 years agoDo HTML escaping after the tokenization step.
Raymond Hettinger [Mon, 2 Jul 2012 20:29:57 +0000 (13:29 -0700)]
Do HTML escaping after the tokenization step.

12 years agoIssue #15166: Re-implement imp.get_tag() using sys.implementation.
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.

12 years agoIssue #15210: If _frozen_importlib is not found in sys.modules by
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.

12 years agoCloses #15030: Make importlib.abc.PyPycLoader respect the new .pyc
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.

12 years agoRemove ISSUES.txt.
Stefan Krah [Sun, 1 Jul 2012 10:24:20 +0000 (12:24 +0200)]
Remove ISSUES.txt.

12 years ago- Issue #15235: Allow Berkley DB versions up to 5.3 to build the dbm module.
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.

12 years agoFix filename.
Georg Brandl [Sun, 1 Jul 2012 08:04:35 +0000 (10:04 +0200)]
Fix filename.

12 years agoMerge with 3.2.
Georg Brandl [Sun, 1 Jul 2012 07:56:07 +0000 (09:56 +0200)]
Merge with 3.2.

12 years agoMake call of os.getppid() conditional: it is not available on Windows.
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.

12 years agoFix inconsistent function name in embedding howto.
Georg Brandl [Sun, 1 Jul 2012 07:43:20 +0000 (09:43 +0200)]
Fix inconsistent function name in embedding howto.

12 years agoLimit which operators get colorized
Raymond Hettinger [Sun, 1 Jul 2012 07:37:05 +0000 (00:37 -0700)]
Limit which operators get colorized

12 years agoSet title to the source filename
Raymond Hettinger [Sun, 1 Jul 2012 06:19:30 +0000 (23:19 -0700)]
Set title to the source filename

12 years agoSmall cleanups
Raymond Hettinger [Sun, 1 Jul 2012 05:19:04 +0000 (22:19 -0700)]
Small cleanups

12 years agoFix local variable
Raymond Hettinger [Sun, 1 Jul 2012 00:10:25 +0000 (17:10 -0700)]
Fix local variable

12 years agoAdd author tag
Raymond Hettinger [Sun, 1 Jul 2012 00:00:14 +0000 (17:00 -0700)]
Add author tag

12 years agoAdd syntax highlighter tool
Raymond Hettinger [Sat, 30 Jun 2012 23:58:06 +0000 (16:58 -0700)]
Add syntax highlighter tool

12 years ago- Issue #15194: check in the missing m4/ax_append_flag.m4 file.
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.

12 years agonull merge
doko@ubuntu.com [Sat, 30 Jun 2012 22:38:34 +0000 (00:38 +0200)]
null merge

12 years ago- Issue #15194: check in the missing m4/ax_check_compile_flag.m4 file.
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.

12 years ago- Issue #14330: Don't derive the include and library search dirs
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

12 years agoIssue #15229: An OSError subclass whose __init__ doesn't call back
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.

12 years ago- fix the OS X build failure, only try to remove the temporary file if it exists
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

12 years agoMerge
Antoine Pitrou [Sat, 30 Jun 2012 21:03:18 +0000 (23:03 +0200)]
Merge

12 years agoTry to fix compilation failure under OS X
Antoine Pitrou [Sat, 30 Jun 2012 20:56:37 +0000 (22:56 +0200)]
Try to fix compilation failure under OS X

12 years agonull merge
doko@ubuntu.com [Sat, 30 Jun 2012 20:36:12 +0000 (22:36 +0200)]
null merge

12 years ago- Regenerate the libffi configure file
doko@ubuntu.com [Sat, 30 Jun 2012 20:35:52 +0000 (22:35 +0200)]
- Regenerate the libffi configure file

12 years ago- Issue #14330: For cross builds, don't use host python, use host search paths
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.

12 years agoAfter 79d2eb29c755 it is no longer necessary to zero the output array:
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.

12 years ago- Issue #14330: For cross builds, don't use host python, use host search paths
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.

12 years ago - Issue #3754: Fix /dev/ptmx, /dev/ptc file checks for cross builds,
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.

12 years agoNull merge.
Stefan Krah [Sat, 30 Jun 2012 16:42:32 +0000 (18:42 +0200)]
Null merge.

12 years agoIssue #15171: Quote the variable that expands to the current directory.
Stefan Krah [Sat, 30 Jun 2012 16:35:15 +0000 (18:35 +0200)]
Issue #15171: Quote the variable that expands to the current directory.

12 years agoprevious patch needs patch from issue #14330
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.

12 years ago- merge branches
Matthias Klose [Sat, 30 Jun 2012 16:26:26 +0000 (18:26 +0200)]
- merge branches

12 years ago - Issue #3754: Use readelf instead of ldd for the cross build readline check
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

12 years agoWhitespace.
Stefan Krah [Sat, 30 Jun 2012 16:20:33 +0000 (18:20 +0200)]
Whitespace.

12 years agoProactive reliability fix for broken FPUs: The base conversion functions
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.

12 years agoMerge
Antoine Pitrou [Sat, 30 Jun 2012 15:33:13 +0000 (17:33 +0200)]
Merge

12 years agoIssue #9239: add tests for modifying zipfile comments in append mode.
Antoine Pitrou [Sat, 30 Jun 2012 15:32:41 +0000 (17:32 +0200)]
Issue #9239: add tests for modifying zipfile comments in append mode.

12 years ago- check for libtinfo as a termcap library
doko@ubuntu.com [Sat, 30 Jun 2012 15:32:23 +0000 (17:32 +0200)]
- check for libtinfo as a termcap library

12 years agoIssue #9239: add tests for modifying zipfile comments in append mode.
Antoine Pitrou [Sat, 30 Jun 2012 15:31:37 +0000 (17:31 +0200)]
Issue #9239: add tests for modifying zipfile comments in append mode.

12 years agoIssue #15225: improve error message when hmac is passed a wrong key type.
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.

12 years ago- Issue #3754: Some unrelated configure.ac cleanups.
doko@ubuntu.com [Sat, 30 Jun 2012 15:05:13 +0000 (17:05 +0200)]
- Issue #3754: Some unrelated configure.ac cleanups.

12 years ago- Issue #14324: use a linker test to check for profiling support
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

12 years ago- Issue #3754: Use AC_PATH_TOOL and AC_CHECK_TOOLS instead of
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.

12 years ago- Issue #3754, refactor sys.platform / get_platform bits, use a
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.

12 years agoUpdate GzipFile docstring to mention gzip.open()'s new text-mode support.
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.

12 years agoMerged
Tim Golden [Fri, 29 Jun 2012 21:12:39 +0000 (22:12 +0100)]
Merged

12 years agoMerged
Tim Golden [Fri, 29 Jun 2012 21:11:38 +0000 (22:11 +0100)]
Merged

12 years agourllib.parse cleanup. rename keywords used as variables
Senthil Kumaran [Fri, 29 Jun 2012 18:08:51 +0000 (11:08 -0700)]
urllib.parse cleanup. rename keywords used as variables

12 years agourllib.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

12 years agoDummy merge from 3.2
Tim Golden [Fri, 29 Jun 2012 17:45:40 +0000 (18:45 +0100)]
Dummy merge from 3.2

12 years agoBetter diagnose test failure
Antoine Pitrou [Fri, 29 Jun 2012 17:40:54 +0000 (19:40 +0200)]
Better diagnose test failure

12 years agoBetter diagnose test failure
Antoine Pitrou [Fri, 29 Jun 2012 17:40:35 +0000 (19:40 +0200)]
Better diagnose test failure

12 years agoIssue #1677: Handle better a race condition between the interactive interpreter and
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

12 years agoIssue #1677: Handle better a race condition between the interactive interpreter and
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

12 years ago#5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
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()

12 years ago#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()

12 years ago#9559: Don't call _pre_mailbox_hook more than once
Petri Lehtinen [Fri, 29 Jun 2012 10:51:19 +0000 (13:51 +0300)]
#9559: Don't call _pre_mailbox_hook more than once

12 years ago#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

12 years agoCheck for all used fd-based functions in shutil.rmdir, closes #15218
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

12 years agourlparse docs clean up - no reference to earlier draft
Senthil Kumaran [Fri, 29 Jun 2012 04:08:27 +0000 (21:08 -0700)]
urlparse docs clean up - no reference to earlier draft

12 years agourlparse docs clean up - no reference to earlier draft
Senthil Kumaran [Fri, 29 Jun 2012 04:07:58 +0000 (21:07 -0700)]
urlparse docs clean up - no reference to earlier draft

12 years agoIssue #5067: improve some json error messages.
Antoine Pitrou [Thu, 28 Jun 2012 23:59:54 +0000 (01:59 +0200)]
Issue #5067: improve some json error messages.
Patch by Serhiy Storchaka.

12 years agoIssue #5067: improve some json error messages.
Antoine Pitrou [Thu, 28 Jun 2012 23:58:26 +0000 (01:58 +0200)]
Issue #5067: improve some json error messages.
Patch by Serhiy Storchaka.

12 years agoPort tests from Issue #15219, and verify we don't have a reference leak.
Amaury Forgeot d'Arc [Thu, 28 Jun 2012 23:53:13 +0000 (01:53 +0200)]
Port tests from Issue #15219, and verify we don't have a reference leak.

12 years agoIssue #10571: Fix the "--sign" option of distutils' upload command.
Antoine Pitrou [Thu, 28 Jun 2012 23:06:51 +0000 (01:06 +0200)]
Issue #10571: Fix the "--sign" option of distutils' upload command.
Patch by Jakub Wilk.

12 years agoIssue #10571: Fix the "--sign" option of distutils' upload command.
Antoine Pitrou [Thu, 28 Jun 2012 23:05:26 +0000 (01:05 +0200)]
Issue #10571: Fix the "--sign" option of distutils' upload command.
Patch by Jakub Wilk.

12 years ago#4489: Use dir_fd in rmdir in _rmtree_safe_fd()
Hynek Schlawack [Thu, 28 Jun 2012 13:30:47 +0000 (15:30 +0200)]
#4489: Use dir_fd in rmdir in _rmtree_safe_fd()

Now that rmdir supports dir_fd, we also use it. Attackers can't even delete
empty directories anymore.

12 years ago#9559: Append data to single-file mailbox files if messages are only added
Petri Lehtinen [Thu, 28 Jun 2012 10:53:43 +0000 (13:53 +0300)]
#9559: Append data to single-file mailbox files if messages are only added

If messages were only added, a new file is no longer created and
renamed over the old file when flush() is called on an mbox, MMDF or
Babyl mailbox.

12 years ago#9559: Append data to single-file mailbox files if messages are only added
Petri Lehtinen [Thu, 28 Jun 2012 10:48:17 +0000 (13:48 +0300)]
#9559: Append data to single-file mailbox files if messages are only added

If messages were only added, a new file is no longer created and
renamed over the old file when flush() is called on an mbox, MMDF or
Babyl mailbox.

12 years agoMerge.
Eric V. Smith [Thu, 28 Jun 2012 10:15:30 +0000 (06:15 -0400)]
Merge.

12 years agoUse assertIsNone. Thanks Terry Reedy.
Eric V. Smith [Thu, 28 Jun 2012 10:15:01 +0000 (06:15 -0400)]
Use assertIsNone. Thanks Terry Reedy.