]> granicus.if.org Git - python/log
python
12 years agoSmall nits in os doc.
Georg Brandl [Sun, 24 Jun 2012 09:54:07 +0000 (11:54 +0200)]
Small nits in os doc.

12 years agoIssue #14815: Bugfix: the PyLong fed into the seed generator must be unsigned.
Larry Hastings [Sun, 24 Jun 2012 09:52:21 +0000 (02:52 -0700)]
Issue #14815: Bugfix: the PyLong fed into the seed generator must be unsigned.

12 years ago"Refactor" docs for the new dir_fd, follow_symlinks, path-as-fd APIs: document the...
Georg Brandl [Sun, 24 Jun 2012 09:45:20 +0000 (11:45 +0200)]
"Refactor" docs for the new dir_fd, follow_symlinks, path-as-fd APIs: document the options at a central place and link to it.

12 years agoCloses #15157: pydoc script added to venvs.
Vinay Sajip [Sun, 24 Jun 2012 09:35:40 +0000 (10:35 +0100)]
Closes #15157: pydoc script added to venvs.

12 years ago#15160: Extend the new email parser to handle MIME headers.
R David Murray [Sun, 24 Jun 2012 09:03:27 +0000 (05:03 -0400)]
#15160: Extend the new email parser to handle MIME headers.

This code passes all the same tests that the existing RFC mime header
parser passes, plus a bunch of additional ones.

There are a couple of commented out tests where there are issues with the
folding.  The folding doesn't normally get invoked for headers parsed from
source, and the cases are marginal anyway (headers with invalid binary data)
so I'm not worried about them, but will fix them after the beta.

There are things that can be done to make this API even more convenient, but I
think this is a solid foundation worth having.  And the parser is a full RFC
parser, so it handles cases that the current parser doesn't.  (There are also
probably cases where it fails when the current parser doesn't, but I haven't
found them yet ;)

Oh, yeah, and there are some really ugly bits in the parser for handling some
'postel' cases that are unfortunately common.

I hope/plan to to eventually refactor a lot of the code in the parser which
should reduce the line count...but there is no escaping the fact that the
error recovery is welter of special cases.

12 years agoIssue #14815: Use Py_ssize_t instead of long for the object hash, to
Larry Hastings [Sun, 24 Jun 2012 08:54:21 +0000 (01:54 -0700)]
Issue #14815: Use Py_ssize_t instead of long for the object hash, to
preserve all 64 bits of hash on Win64.

12 years agoUpdate OS X installer build target compilers.
Ned Deily [Sun, 24 Jun 2012 08:27:51 +0000 (01:27 -0700)]
Update OS X installer build target compilers.

12 years agoPackaging removal: remove pysetup3 install from Makefile.
Ned Deily [Sun, 24 Jun 2012 08:20:58 +0000 (01:20 -0700)]
Packaging removal: remove pysetup3 install from Makefile.

12 years agoFix whitespace
Hynek Schlawack [Sun, 24 Jun 2012 07:51:46 +0000 (09:51 +0200)]
Fix whitespace

12 years agoUpdate compileall calls in OS X installer postflight script to
Ned Deily [Sun, 24 Jun 2012 07:44:30 +0000 (00:44 -0700)]
Update compileall calls in OS X installer postflight script to
properly skip uncompilable files and to compile existing
files in site-packages if reinstalling.  Also, no longer
attempt to install a documentation link in /Developer
as that no longer necessarily exists with Xcode 4.3+.

12 years agoPackaging removal: also revert introduction of sysconfig.cfg.
Éric Araujo [Sun, 24 Jun 2012 07:27:43 +0000 (03:27 -0400)]
Packaging removal: also revert introduction of sysconfig.cfg.

We need a discussion to define what should be customized how; this new
config file is premature.  It was added to serve the needs of the
resources system in install_data / packaging.database, so it can be
removed alongside packaging for 3.3.

12 years agomerge heads
Gregory P. Smith [Sun, 24 Jun 2012 07:24:31 +0000 (00:24 -0700)]
merge heads

12 years agoFixes issue #12268: File readline, readlines and read() or readall() methods
Gregory P. Smith [Sun, 24 Jun 2012 07:23:47 +0000 (00:23 -0700)]
Fixes issue #12268: File readline, readlines and read() or readall() methods
no longer lose data when an underlying read system call is interrupted.
IOError is no longer raised due to a read system call returning EINTR
from within these methods.

12 years agoRemove obsolete fixapplepython23 script and PythonSystemFixes
Ned Deily [Sun, 24 Jun 2012 07:19:31 +0000 (00:19 -0700)]
Remove obsolete fixapplepython23 script and PythonSystemFixes
installer package from the OS X Makefile for Python 3.  It has
never worked on Python 3 and is not needed there as pre-10.3.9
installs are no longer supported.

12 years agoFixes issue #12268: File readline, readlines and read() or readall() methods
Gregory P. Smith [Sun, 24 Jun 2012 06:55:39 +0000 (23:55 -0700)]
Fixes issue #12268: File readline, readlines and read() or readall() methods
no longer lose data when an underlying read system call is interrupted.
IOError is no longer raised due to a read system call returning EINTR
from within these methods.

12 years agoSpeed up test_io by >2x by reducing the sleep time using setitimer instead of
Gregory P. Smith [Sun, 24 Jun 2012 06:46:37 +0000 (23:46 -0700)]
Speed up test_io by >2x by reducing the sleep time using setitimer instead of
alarm for the signal tests.

12 years agoMove distutils install doc back into place.
Éric Araujo [Sun, 24 Jun 2012 04:09:56 +0000 (00:09 -0400)]
Move distutils install doc back into place.

(This was not done in the previous commit because Mercurial would have
shown it as a modified file instead of a moved file.)

12 years agoRemove packaging from the standard library.
Éric Araujo [Sun, 24 Jun 2012 04:07:41 +0000 (00:07 -0400)]
Remove packaging from the standard library.

Distutils2 will live on on PyPI and be included in the stdlib when it
is ready.  See discussion starting at
http://mail.python.org/pipermail/python-dev/2012-June/120430.html

12 years ago#11113: add a new "html5" dictionary containing the named character references define...
Ezio Melotti [Sun, 24 Jun 2012 02:37:41 +0000 (04:37 +0200)]
#11113: add a new "html5" dictionary containing the named character references defined by the HTML5 standard and the equivalent Unicode character(s) to the html.entities module.

12 years agoIssue #15154: Add "dir_fd" parameter to os.rmdir, remove "rmdir"
Larry Hastings [Sat, 23 Jun 2012 23:55:07 +0000 (16:55 -0700)]
Issue #15154: Add "dir_fd" parameter to os.rmdir, remove "rmdir"
parameter from os.remove / os.unlink.
Patch written by Georg Brandl.  (I'm really looking forward to George
getting commit privileges so I don't have to keep doing checkins on his
behalf.)

12 years agoErrors in "client" methods in test_socket were ignored because of a bogus except...
Antoine Pitrou [Sat, 23 Jun 2012 23:34:13 +0000 (01:34 +0200)]
Errors in "client" methods in test_socket were ignored because of a bogus except clause.
(this could reveal test failures!)

12 years agoIssue #13590: Improve support for OS X Xcode 4:
Ned Deily [Sat, 23 Jun 2012 23:02:19 +0000 (16:02 -0700)]
Issue #13590: Improve support for OS X Xcode 4:
- Try to avoid building Python or extension modules with problematic
  llvm-gcc compiler.
- Since Xcode 4 removes ppc support, extension module builds now
  check for ppc compiler support and automatically remove ppc and
  ppc64 archs when not available.
- Since Xcode 4 no longer install SDKs in default locations,
  extension module builds now revert to using installed headers
  and libs if the SDK used to build the interpreter is not
  available.
- Update ./configure to use better defaults for universal builds;
  in particular, --enable-universalsdk=yes uses the Xcode default
  SDK and --with-universal-archs now defaults to "intel" if ppc
  not available.

12 years agosmall refactor and PEP8 line width/docstring
Philip Jenvey [Sat, 23 Jun 2012 22:54:38 +0000 (15:54 -0700)]
small refactor and PEP8 line width/docstring

12 years agoTry to fix crash on x86 OpenIndiana buildbot.
Antoine Pitrou [Sat, 23 Jun 2012 22:42:59 +0000 (00:42 +0200)]
Try to fix crash on x86 OpenIndiana buildbot.

12 years agoReplace assert() with a more informative fatal error.
Antoine Pitrou [Sat, 23 Jun 2012 22:30:12 +0000 (00:30 +0200)]
Replace assert() with a more informative fatal error.

12 years agoMerge
Antoine Pitrou [Sat, 23 Jun 2012 22:20:26 +0000 (00:20 +0200)]
Merge

12 years agoIssue #15102: find python.exe in OutDir, not SolutionDir.
Martin v. Löwis [Sat, 23 Jun 2012 22:22:28 +0000 (00:22 +0200)]
Issue #15102: find python.exe in OutDir, not SolutionDir.

12 years agoMerge
Antoine Pitrou [Sat, 23 Jun 2012 22:20:11 +0000 (00:20 +0200)]
Merge

12 years agoUse struct member (ht_type) instead of casting pointers.
Antoine Pitrou [Sat, 23 Jun 2012 22:18:27 +0000 (00:18 +0200)]
Use struct member (ht_type) instead of casting pointers.

12 years agoIssue #11626: Add _SizeT functions to stable ABI.
Martin v. Löwis [Sat, 23 Jun 2012 22:00:30 +0000 (00:00 +0200)]
Issue #11626: Add _SizeT functions to stable ABI.

12 years agoFix whitespace.
Martin v. Löwis [Sat, 23 Jun 2012 21:21:48 +0000 (23:21 +0200)]
Fix whitespace.

12 years agoIssue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.
Martin v. Löwis [Sat, 23 Jun 2012 21:20:45 +0000 (23:20 +0200)]
Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.

12 years agoLower test-skipping threshold in test_reprlib
Antoine Pitrou [Sat, 23 Jun 2012 20:55:58 +0000 (22:55 +0200)]
Lower test-skipping threshold in test_reprlib

12 years agoIssue #14923: Optimize continuation-byte check in UTF-8 decoding. Patch by Serhiy...
Mark Dickinson [Sat, 23 Jun 2012 20:45:14 +0000 (21:45 +0100)]
Issue #14923: Optimize continuation-byte check in UTF-8 decoding.  Patch by Serhiy Storchaka.

12 years agoIssue #15102: Fix paths in external-amd64.bat.
Stefan Krah [Sat, 23 Jun 2012 20:18:19 +0000 (22:18 +0200)]
Issue #15102: Fix paths in external-amd64.bat.

12 years agoAdd MSVC-related entries to .hgignore
Antoine Pitrou [Sat, 23 Jun 2012 20:11:58 +0000 (22:11 +0200)]
Add MSVC-related entries to .hgignore

12 years agoAvoid depending on directory iteration order in test_shutil
Antoine Pitrou [Sat, 23 Jun 2012 20:05:11 +0000 (22:05 +0200)]
Avoid depending on directory iteration order in test_shutil

12 years agoAdd debug output to test_shutil
Antoine Pitrou [Sat, 23 Jun 2012 19:32:36 +0000 (21:32 +0200)]
Add debug output to test_shutil

12 years agoProper cleanup in test_shutil, even in case of error.
Antoine Pitrou [Sat, 23 Jun 2012 19:28:15 +0000 (21:28 +0200)]
Proper cleanup in test_shutil, even in case of error.

12 years agoIssue #15102: Use HOST_PYTHON only if it is set.
Martin v. Löwis [Sat, 23 Jun 2012 19:07:39 +0000 (21:07 +0200)]
Issue #15102: Use HOST_PYTHON only if it is set.

12 years ago#4489: Fix usage of fd-based functions to new api introduced earlier today
Hynek Schlawack [Sat, 23 Jun 2012 18:28:32 +0000 (20:28 +0200)]
#4489: Fix usage of fd-based functions to new api introduced earlier today

Also add an explicit test for safe implementation usage on supported platforms.

As a side effect, this commit adds a module-level attribute 'rmtree_is_safe'
which offers introspection whether the current rmtree implementation is safe
against symlink attacks.

12 years agoIssue #15150: regenerate python3stub.def.
Martin v. Löwis [Sat, 23 Jun 2012 17:56:19 +0000 (19:56 +0200)]
Issue #15150: regenerate python3stub.def.

12 years agoMerge with 3.2
Martin v. Löwis [Sat, 23 Jun 2012 17:51:48 +0000 (19:51 +0200)]
Merge with 3.2

12 years agoThe build target of this makefile is python3.dll, not python32.dll.
Martin v. Löwis [Sat, 23 Jun 2012 17:36:08 +0000 (19:36 +0200)]
The build target of this makefile is python3.dll, not python32.dll.

12 years agoIssue #15102: Allow platform-specific settings for the current project
Stefan Krah [Sat, 23 Jun 2012 16:57:45 +0000 (18:57 +0200)]
Issue #15102: Allow platform-specific settings for the current project
to override environment variables.

12 years agoIssue #15142: Fix reference leak when deallocating instances of types created using...
Antoine Pitrou [Sat, 23 Jun 2012 12:42:38 +0000 (14:42 +0200)]
Issue #15142: Fix reference leak when deallocating instances of types created using PyType_FromSpec().

12 years agoIssue #12965: More PyLong_As* clarifications. Thanks Stefan Krah.
Mark Dickinson [Sat, 23 Jun 2012 11:12:52 +0000 (12:12 +0100)]
Issue #12965:  More PyLong_As* clarifications.  Thanks Stefan Krah.

12 years agoIssue #12965: Clean up C-API docs for PyLong_AsLongLong(AndOverflow); clarify that...
Mark Dickinson [Sat, 23 Jun 2012 10:14:22 +0000 (11:14 +0100)]
Issue #12965: Clean up C-API docs for PyLong_AsLongLong(AndOverflow); clarify that __int__ will be called for non-PyLongs

12 years agoProperly test the various builtins lookup cases in inspect.getclosurevars
Nick Coghlan [Sat, 23 Jun 2012 10:07:39 +0000 (20:07 +1000)]
Properly test the various builtins lookup cases in inspect.getclosurevars

12 years agoFix typo in Misc/NEWS
Hynek Schlawack [Sat, 23 Jun 2012 16:21:11 +0000 (18:21 +0200)]
Fix typo in Misc/NEWS

12 years ago#4489: Add a shutil.rmtree that isn't suspectible to symlink attacks
Hynek Schlawack [Sat, 23 Jun 2012 15:58:42 +0000 (17:58 +0200)]
#4489: Add a shutil.rmtree that isn't suspectible to symlink attacks

It is used automatically on platforms supporting the necessary os.openat() and
os.unlinkat() functions. Main code by Martin von Löwis.

12 years agoUse non-deprecated speling.
Antoine Pitrou [Sat, 23 Jun 2012 16:11:59 +0000 (18:11 +0200)]
Use non-deprecated speling.

12 years agoProperly cleanup pep3147 modules in test_import
Antoine Pitrou [Sat, 23 Jun 2012 16:09:55 +0000 (18:09 +0200)]
Properly cleanup pep3147 modules in test_import

12 years agoTry to further debug occasional buildbot failure
Antoine Pitrou [Sat, 23 Jun 2012 15:27:56 +0000 (17:27 +0200)]
Try to further debug occasional buildbot failure

12 years agoOn behalf of Nadeem Vawda: issue #10376: micro-optimize reading from a Zipfile.
Antoine Pitrou [Sat, 23 Jun 2012 14:44:48 +0000 (16:44 +0200)]
On behalf of Nadeem Vawda: issue #10376: micro-optimize reading from a Zipfile.
(patch by Serhiy)

12 years ago#15114: the strict mode of HTMLParser and the HTMLParseError exception are deprecated...
Ezio Melotti [Sat, 23 Jun 2012 13:27:51 +0000 (15:27 +0200)]
#15114: the strict mode of HTMLParser and the HTMLParseError exception are deprecated now that the parser is able to parse invalid markup.

12 years agoIssue #15142: Fix reference leak when deallocating instances of types created using...
Antoine Pitrou [Sat, 23 Jun 2012 12:45:21 +0000 (14:45 +0200)]
Issue #15142: Fix reference leak when deallocating instances of types created using PyType_FromSpec().

12 years agoRemove outdated statement
Antoine Pitrou [Sat, 23 Jun 2012 12:19:58 +0000 (14:19 +0200)]
Remove outdated statement

12 years agoFix test_re failure under Windows.
Antoine Pitrou [Sat, 23 Jun 2012 12:17:39 +0000 (14:17 +0200)]
Fix test_re failure under Windows.

12 years agoIssue #3665: \u and \U escapes are now supported in unicode regular expressions.
Antoine Pitrou [Sat, 23 Jun 2012 11:29:19 +0000 (13:29 +0200)]
Issue #3665: \u and \U escapes are now supported in unicode regular expressions.
Patch by Serhiy Storchaka.

12 years agoIssue #12965: Merge from 3.2.
Mark Dickinson [Sat, 23 Jun 2012 11:13:15 +0000 (12:13 +0100)]
Issue #12965: Merge from 3.2.

12 years agoTry to fix shutil.which() tests on Windows by fixing a typo introduced in 27f9c26fdd8...
Georg Brandl [Sat, 23 Jun 2012 10:48:40 +0000 (12:48 +0200)]
Try to fix shutil.which() tests on Windows by fixing a typo introduced in 27f9c26fdd8b in posix_access().

12 years agoIssue #12965: Merge from 3.2.
Mark Dickinson [Sat, 23 Jun 2012 10:14:55 +0000 (11:14 +0100)]
Issue #12965: Merge from 3.2.

12 years agoClose #15153: Added inspect.getgeneratorlocals to simplify whitebox testing of genera...
Nick Coghlan [Sat, 23 Jun 2012 09:52:05 +0000 (19:52 +1000)]
Close #15153: Added inspect.getgeneratorlocals to simplify whitebox testing of generator state updates

12 years agoIssue #12965: Merge from 3.2
Mark Dickinson [Sat, 23 Jun 2012 09:49:36 +0000 (10:49 +0100)]
Issue #12965: Merge from 3.2

12 years agoIssue #12965: Clean up C-API docs for PyLong_AsLong(AndOverflow); clarify that __int_...
Mark Dickinson [Sat, 23 Jun 2012 09:49:12 +0000 (10:49 +0100)]
Issue #12965: Clean up C-API docs for PyLong_AsLong(AndOverflow); clarify that __int__ will be called for non-PyLongs

12 years agoClose #13062: Add inspect.getclosurevars to simplify testing stateful closures
Nick Coghlan [Sat, 23 Jun 2012 09:39:55 +0000 (19:39 +1000)]
Close #13062: Add inspect.getclosurevars to simplify testing stateful closures

12 years agomerge
Mark Dickinson [Sat, 23 Jun 2012 08:28:08 +0000 (09:28 +0100)]
merge

12 years agoIssue #14742: test_unparse now only checks a limited number of files unless the ...
Mark Dickinson [Sat, 23 Jun 2012 08:27:47 +0000 (09:27 +0100)]
Issue #14742: test_unparse now only checks a limited number of files unless the 'cpu' resource is specified.

12 years agoRemove useless test (flowinfo is unsigned).
Charles-François Natali [Sat, 23 Jun 2012 08:26:54 +0000 (10:26 +0200)]
Remove useless test (flowinfo is unsigned).

12 years agoRemove useless test (flowinfo is unsigned).
Charles-François Natali [Sat, 23 Jun 2012 08:17:05 +0000 (10:17 +0200)]
Remove useless test (flowinfo is unsigned).

12 years agoFix #15148. Capitalize PATH, hopefully leading to less confusion
Brian Curtin [Sat, 23 Jun 2012 03:49:12 +0000 (22:49 -0500)]
Fix #15148. Capitalize PATH, hopefully leading to less confusion

12 years agoFix #15148. Make the shutil.which docstring more thorough
Brian Curtin [Sat, 23 Jun 2012 03:48:06 +0000 (22:48 -0500)]
Fix #15148. Make the shutil.which docstring more thorough

12 years agoIssue #14626: Fix buildbot issue on OpenIndiana 3.x machines. (Hopefully.)
Larry Hastings [Sat, 23 Jun 2012 02:50:21 +0000 (19:50 -0700)]
Issue #14626: Fix buildbot issue on OpenIndiana 3.x machines.  (Hopefully.)

12 years agoRevert unintended change in 973b4806f760
Brian Curtin [Sat, 23 Jun 2012 02:40:52 +0000 (21:40 -0500)]
Revert unintended change in 973b4806f760

12 years agofile was the old arg name from an earlier patch. command matches the implementation
Brian Curtin [Sat, 23 Jun 2012 02:14:34 +0000 (21:14 -0500)]
file was the old arg name from an earlier patch. command matches the implementation

12 years agoIssue #15148: Fixed typos in shutil.which() docstring
Alexander Belopolsky [Sat, 23 Jun 2012 01:56:42 +0000 (21:56 -0400)]
Issue #15148: Fixed typos in shutil.which() docstring

12 years agofixed whitespace
Alexander Belopolsky [Sat, 23 Jun 2012 01:10:50 +0000 (21:10 -0400)]
fixed whitespace

12 years agoIssues #11024: Fixes and additional tests for Time2Internaldate.
Alexander Belopolsky [Sat, 23 Jun 2012 01:03:39 +0000 (21:03 -0400)]
Issues #11024: Fixes and additional tests for Time2Internaldate.

12 years agoSkip the test only if neccesary - Kernel bug in freebsd9 - #10142: Support for SEEK_H...
Jesus Cea [Sat, 23 Jun 2012 00:58:14 +0000 (02:58 +0200)]
Skip the test only if neccesary - Kernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA

12 years agoKernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA
Jesus Cea [Sat, 23 Jun 2012 00:55:36 +0000 (02:55 +0200)]
Kernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA

12 years agoA better repr() for FileFinder
Antoine Pitrou [Sat, 23 Jun 2012 00:12:56 +0000 (02:12 +0200)]
A better repr() for FileFinder

12 years agoIssue #14626: Fix buildbot issue on x86 Tiger 3.x.
Larry Hastings [Sat, 23 Jun 2012 00:06:48 +0000 (17:06 -0700)]
Issue #14626: Fix buildbot issue on x86 Tiger 3.x.

12 years agoIssue #14626: Fix buildbot issues on FreeBSD (AMD64). (Fingers crossed.)
Larry Hastings [Sat, 23 Jun 2012 00:01:41 +0000 (17:01 -0700)]
Issue #14626: Fix buildbot issues on FreeBSD (AMD64).  (Fingers crossed.)

12 years agoIssue #14626: Large refactoring of functions / parameters in the os module.
Larry Hastings [Fri, 22 Jun 2012 23:30:09 +0000 (16:30 -0700)]
Issue #14626: Large refactoring of functions / parameters in the os module.
Many functions now support "dir_fd" and "follow_symlinks" parameters;
some also support accepting an open file descriptor in place of of a path
string.  Added os.support_* collections as LBYL helpers.  Removed many
functions only previously seen in 3.3 alpha releases (often starting with
"f" or "l", or ending with "at").  Originally suggested by Serhiy Storchaka;
implemented by Larry Hastings.

12 years agoFix silly mistake in debugging code
Antoine Pitrou [Fri, 22 Jun 2012 22:49:44 +0000 (00:49 +0200)]
Fix silly mistake in debugging code

12 years agoWhitespace.
Stefan Krah [Fri, 22 Jun 2012 22:31:04 +0000 (00:31 +0200)]
Whitespace.

12 years agoIssue #15008: Implement PEP 362 "Signature Objects".
Larry Hastings [Fri, 22 Jun 2012 22:19:35 +0000 (15:19 -0700)]
Issue #15008: Implement PEP 362 "Signature Objects".
Patch by Yury Selivanov.

12 years agoMerge
Guido van Rossum [Fri, 22 Jun 2012 22:18:38 +0000 (15:18 -0700)]
Merge

12 years agoSpeed up base64.urlsafe_{en,de}code().
Guido van Rossum [Fri, 22 Jun 2012 22:16:09 +0000 (15:16 -0700)]
Speed up base64.urlsafe_{en,de}code().

12 years agoAdd debug output for temporary buildbot failures
Antoine Pitrou [Fri, 22 Jun 2012 22:07:38 +0000 (00:07 +0200)]
Add debug output for temporary buildbot failures

12 years agoIssue #444582: shutil.which() respects relative paths.
Antoine Pitrou [Fri, 22 Jun 2012 21:33:05 +0000 (23:33 +0200)]
Issue #444582: shutil.which() respects relative paths.

12 years agowhitespace normalize
Brian Curtin [Fri, 22 Jun 2012 21:03:06 +0000 (16:03 -0500)]
whitespace normalize

12 years agoFix #444582. Add shutil.which function for finding programs on the system path.
Brian Curtin [Fri, 22 Jun 2012 21:00:30 +0000 (16:00 -0500)]
Fix #444582. Add shutil.which function for finding programs on the system path.

12 years agoMerge heads
Martin v. Löwis [Fri, 22 Jun 2012 20:19:51 +0000 (22:19 +0200)]
Merge heads

12 years agoIssue #15143: Define _DEBUG when compiling resources.
Martin v. Löwis [Fri, 22 Jun 2012 20:16:42 +0000 (22:16 +0200)]
Issue #15143: Define _DEBUG when compiling resources.

12 years agoMerge
Antoine Pitrou [Fri, 22 Jun 2012 20:07:24 +0000 (22:07 +0200)]
Merge

12 years agomerge
Alexander Belopolsky [Fri, 22 Jun 2012 20:09:42 +0000 (16:09 -0400)]
merge

12 years agoAdd a docstring at the top of Tools/ssl/make_ssl_data.py
Antoine Pitrou [Fri, 22 Jun 2012 20:07:01 +0000 (22:07 +0200)]
Add a docstring at the top of Tools/ssl/make_ssl_data.py

12 years agoIssue #9527: tm_gmtoff has 'correct' sign.
Alexander Belopolsky [Fri, 22 Jun 2012 20:04:19 +0000 (16:04 -0400)]
Issue #9527: tm_gmtoff has 'correct' sign.