Georg Brandl
eae1b28fb1
#6078 : _warnings is a builtin module and has no standard init_warnings function.
2009-05-22 17:00:17 +00:00
Martin v. Löwis
ab0f947a21
Remove .cvsignore files, as they live in svn:ignore
...
properties now.
2005-10-30 22:01:41 +00:00
Tim Peters
182b5aca27
Whitespace normalization, via reindent.py.
2004-07-18 06:16:08 +00:00
Gustavo Niemeyer
ffa5a5015a
Small fixes in freeze.py.
2004-05-08 17:59:43 +00:00
Walter Dörwald
70a6b49821
Replace backticks with repr() or "%r"
...
From SF patch #852334 .
2004-02-12 17:35:32 +00:00
Walter Dörwald
f0dfc7ac5c
Fix a bunch of typos in documentation, docstrings and comments.
...
(From SF patch #810751 )
2003-10-20 14:01:56 +00:00
Martin v. Löwis
8f81c93b8c
Patch #713645 : Fix typo.
2003-09-20 11:05:01 +00:00
Gustavo Niemeyer
7b4abbb2e2
modulefinder.py is not a freeze private module anymore.
2003-05-26 23:52:30 +00:00
Just van Rossum
821a0fc140
replace obsolete 'exceptions' implicit by 'warnings'
2003-03-18 18:48:17 +00:00
Just van Rossum
e9e20a9838
[ 684677 ] Allow freeze to exclude implicits
2003-03-08 19:50:38 +00:00
Just van Rossum
41c554fbec
moving modulefinder.py to the standard library
2002-12-31 16:27:33 +00:00
Just van Rossum
5d0bd1ebdf
refactor universal line endings detection
2002-11-26 09:53:16 +00:00
Thomas Heller
318b7b920d
Polish some bits to silence pychecker.
2002-11-26 08:06:50 +00:00
Thomas Heller
8af41ceece
Don't look for modules in the registry any longer.
...
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 )
2002-11-26 08:05:09 +00:00
Thomas Heller
919000e9ec
Add a note that this file should be kept compatible with Python 1.5.2,
...
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.
2002-11-25 20:21:59 +00:00
Thomas Heller
c7aaf953fa
Enhancement for ModuleFinder, it can now handle _xmlplus aka PyXML.
...
Fixes SF # 637835.
2002-11-14 18:45:11 +00:00
Neal Norwitz
74416af9dc
Fix SF # 464405, freeze doesn't like DOS files on Linux
...
Use universal newline support when opening a file for freezing.
2002-11-12 23:21:15 +00:00
Neal Norwitz
82c7231071
SF # 627900, Bytecode copy bug in freeze
...
Pass co_freevars and co_cellvars to new.code().
Will backport.
2002-11-12 23:09:12 +00:00
Walter Dörwald
ed44dbd959
Remove another mention of "import string".
...
The file itself still mentions Python 1.5.1,
so it might need further updates.
2002-09-12 14:40:44 +00:00
Walter Dörwald
aaab30e00c
Apply diff2.txt from SF patch http://www.python.org/sf/572113
...
(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.
2002-09-11 20:36:02 +00:00
Mark Hammond
60ae701b3a
Update freeze to use zlib 1.1.4.
...
From patch: [ 574532 ] Update freeze to use zlib 1.1.4
2002-07-03 02:40:25 +00:00
Mark Hammond
0d3b2fe094
Patch 574531/Bug 574570 - allow freeze on windows to use the _winreg
...
extension.
2002-06-28 01:13:02 +00:00
Thomas Heller
4f7829e185
Remove the only use of a string method.
...
Fixes SF 564840.
2002-06-10 20:05:48 +00:00
Marc-André Lemburg
64b4f2770e
Updated freeze.py to the new Makefile symbol layout.
...
Fixed a few compiler warnings.
freeze.py now produces binaries which can import shared
modules (unlike before).
2002-04-04 16:15:41 +00:00
Guido van Rossum
03f7f08874
Part 2/2 of SF patch #416704 : More robust freeze, by Toby Dickenson.
...
(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).
2001-10-18 19:15:32 +00:00