summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #12765: Fix packaging.test.test_database failures on OS X dueNed Deily2011-09-151-0/+1
| | | | | to unwarranted assumption about absolute paths: on OS X /var is a symlink to /private/var. (Also true for /etc and /tmp).
* import.c: remove now useless arbitrary limitVictor Stinner2011-09-151-6/+0
|
* Merge 3.2: Fix the import machinery if there is an error on sys.path or ↵Victor Stinner2011-09-151-4/+4
|\ | | | | | | | | | | | | | | sys.meta_path find_module() now raises a RuntimeError, instead of ImportError, on an error on sys.path or sys.meta_path because load_package() and import_submodule() returns None and clear the exception if a ImportError occurred.
| * Fix the import machinery if there is an error on sys.path or sys.meta_pathVictor Stinner2011-09-151-4/+4
| | | | | | | | | | | | find_module() now raises a RuntimeError, instead of ImportError, on an error on sys.path or sys.meta_path because load_package() and import_submodule() returns None and clear the exception if a ImportError occurred.
* | Fix packaging.database.Distribution.list_distinfo_files (#12785).Éric Araujo2011-09-152-23/+27
| | | | | | | | | | | | | | | | | | | | | | This method was supposed to return only the file under the dist-info directory, but it actually returned all installed files. The tests didn’t catch this because they were flawed; I updated them. Thanks to Nadeem Vawda and Jeremy Kloth for testing. As a bonus, the removal of os.path.relpath use should also fix the Windows buildbots.
* | Issue #9871: Prevent IDLE 3 crash when given byte stingsNed Deily2011-09-144-7/+12
|\ \ | |/ | | | | | | with invalid hex escape sequences, like b'\x0'. (Original patch by Claudiu Popa.)
| * Issue #9871: Prevent IDLE 3 crash when given byte stingsNed Deily2011-09-144-7/+12
| | | | | | | | | | with invalid hex escape sequences, like b'\x0'. (Original patch by Claudiu Popa.)
* | merge headsBenjamin Peterson2011-09-142-0/+12
|\ \
| * \ Merge fix for issue #11149.Stefan Krah2011-09-142-0/+12
| |\ \ | | |/
| | * Issue #11149: recent versions of clang require the -fwrapv flag.Stefan Krah2011-09-142-0/+12
| | |
* | | only compile xattrs on glibc (closes #12720)Benjamin Peterson2011-09-141-5/+9
|/ /
* | Use xattr functions from sys/xattr.h instead of attr/xattr.h (closes #12720)Benjamin Peterson2011-09-134-14/+14
| | | | | | | | sys/xattr.h is glibc while attr/xattr.h is a separate library.
* | The value is the dotted module name to the command class.Jeremy Kloth2011-09-131-1/+1
| |
* | merge from 3.2Senthil Kumaran2011-09-121-1/+2
|\ \ | |/
| * Fix issue12938 - Update the docstring of html.escape. Include the ↵Senthil Kumaran2011-09-121-1/+2
| | | | | | | | information on single quote.
* | merge from 3.2 - Add the missing quote_plus call. Fix closes Issue12924Senthil Kumaran2011-09-121-0/+1
|\ \ | |/
| * Add the quote_plus call in the test.Senthil Kumaran2011-09-121-0/+1
| |
* | Remove trailing spacesAmaury Forgeot d'Arc2011-09-121-1/+1
| |
* | Merge 3.2: Issue #12483: ctypes: Fix a crash when the destruction of a callbackAmaury Forgeot d'Arc2011-09-123-0/+12
|\ \ | |/ | | | | object triggers the garbage collector.
| * Issue #12483: ctypes: Fix a crash when the destruction of a callbackAmaury Forgeot d'Arc2011-09-123-0/+12
| | | | | | | | object triggers the garbage collector.
* | Factor out the distribution file-system safe name functions from ↵Jeremy Kloth2011-09-123-36/+16
| | | | | | | | install_distinfo to allow all metadata consumers access to them.
* | Merge 3.2Éric Araujo2011-09-121-4/+5
|\ \ | |/
| * Branch mergeÉric Araujo2011-09-124-56/+72
| |\
| | * Wrap pydoc output under 80 charactersÉric Araujo2011-09-101-4/+5
| | |
* | | Branch mergeÉric Araujo2011-09-1215-490/+494
|\ \ \
| * | | Remove unneeded --all option of “pysetup list”.Éric Araujo2011-09-123-20/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The command without arguments already prints all installed distributions found. In addition, change “releases” for “projects” in the description of the list action. Strictly speaking, one installed distribution satisfies the requirement for a release (i.e. version) of a project, but as currently only one release per project can be installed at a time, the two are somewhat equivalent, and “project” is more understandable in help texts (which call their argument “dist”, by the way..)
| * | | Remove obsolete comment (yes, build_ext supports C++)Éric Araujo2011-09-101-4/+0
| | | |
| * | | Don’t let invalid line in setup.cfg pass silentlyÉric Araujo2011-09-101-3/+4
| | | |
| * | | Fix usage of bytes in packaging's bdist_wininst.Éric Araujo2011-09-101-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | This is copied from the namesake distutils command; there is no automated test, so buildbots won’t call for my head this time, but it should be okay as Python 3 users have tested the distutils command.
| * | | Use bytes regex instead of decoding whole pagesÉric Araujo2011-09-101-12/+10
| | | |
| * | | Fix usage of dry-run in packaging bdist_wininst and install_distinfo.Éric Araujo2011-09-102-40/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In dry-run mode, packaging commands should log the same info as in real operation and should collect the same files in self.outputs, so that users can run a command in verbose and dry-run mode to see exactly what operations will be done in the real run.
| * | | Fix determination of Metadata version in packaging (#8933).Éric Araujo2011-09-103-5/+19
| | | | | | | | | | | | | | | | Original patch by Filip Gruszczyński.
| * | | Consolidate tests for packaging.metadata.Éric Araujo2011-09-104-351/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New tests were added in test_metadata and old tests inherited from distutils were still in test_dist, so I moved them into test_metadata (except for one which was more at home in test_run) and merged duplicates. I also added some skips to lure contributors <wink>, optimized the Metadata.update method a trifle, and added notes about a number of issues. A note: The tests in test_dist used to dump the Metadata objects to a file in the METADATA format and look for strings in its contents; I updated them to use the mapping API of Metadata instead. For some fields with special writing rules, I have added tests to ensure my conversion did not lose anything.
| * | | Merge fix for #8933 from 3.2Éric Araujo2011-09-103-52/+67
| |\ \ \ | | | |/ | | |/|
| | * | Fix determination of Metadata version (#8933). Patch by Filip Gruszczyński.Éric Araujo2011-09-093-1/+20
| | | |
| | * | Slight cleanup in distutils test_dist.Éric Araujo2011-09-091-51/+47
| | | | | | | | | | | | | | | | | | | | I have tests to add in this file and it’s always nice to start from a clean base.
* | | | Merge fix for issue #12963.Stefan Krah2011-09-121-3/+3
|\ \ \ \ | | |_|/ | |/| |
| * | | Issue #12963: PyLong_AsSize_t() now returns (size_t)-1 in all error cases.Stefan Krah2011-09-121-3/+3
| | | |
* | | | Oops, zlib.ZLIB_VERSION isn't new in 3.3 - just newly-documented...Nadeem Vawda2011-09-111-2/+0
| | | |
* | | | Terminology fix: .gz and .bz2 are not archive formats.Nadeem Vawda2011-09-111-1/+1
| | | |
* | | | Issue #12306: Add ZLIB_RUNTIME_VERSION to the zlib module.Nadeem Vawda2011-09-114-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | While we're at it, also document ZLIB_VERSION. Patch by Torsten Landschoff.
* | | | BZ2File now uses the compresslevel argument given by the caller,Nadeem Vawda2011-09-112-2/+9
| | | | | | | | | | | | | | | | instead of ignoring it and always using a compression level of 9.
* | | | add ChainMap to __all__ (closes #12959)Benjamin Peterson2011-09-112-1/+3
| | | | | | | | | | | | | | | | Thanks July Tikhonov.
* | | | #12940: merge with 3.2.Ezio Melotti2011-09-101-1/+1
|\ \ \ \ | |/ / /
| * | | #12940: fix cmd example. Patch by Tim Chase.Ezio Melotti2011-09-101-1/+1
| | | |
* | | | NEWSJesus Cea2011-09-101-0/+3
|\ \ \ \ | |/ / /
| * | | NEWSJesus Cea2011-09-101-0/+5
| | | |
* | | | MERGE: Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndianaJesus Cea2011-09-100-0/+0
|\ \ \ \ | |/ / /
| * | | Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndianaJesus Cea2011-09-101-11/+23
| | | |
* | | | Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndianaJesus Cea2011-09-101-11/+23
| | | |