Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #13343: Fix a SystemError when a lambda expression uses a global | Amaury Forgeot d'Arc | 2011-11-04 | 3 | -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 global | Amaury Forgeot d'Arc | 2011-11-04 | 3 | -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 Xicluna | 2011-11-04 | 1 | -0/+4 |
| | | |||||
* | | Merge heads | Petri Lehtinen | 2011-11-04 | 1 | -6/+13 |
|\ \ | |||||
| * | | Avoid the Py_UNICODE type in codecs.c | Victor Stinner | 2011-11-04 | 1 | -4/+11 |
| | | | |||||
| * | | PyCodec_XMLCharRefReplaceError(): Remove unused variable | Victor Stinner | 2011-11-04 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #3067: Fix the error raised by locale.setlocale() | Petri Lehtinen | 2011-11-04 | 4 | -7/+23 |
|\ \ \ | |/ / |/| / | |/ | |||||
| * | Issue #3067: Fix the error raised by locale.setlocale() | Petri Lehtinen | 2011-11-04 | 4 | -7/+23 |
| | | |||||
* | | Fix gdb/libpython.py for not ready Unicode strings | Victor Stinner | 2011-11-04 | 3 | -10/+10 |
| | | | | | | | | | | _PyUnicode_CheckConsistency() checks also hash and length value for not ready Unicode strings. | ||||
* | | Replace tabs by spaces | Victor Stinner | 2011-11-04 | 1 | -46/+46 |
| | | |||||
* | | Drop Py_UNICODE based encode exceptions. | Martin v. Löwis | 2011-11-04 | 1 | -60/+22 |
| | | |||||
* | | Port code page codec to Unicode API. | Martin v. Löwis | 2011-11-04 | 2 | -62/+73 |
| | | |||||
* | | Fix C89 incompatibility. | Martin v. Löwis | 2011-11-04 | 1 | -1/+1 |
| | | |||||
* | | Port error handlers from Py_UNICODE indexing to code point indexing. | Martin v. Löwis | 2011-11-04 | 2 | -77/+51 |
| | | |||||
* | | Merge 3.2: issue #13140 | Florent Xicluna | 2011-11-04 | 3 | -3/+3 |
|\ \ | |/ | |||||
| * | Closes #13140: Fix the daemon_threads attribute of ThreadingMixIn. | Florent Xicluna | 2011-11-04 | 3 | -3/+3 |
| | | |||||
* | | Issue #12342: Fix compilation on Mac OS X | Victor Stinner | 2011-11-04 | 1 | -1/+1 |
| | | |||||
* | | Remove redundant imports. | Florent Xicluna | 2011-11-04 | 7 | -12/+6 |
| | | |||||
* | | Drop unused import in unittest package. | Florent Xicluna | 2011-11-04 | 4 | -5/+1 |
| | | |||||
* | | (Merge 3.2) Issue #13339. | Ross Lagerwall | 2011-11-04 | 2 | -1/+4 |
|\ \ | |/ | |||||
| * | Issue #13339: Fix compile error in posixmodule.c due to missing semicolon. | Ross Lagerwall | 2011-11-04 | 2 | -1/+4 |
| | | | | | | | | Thanks to Robert Xiao. | ||||
* | | (Merge 3.2) Issue #12342: Improve _tkinter error message on unencodable ↵ | Victor Stinner | 2011-11-03 | 1 | -2/+4 |
|\ \ | |/ | | | | | character | ||||
| * | Issue #12342: Improve _tkinter error message on unencodable character | Victor Stinner | 2011-11-03 | 1 | -2/+4 |
| | | |||||
* | | Fix a compiler warning in unicode_encode_ucs1() | Victor Stinner | 2011-11-03 | 1 | -1/+1 |
| | | |||||
* | | Fix PyUnicode_EncodeCharmap() | Victor Stinner | 2011-11-03 | 1 | -1/+1 |
| | | |||||
* | | Replace PyUnicodeObject type by PyObject | Victor Stinner | 2011-11-03 | 3 | -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 Stinner | 2011-11-03 | 2 | -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 Xicluna | 2011-11-03 | 1 | -1/+1 |
| | | |||||
* | | Use PEP-3151 exceptions for test_pep277. | Florent Xicluna | 2011-11-03 | 1 | -20/+22 |
| | | |||||
* | | Adapt the code page encoder to the new unicode_encode_call_errorhandler() | Victor Stinner | 2011-11-03 | 1 | -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, instead | Victor Stinner | 2011-11-03 | 3 | -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 a | Victor Stinner | 2011-11-03 | 3 | -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 Araujo | 2011-11-03 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Branch merge | Éric Araujo | 2011-11-03 | 12 | -94/+138 |
| |\ | |||||
| | * | Avoid relying on the default reST role in logging library doc | Éric Araujo | 2011-11-03 | 1 | -4/+4 |
| | | | |||||
| | * | Fix incorrect docstring I changed a while back. | Éric Araujo | 2011-11-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | New wording is taken straight from the PEP, so this time should be good :) | ||||
* | | | Branch merge | Éric Araujo | 2011-11-03 | 27 | -289/+330 |
|\ \ \ | |||||
| * | | | Actually check the contents of the file created by packaging’s bdist_dumb | Éric Araujo | 2011-11-03 | 1 | -4/+13 |
| | | | | |||||
| * | | | Merge follow-up for #11254 and other changes from 3.2 | Éric Araujo | 2011-11-03 | 10 | -89/+134 |
| |\ \ \ | | | |/ | | |/| | |||||
| | * | | More fixes for PEP 3147 compliance in distutils (#11254) | Éric Araujo | 2011-11-03 | 5 | -60/+95 |
| | | | | |||||
| | * | | Add signatures to the docstring of functions added to imp by PEP 3147 | Éric Araujo | 2011-11-03 | 1 | -2/+4 |
| | | | | |||||
| | * | | State explicitely that PYTHONDONTWRITEBYTECODE is equivalent to -B | Éric Araujo | 2011-11-03 | 1 | -1/+2 |
| | | | | |||||
| | * | | Fix typo | Éric Araujo | 2011-11-02 | 1 | -1/+1 |
| | | | | |||||
| | * | | Cleanups in distutils tests. | Éric Araujo | 2011-11-02 | 3 | -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 Araujo | 2011-11-03 | 13 | -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 Araujo | 2011-11-02 | 1 | -27/+25 |
| | | | | |||||
| * | | | Fix typo “seperate” | Éric Araujo | 2011-11-02 | 3 | -3/+3 |
| | | | | |||||
| * | | | Fix typos in recent NEWS entries | Éric Araujo | 2011-11-02 | 1 | -4/+5 |
| | | | | |||||
* | | | | Issue #13307: fix bdist_rpm test failures | Antoine Pitrou | 2011-11-03 | 2 | -5/+6 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Issue #13307: fix bdist_rpm test failures | Antoine Pitrou | 2011-11-03 | 2 | -5/+6 |
| | | | |