summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused code in packaging.pypi.distÉric Araujo2011-06-161-4/+1
|
* Stop binding sys.path as default parameter value in packaging.Éric Araujo2011-06-164-27/+20
| | | | | | | | | | | | | The two public functions in database default to sys.path if the given *paths* argument is None; the private functions don’t have default values for their arguments anymore, which is fine as the public functions that call them pass their arguments down. Likewise in install, the functions will pass down their *paths* arguments down to database functions. A one-line unneeded function in install was removed instead of being changed, and the few remaining tests that used brute-force restoration of sys.path have been cleaned up to use sys.path.remove.
* Packaging: remove last mentions and uses of setup.py in the code.Éric Araujo2011-06-167-32/+15
| | | | | Now only the compatibility layer (in create, util and install) talk about setup.py.
* Clean up packaging.tests.test_mixin2to3Éric Araujo2011-06-161-34/+43
|
* Issue #12167: Fix a reafleak in packaging.tests.PyPIServer constructorVictor Stinner2011-06-151-1/+3
| | | | Don't modify mutable default arguments...
* Merge wording change from 3.2Éric Araujo2011-06-151-2/+2
|\
| * Minor wording improvementÉric Araujo2011-06-151-2/+2
| |
* | Make sure all the Lib/packaging subdirectories get installed.Barry Warsaw2011-06-141-2/+54
| |
* | Fix markup.Georg Brandl2011-06-141-11/+11
| |
* | Merge 3.2 - update to the fix for #12084Brian Curtin2011-06-141-10/+11
|\ \ | |/
| * Correct completely broken os.stat behavior on Windows XP.Brian Curtin2011-06-141-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | After 1a3e8db28d49, Windows XP could not os.stat at all due to raising immediately when GetFinalPathNameByHandle wasn't available (pre-Vista). The proper behavior in that situation is to just not attempt a traversal rather than outright rejecting. This change additionally handles a failed malloc by setting the error code and returning false. Patch by Hirokazu Yamamoto.
| * branch merge?Brian Curtin2011-06-1327-80/+303
| |\
* | \ branch mergeBrian Curtin2011-06-134-96/+191
|\ \ \
| * \ \ Merge from 3.2 for Issue #12084.Brian Curtin2011-06-134-96/+191
| |\ \ \ | | |/ /
| | * | Fix #12084. os.stat on Windows wasn't working properly with relative symlinks.Brian Curtin2011-06-134-97/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use of DeviceIoControl to obtain the symlink path via the reparse tag was removed. The code now uses GetFinalPathNameByHandle in the case of a symbolic link and works properly given the added test which creates a symbolic link and calls os.stat on it from multiple locations. Victor Stinner also noticed an issue with os.lstat following the os.stat code path when being passed bytes. The posix_lstat function was adjusted to properly hook up win32_lstat instead of the previous STAT macro (win32_stat).
* | | | Issue #12316: Fix sigwait() test using threadsVictor Stinner2011-06-131-29/+41
| | | | | | | | | | | | | | | | | | | | Spawn a new process instead of using fork(). Patch written by Charles-François Natali.
* | | | Also specify encoding when reading setup.cfg (#12320)Éric Araujo2011-06-121-1/+1
| | | |
* | | | Specify the encoding of the setup.cfg in one packaging test (#12320)Éric Araujo2011-06-121-1/+1
| | | |
* | | | Merged documentation update for Formatter.formatTime.Vinay Sajip2011-06-121-0/+8
|\ \ \ \ | | |_|/ | |/| |
| * | | Updated Formatter.formatTime documentation.Vinay Sajip2011-06-121-0/+7
| | | |
* | | | Merged documentation update for issue #12206.Vinay Sajip2011-06-111-0/+3
|\ \ \ \ | |/ / /
| * | | Issue #12206: documentation for LogRecord constructor updated re. the level ↵Vinay Sajip2011-06-111-0/+3
| | | | | | | | | | | | | | | | argument.
* | | | quaint and completely out of date commentBenjamin Peterson2011-06-111-3/+2
| | | |
* | | | allow __dir__ to return any sequenceBenjamin Peterson2011-06-114-32/+29
| | | |
* | | | merge 3.2 (#9284)Benjamin Peterson2011-06-113-2/+26
|\ \ \ \ | |/ / /
| * | | allow "fake" filenames in findsource (closes #9284)Benjamin Peterson2011-06-113-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | This allows findsource() to work in doctests. A patch from Dirkjan Ochtman.
* | | | Merge minor doc change from 3.2Éric Araujo2011-06-111-0/+2
|\ \ \ \ | |/ / /
| * | | Add missing reST target to one heading in the tutorialÉric Araujo2011-06-111-0/+2
| | | |
* | | | Branch mergeÉric Araujo2011-06-118-77/+156
|\ \ \ \
| * | | | Adjust logging in packaging.util.spawn (related to #11599)Éric Araujo2011-06-111-2/+3
| | | | |
| * | | | Use correct directive to document one methodÉric Araujo2011-06-111-1/+1
| | | | |
| * | | | Allow multiple setup hooks in packaging’s setup.cfg files (#12240).Éric Araujo2011-06-105-31/+61
| | | | | | | | | | | | | | | | | | | | Original patch by Erik Bray.
| * | | | setup.cfg: Document that description-file can contain more than one fileÉric Araujo2011-06-103-9/+7
| | | | |
| * | | | Fix assorted bugs in packaging.util.cfg_to_args (#11595).Éric Araujo2011-06-104-17/+67
| | | | | | | | | | | | | | | | | | | | Original patch by Erik Bray.
| * | | | Move useful function to packaging.util.Éric Araujo2011-06-102-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | Original patch by Erik Bray as part of #11595, changed by me to improve readability.
* | | | | Issue #12287: In ossaudiodev, check that the device isn't closed in severalCharles-François Natali2011-06-113-0/+110
| | | | | | | | | | | | | | | | | | | | methods.
* | | | | merge 3.2Benjamin Peterson2011-06-110-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | merge 3.1Benjamin Peterson2011-06-110-0/+0
| |\ \ \ \
| | * | | | onto 3.1.5Benjamin Peterson2011-06-112-1/+13
| | | | | |
* | | | | | merge 3.2Benjamin Peterson2011-06-111-0/+1
|\ \ \ \ \ \ | |/ / / / /
| * | | | | merge 3.1Benjamin Peterson2011-06-111-0/+1
| |\ \ \ \ \ | | |/ / / /
| | * | | | Added tag v3.1.4 for changeset c918ec9f3a76Benjamin Peterson2011-06-111-0/+1
| | | | | |
| | * | | | bump to 3.1.4v3.1.4Benjamin Peterson2011-06-115-7/+7
| | | | | |
* | | | | | Updated Formatter.formatTime docs to indicate configuration via class ↵Vinay Sajip2011-06-101-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | attributes.
* | | | | | Merged documentation change for Issue #12168.Vinay Sajip2011-06-101-0/+15
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Documented change for Issue #12168.Vinay Sajip2011-06-101-0/+15
| | | | | |
* | | | | | merge headsBenjamin Peterson2011-06-107-9/+35
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Branch mergeÉric Araujo2011-06-107-9/+35
| |\ \ \ \ \
| | * | | | | Don’t try to install something when running from uninstalled source (#12246).Éric Araujo2011-06-104-5/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Original patch by Tshepang Lekhonkhobe.
| | * | | | | Clean up extra environment variable after packaging tests.Éric Araujo2011-06-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | packaging.util.check_environ will define HOME and PLAT if they don’t exist; for some reason, it does not define PLAT when running the tests from a checkout (so no regrtest warning) but does when running from an installed Python. Cleaning up the envvar in test_dist fixes the warning on my machine, but I suspect that a test runner using a different order to run files or running them in parallel may have PLAT defined in its environment because of another test. Quite a lot of code ends up calling check_environ; maybe we should just clean up PLAT in every test. For now I’m doing this simple fix, we’ll see if we get bug reports.