- 02 Eki, 2000 4 kayıt (commit)
-
-
Greg Ward yazdı
by default (since compiling at install time works just fine). Details: - added 'compile' and 'optimize' options - added 'byte_compile()' method - changed 'get_outputs()' so it includes bytecode files A lot of the code added is very similar to code in install_lib.py; would be nice to factor it out further.
-
Greg Ward yazdı
instruct the "install_lib" command from the command-line.
-
Greg Ward yazdı
choice between (compile, no-compile) * (optimize=0, optimize=1, optimize=2). Details: - added --no-compile option to complement --compile, which has been there for ages - changed --optimize (which never worked) to a value option, which expects 0, 1, or 2 - renamed 'bytecompile()' method to 'byte_compile()', and beefed it up to handle both 'compile' and 'optimize' options - fix '_bytecode_filenames()' to respect the new options
-
Greg Ward yazdı
-
- 01 Eki, 2000 5 kayıt (commit)
-
-
Greg Ward yazdı
pure Python modules to compile.
-
Greg Ward yazdı
blowing up.
-
Martin v. Löwis yazdı
Subclass Error from Exception.
-
Fred Drake yazdı
Versions are defined for Windows and Unix; the Unix flavor uses sysconf() to get the page size; this avoids the use of getpagesize(), which is deprecated and requires an additional library on some platforms (specifically, Reliant UNIX). This partially closes SourceForge bug #113797.
-
Barry Warsaw yazdı
class has no __getitem__(). This raises an AttributeError.
-
- 30 Eyl, 2000 21 kayıt (commit)
-
-
Fred Drake yazdı
This closes SourceForge patch #101714.
-
Greg Ward yazdı
is where all the FAQs about extension-building will be answered.
-
Greg Ward yazdı
'util.byte_compile()'. Currently just reproduces the existing functionality -- doesn't use any of the fancy features in the new 'byte_compile()'.
-
Greg Ward yazdı
standard 'py_compile.compile()' function. Laundry list of features: - handles standard Distutils 'force', 'verbose', 'dry_run' flags - handles various levels of optimization: can compile directly in this interpreter process, or write a temporary script that is then executed by a new interpreter with the appropriate flags - can rewrite the source filename by stripping an optional prefix and preprending an optional base dir.
-
Greg Ward yazdı
Fixed 'subst_vars()' so it actually blows up like the docstring claims (and fixed the docstring not to claim it handles ${var}, which it doesn't).
-
Greg Ward yazdı
-
Greg Ward yazdı
-
Greg Ward yazdı
absolute pathnames; this lets it keep working in the face of chdir'ing around.
-
Greg Ward yazdı
-
Greg Ward yazdı
-
Marc-André Lemburg yazdı
unicodedata_db.h.
-
Greg Ward yazdı
on the module file -- could be useful for subclasses overriding it.
-
Greg Ward yazdı
this will please everyone (as if that's possible).
-
Greg Ward yazdı
'uname()' -- specifically NeXTSTEP.
-
Greg Ward yazdı
- added 'sub_commands' class attr - added 'has_*()' predicates referenced by the sub-command list - rewrote 'run()' so it's a trivial loop over relevant sub-commands
-
Greg Ward yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
appear as methods on socket objects.
-
Fred Drake yazdı
-
- 29 Eyl, 2000 10 kayıt (commit)
-
-
Fred Drake yazdı
Error reported via email by Pete Shinners <pete@visionart.com>. Fixed some indentation inconsistencies.
-
Fred Drake yazdı
elsewhere in 1.5.2.
-
Martin v. Löwis yazdı
Add PyModule_AddStringConstant and PyModule_AddObject if version <2.0, to allow to share this file with PyXML.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Fred Drake yazdı
<grant.griffin@honeywell.com>.
-
Fred Drake yazdı
complex objects, and explain how to build so that Objects/complexobject.c is compiled without optimization. Closing SourceForge bug #110695 as "Won't Fix".
-
Fred Drake yazdı
This closes SourceForge bug #115673.
-
Fred Drake yazdı
<grant.griffin@honeywell.com>.
-
Fred Drake yazdı
Fixed displays of the interactive prompt in running text. These close SourceForge bug #115658. Also: Updated discussion of tuple unpacking to reflect the general ability to unpack any sequence type. Explained that it is possible to create tuples which contain mutable values, and noted in the dictionary section that such tuples cannot be used as keys. Noted that .pyc and .pyo files can be run directly when provided as the script parameter to the interpreter, and slightly clarified comments about using modules with only the byte compiled code. Removed some XXX comments that are no longer relevant. Removed commented-out paragraph about __private names being experimental. Adjusted markup for consistency in some places.
-