summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace PyUnicodeObject type by PyObjectVictor Stinner2011-11-033-148/+133
| | | | | * _PyUnicode_CheckConsistency() now takes a PyObject* instead of void* * Remove now useless casts to PyObject*
* Cleanup decode_code_page_stateful() and encode_code_page()Victor Stinner2011-11-032-111/+78
| | | | | | * Fix decode_code_page_errors() result * Inline decode_code_page() and encode_code_page_chunk() * Replace the PyUnicodeObject type by PyObject
* Oversight in previous commit for test_pep277.Florent Xicluna2011-11-031-1/+1
|
* Use PEP-3151 exceptions for test_pep277.Florent Xicluna2011-11-031-20/+22
|
* Adapt the code page encoder to the new unicode_encode_call_errorhandler()Victor Stinner2011-11-031-34/+50
| | | | The code is not correct, but at least it doesn't crash anymore.
* (Merge 3.2) Issue #10570: curses.putp() is now expecting a byte string, insteadVictor Stinner2011-11-033-4/+6
|\ | | | | | | | | | | | | of a Unicode string. This is an incompatible change, but putp() is used to emit terminfo commands, which are bytes strings, not Unicode strings.
| * Issue #10570: curses.putp() is now expecting a byte string, instead of aVictor Stinner2011-11-033-4/+6
| | | | | | | | | | | | | | Unicode string. This is an incompatible change, but putp() is used to emit terminfo commands, which are bytes strings, not Unicode strings.
* | Merge 3.2Éric Araujo2011-11-031-1/+1
|\ \ | |/
| * Branch mergeÉric Araujo2011-11-0312-94/+138
| |\
| | * Avoid relying on the default reST role in logging library docÉric Araujo2011-11-031-4/+4
| | |
| | * Fix incorrect docstring I changed a while back.Éric Araujo2011-11-031-1/+1
| | | | | | | | | | | | | | | New wording is taken straight from the PEP, so this time should be good :)
* | | Branch mergeÉric Araujo2011-11-0327-289/+330
|\ \ \
| * | | Actually check the contents of the file created by packaging’s bdist_dumbÉric Araujo2011-11-031-4/+13
| | | |
| * | | Merge follow-up for #11254 and other changes from 3.2Éric Araujo2011-11-0310-89/+134
| |\ \ \ | | | |/ | | |/|
| | * | More fixes for PEP 3147 compliance in distutils (#11254)Éric Araujo2011-11-035-60/+95
| | | |
| | * | Add signatures to the docstring of functions added to imp by PEP 3147Éric Araujo2011-11-031-2/+4
| | | |
| | * | State explicitely that PYTHONDONTWRITEBYTECODE is equivalent to -BÉric Araujo2011-11-031-1/+2
| | | |
| | * | Fix typoÉric Araujo2011-11-021-1/+1
| | | |
| | * | Cleanups in distutils tests.Éric Araujo2011-11-023-25/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Actually check the contents of the file created by bdist_dumb. - Don’t use “RECORD” as filename for non-PEP 376 record file - Don’t start method name with “_test”, it smells like a disabled test method instead of an helper method - Fix some idioms (assertIn, addCleanup)
| * | | Improve byte-compilation in packaging to be independent of -O or -B.Éric Araujo2011-11-0313-162/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code I fixed to comply with PEP 3147 still had one bug: When run under python -O, some paths for pyc files would be pyo, because I called imp.cache_from_source without explicit debug_override argument in some places, and under -O that would return .pyo (this is well explained in the imp docs). Now all code (util.byte_compile, build_py, install_lib) can create .pyo files according to options given by users, without interference from the calling Python’s own optimize mode. On a related topic, I also removed the code that prevented byte compilation under python -B. The rationale is that packaging gives control over the creation of pyc files to the user with its own explicit option, and the behavior should not be changed if the calling Python happens to run with -B for whatever reason. I will argue that this is a bug fix and ask to be allowed to backport this change to distutils. Finally, I moved one nugget of information about the --compile and --optimize options from the source into the doc. It clears up a misunderstanding that I (and maybe other people) had.
| * | | Minor code reorganization in one packaging test fileÉric Araujo2011-11-021-27/+25
| | | |
| * | | Fix typo “seperate”Éric Araujo2011-11-023-3/+3
| | | |
| * | | Fix typos in recent NEWS entriesÉric Araujo2011-11-021-4/+5
| | | |
* | | | Issue #13307: fix bdist_rpm test failuresAntoine Pitrou2011-11-032-5/+6
|\ \ \ \ | | |_|/ | |/| |
| * | | Issue #13307: fix bdist_rpm test failuresAntoine Pitrou2011-11-032-5/+6
| | | |
* | | | (Merge 3.2) Issue #10570: curses.tigetstr() is now expecting a byte string,Victor Stinner2011-11-024-3/+11
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | instead of a Unicode string. This is an incompatible change, but the previous behaviour was completly wrong.
| * | | Issue #10570: curses.tigetstr() is now expecting a byte string, instead of aVictor Stinner2011-11-024-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | Unicode string. This is an incompatible change, but the previous behaviour was completly wrong.
* | | | Fix a compile error (apparently Windows only) introduced in 295fdfd4f422Brian Curtin2011-11-021-2/+3
| | | |
* | | | test_asyncore: Actually try to received OOB data.Charles-François Natali2011-11-021-0/+1
| | | |
* | | | Issue #13308: Fix test_httpservers failures when run as root.Charles-François Natali2011-11-021-2/+6
|\ \ \ \ | |/ / /
| * | | Issue #13308: Fix test_httpservers failures when run as root.Charles-François Natali2011-11-021-2/+6
| | |/ | |/|
* | | Issue #13324: fcntlmodule: Add the F_NOCACHE flag. Patch by Alex Stewart.Charles-François Natali2011-11-022-1/+5
| | |
* | | #13295: http.server now produces valid HTML 4.01 strict.Ezio Melotti2011-11-022-8/+16
| | |
* | | Port UCS1 and charmap codecs to new API.Martin v. Löwis2011-11-023-89/+134
| |/ |/|
* | Introduce PyObject* API for raising encode errors.Martin v. Löwis2011-11-021-3/+49
| |
* | Issue #13312: skip the failing negative years for now.Florent Xicluna2011-11-021-3/+4
| |
* | Actually, there's more than one failing value. (changeset 9cb1b85237a9, ↵Florent Xicluna2011-11-021-2/+3
| | | | | | | | issue #13312).
* | Issue #13312: skip the single failing value for now.Florent Xicluna2011-11-021-1/+3
| |
* | Replace Py_UNICODE_strchr with PyUnicode_FindChar.Martin v. Löwis2011-11-011-6/+3
| |
* | Additional tests for negative years.Florent Xicluna2011-11-011-0/+2
| |
* | Merge 3.2: issue #2892Florent Xicluna2011-11-014-30/+49
|\ \ | |/
| * Closes #2892: preserve iterparse events in case of SyntaxError.Florent Xicluna2011-11-014-30/+49
| |
* | Merge test improvements from 3.2.Ezio Melotti2011-11-011-17/+19
|\ \ | |/
| * Make sure that the tolerant parser still parses valid HTML correctly.Ezio Melotti2011-11-011-17/+19
| |
* | Lowercase the test name, to run last.Florent Xicluna2011-11-011-4/+3
| |
* | Replace temporary tests with the real test case for issue #13309 on Gentoo.Florent Xicluna2011-11-011-7/+9
| |
* | 'HTTPSHandler' and not the type.Senthil Kumaran2011-11-011-1/+1
| |
* | Append HTTPSHandler to __all__ when it is available.Senthil Kumaran2011-11-011-0/+2
| |
* | issue13287 - Define __all__ for urllib.request and urllib.error and expose onlySenthil Kumaran2011-11-014-18/+40
| | | | | | | | the relevant module. Other cleanup improvements. Patch by flox.
* | Troubleshoot issue #13309 on Gentoo buildbot.Florent Xicluna2011-11-011-2/+4
| |