- 11 May, 2004 1 kayıt (commit)
-
-
Thomas Heller yazdı
Already backported to release23-maint.
-
- 15 Şub, 2004 1 kayıt (commit)
-
-
Neil Schemenauer yazdı
-
- 12 Şub, 2004 1 kayıt (commit)
-
-
Walter Dörwald yazdı
From SF patch #852334.
-
- 14 Kas, 2003 1 kayıt (commit)
-
-
Thomas Heller yazdı
The find_all_submodules() method in modulefinder only looks for *.py, *.pyc, and *.pyo files. Python extension modules are only found if they are referenced in import statements somewhere. This patch uses the actual list from imp.get_suffixes(). Backported myself.
-
- 18 Tem, 2003 1 kayıt (commit)
-
-
Just van Rossum yazdı
-
- 05 Mar, 2003 1 kayıt (commit)
-
-
Just van Rossum yazdı
in packages correctly.
-
- 27 Şub, 2003 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 01 Şub, 2003 1 kayıt (commit)
-
-
Just van Rossum yazdı
-
- 29 Ock, 2003 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 31 Ara, 2002 2 kayıt (commit)
-
-
Just van Rossum yazdı
any_missing() returns less bogus missing modules. - I've rewritten scan_code() more or less from scratch, factored bits and pieces out for readability. - keep track of global assignments and failed imports per module; use this to determine whether the Y in "from X import Y" is a submodule or just a global name. This is not 100% doable: you can't tell which symbols are imported when doing a star import of a non-Python module short of actually importing it. - added a new method to ModuleFinder: any_missing_maybe(), which returns *two* lists, one with certain misses, one with possible misses. The possible misses are *very* often false alarms, so it's useful to keep this list separate. any_misses() now simply returns the union of any_missing_maybe(). TODO: documentation, test_modulefinder.py
-
Just van Rossum yazdı
-
- 26 Kas, 2002 3 kayıt (commit)
-
-
Just van Rossum yazdı
-
Thomas Heller yazdı
-
Thomas Heller yazdı
Mark writes in private email: "Modules listed in the registry was a dumb idea. This whole scheme can die. AFAIK, no one in the world uses it (including win32all since the last build)." (See also SF #643711)
-
- 25 Kas, 2002 1 kayıt (commit)
-
-
Thomas Heller yazdı
per PEP 291 (although there are currently string methods used). This patch makes it compatible with 2.2, at least, by detecting universal newline support.
-
- 14 Kas, 2002 1 kayıt (commit)
-
-
Thomas Heller yazdı
Fixes SF # 637835.
-
- 12 Kas, 2002 2 kayıt (commit)
-
-
Neal Norwitz yazdı
Use universal newline support when opening a file for freezing.
-
Neal Norwitz yazdı
Pass co_freevars and co_cellvars to new.code(). Will backport.
-
- 11 Eyl, 2002 1 kayıt (commit)
-
-
http://www.python.org/sf/572113Walter Dörwald yazdı
(with one small bugfix in bgen/bgen/scantools.py) This replaces string module functions with string methods for the stuff in the Tools directory. Several uses of string.letters etc. are still remaining.
-
- 10 Haz, 2002 1 kayıt (commit)
-
-
Thomas Heller yazdı
Fixes SF 564840.
-
- 18 Eki, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
(With slight cosmetic improvements to shorten lines and a grammar fix to a docstring.) This addes -X and -E options to freeze. From the docstring: -X module Like -x, except the module can never be imported by the frozen binary. -E: Freeze will fail if any modules can't be found (that were not excluded using -x or -X).
-
- 05 Eyl, 2001 1 kayıt (commit)
-
-
Mark Hammond yazdı
-
- 20 Mar, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This patch was developed primarily to reduce the size of the frozen binary. It is particularly useful when freezing for 'small' platforms, such as Palm OS, where you really want to save that last miserable byte. A limitation of this patch is that it does not provide any feedback about the replacements being made. As the path matching is case-sensitive this may lead to unexpected behaviour for DOS and Windows people, eg > freeze.py -r C:\Python\Lib\=py\ goats.py should probably be: > freeze.py -r c:\python\lib\=py\ goats.py
-
- 06 Kas, 2000 1 kayıt (commit)
-
-
Mark Hammond yazdı
-
- 15 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
crashed on an assert.
-
- 16 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
-
- 02 May, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Bad % formatting.
-
- 02 Kas, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Sometimes there's no parent, so don't try to get its __name__.
-
- 22 Ara, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
was referenced in instead of only the last. (Sjoerd Mullender)
-
- 15 Ara, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
When printing missing modules, also print the module they were imported from.
-
- 14 Eyl, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 25 Agu, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Sjoerd writes: This version of freeze creates one file per Python module, instead of one humongous file for all Python modules. bkfile: new module to used to write files with backups. No new file is produced if the new contents is identical to the old. New option "-x excluded-module" for modulefinder test program. New option "-i filename" for freeze main program to include a list of options in place of the -i option.
-
- 18 May, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
packages. (Mark Hammond) Remove Emacs cruft.
-
- 20 Mar, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 06 Mar, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 05 Mar, 1998 3 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
We have a whole new module finder that uses the actual Python parser and scans the bytecode for IMPORT_NAME and IMPORT_FROM. This requires some support in import.c (that hasn't been checked in). New command line options for this: -d, -q, -m.
-