- 03 Kas, 2011 15 kayıt (commit)
-
-
Victor Stinner yazdı
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 yazdı
Unicode string. This is an incompatible change, but putp() is used to emit terminfo commands, which are bytes strings, not Unicode strings.
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Éric Araujo yazdı
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 yazdı
-
Éric Araujo yazdı
New wording is taken straight from the PEP, so this time should be good :)
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Antoine Pitrou yazdı
-
Antoine Pitrou yazdı
-
- 02 Kas, 2011 18 kayıt (commit)
-
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Victor Stinner yazdı
instead of a Unicode string. This is an incompatible change, but the previous behaviour was completly wrong.
-
Victor Stinner yazdı
Unicode string. This is an incompatible change, but the previous behaviour was completly wrong.
-
Brian Curtin yazdı
-
Charles-François Natali yazdı
-
Charles-François Natali yazdı
-
Charles-François Natali yazdı
-
Charles-François Natali yazdı
-
Ezio Melotti yazdı
-
Éric Araujo yazdı
- 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)
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Florent Xicluna yazdı
-
Florent Xicluna yazdı
-
Florent Xicluna yazdı
-
- 01 Kas, 2011 7 kayıt (commit)
-
-
Florent Xicluna yazdı
-
Martin v. Löwis yazdı
-
Florent Xicluna yazdı
-
Florent Xicluna yazdı
-
Ezio Melotti yazdı
-
Ezio Melotti yazdı
-
Florent Xicluna yazdı
-