- 04 Nov, 2011 10 commits
-
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Florent Xicluna authored
-
Florent Xicluna authored
-
Victor Stinner authored
-
Florent Xicluna authored
-
Florent Xicluna authored
-
Ross Lagerwall authored
-
Ross Lagerwall authored
Thanks to Robert Xiao.
-
- 03 Nov, 2011 24 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
* _PyUnicode_CheckConsistency() now takes a PyObject* instead of void* * Remove now useless casts to PyObject*
-
Victor Stinner authored
* Fix decode_code_page_errors() result * Inline decode_code_page() and encode_code_page_chunk() * Replace the PyUnicodeObject type by PyObject
-
Florent Xicluna authored
-
Florent Xicluna authored
-
Victor Stinner authored
The code is not correct, but at least it doesn't crash anymore.
-
Victor Stinner authored
of a Unicode string. This is an incompatible change, but putp() is used to emit terminfo commands, which are bytes strings, not Unicode strings.
-
Victor Stinner authored
Unicode string. This is an incompatible change, but putp() is used to emit terminfo commands, which are bytes strings, not Unicode strings.
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
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.
-
Éric Araujo authored
-
Éric Araujo authored
New wording is taken straight from the PEP, so this time should be good :)
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
- 02 Nov, 2011 6 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Victor Stinner authored
instead of a Unicode string. This is an incompatible change, but the previous behaviour was completly wrong.
-
Victor Stinner authored
Unicode string. This is an incompatible change, but the previous behaviour was completly wrong.
-