summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #13343: Fix a SystemError when a lambda expression uses a globalAmaury Forgeot d'Arc2011-11-043-0/+15
|\ | | | | | | | | variable in the default value of a keyword-only argument: (lambda *, arg=GLOBAL_NAME: None)
| * Issue #13343: Fix a SystemError when a lambda expression uses a globalAmaury Forgeot d'Arc2011-11-043-0/+15
| | | | | | | | | | variable in the default value of a keyword-only argument: (lambda *, arg=GLOBAL_NAME: None)
* | Fix test_urllib2 error on Windows in relation with issue #13287.Florent Xicluna2011-11-041-0/+4
| |
* | Merge headsPetri Lehtinen2011-11-041-6/+13
|\ \
| * | Avoid the Py_UNICODE type in codecs.cVictor Stinner2011-11-041-4/+11
| | |
| * | PyCodec_XMLCharRefReplaceError(): Remove unused variableVictor Stinner2011-11-041-2/+2
| | |
* | | Issue #3067: Fix the error raised by locale.setlocale()Petri Lehtinen2011-11-044-7/+23
|\ \ \ | |/ / |/| / | |/
| * Issue #3067: Fix the error raised by locale.setlocale()Petri Lehtinen2011-11-044-7/+23
| |
* | Fix gdb/libpython.py for not ready Unicode stringsVictor Stinner2011-11-043-10/+10
| | | | | | | | | | _PyUnicode_CheckConsistency() checks also hash and length value for not ready Unicode strings.
* | Replace tabs by spacesVictor Stinner2011-11-041-46/+46
| |
* | Drop Py_UNICODE based encode exceptions.Martin v. Löwis2011-11-041-60/+22
| |
* | Port code page codec to Unicode API.Martin v. Löwis2011-11-042-62/+73
| |
* | Fix C89 incompatibility.Martin v. Löwis2011-11-041-1/+1
| |
* | Port error handlers from Py_UNICODE indexing to code point indexing.Martin v. Löwis2011-11-042-77/+51
| |
* | Merge 3.2: issue #13140Florent Xicluna2011-11-043-3/+3
|\ \ | |/
| * Closes #13140: Fix the daemon_threads attribute of ThreadingMixIn.Florent Xicluna2011-11-043-3/+3
| |
* | Issue #12342: Fix compilation on Mac OS XVictor Stinner2011-11-041-1/+1
| |
* | Remove redundant imports.Florent Xicluna2011-11-047-12/+6
| |
* | Drop unused import in unittest package.Florent Xicluna2011-11-044-5/+1
| |
* | (Merge 3.2) Issue #13339.Ross Lagerwall2011-11-042-1/+4
|\ \ | |/
| * Issue #13339: Fix compile error in posixmodule.c due to missing semicolon.Ross Lagerwall2011-11-042-1/+4
| | | | | | | | Thanks to Robert Xiao.
* | (Merge 3.2) Issue #12342: Improve _tkinter error message on unencodable ↵Victor Stinner2011-11-031-2/+4
|\ \ | |/ | | | | character
| * Issue #12342: Improve _tkinter error message on unencodable characterVictor Stinner2011-11-031-2/+4
| |
* | Fix a compiler warning in unicode_encode_ucs1()Victor Stinner2011-11-031-1/+1
| |
* | Fix PyUnicode_EncodeCharmap()Victor Stinner2011-11-031-1/+1
| |
* | 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
| | | |