Serhiy Storchaka
205408dacb
Issue #23615 : Module tarfile is now can be reloaded with imp.reload().
2015-03-11 17:31:59 +02:00
Ezio Melotti
6d0f0f299b
#18803 : fix more typos. Patch by Févry Thibault.
2013-08-26 01:31:30 +03:00
Ezio Melotti
c2077b0d9b
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
2011-03-16 12:34:31 +02:00
Georg Brandl
1060380ea4
Merged revisions 85768-85771,85773,85777,85823,85825 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85768 | georg.brandl | 2010-10-21 14:59:14 +0200 (Do, 21 Okt 2010) | 1 line
#9919 : fix off-by-one error in lineno command in Misc/gdbinit; also add newline to its output.
........
r85769 | georg.brandl | 2010-10-21 15:01:23 +0200 (Do, 21 Okt 2010) | 1 line
Fix missing import.
........
r85770 | georg.brandl | 2010-10-21 15:29:10 +0200 (Do, 21 Okt 2010) | 1 line
#3077 : fix h2py substitution of character literals.
........
r85771 | georg.brandl | 2010-10-21 15:34:51 +0200 (Do, 21 Okt 2010) | 1 line
#1203650 : allow larger list of files in windows makefile for freeze.
........
r85773 | georg.brandl | 2010-10-21 15:45:52 +0200 (Do, 21 Okt 2010) | 1 line
#4829 : better error message for invalid file mode
........
r85777 | georg.brandl | 2010-10-21 17:44:51 +0200 (Do, 21 Okt 2010) | 1 line
Add .hgeol file for the Mercurial EOL extension.
........
r85823 | georg.brandl | 2010-10-24 16:32:45 +0200 (So, 24 Okt 2010) | 1 line
Fix style.
........
r85825 | georg.brandl | 2010-10-24 17:16:02 +0200 (So, 24 Okt 2010) | 1 line
Add documentation about the default warnings filters.
........
2010-11-26 08:10:41 +00:00
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
Mark Hammond
773c83be04
Fix for bug #442374 - Modulefinder registry support broken
2001-09-05 23:42:36 +00:00
Neil Schemenauer
89e90d67aa
Separate CFLAGS and CPPFLAGS. CFLAGS should not contain preprocessor
...
directives, which is the role of CPPFLAGS. Closes SF patch #414991 .
2001-06-02 06:16:02 +00:00
Martin v. Löwis
2c91c815d4
Patch #409504 : Fix regex problems, consider \-continuation lines in Makefile
...
and Setup.
2001-03-21 06:58:25 +00:00
Guido van Rossum
6b767ac81a
Lawrence Hudson, SF #401702 : Modify co_filename in frozen programs
...
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
2001-03-20 20:43:34 +00:00
Eric S. Raymond
1bb515b0e5
Teach Tools/freeze/makeconfig.py and Tools/freeze/parsesetup.py to use
...
the re package rather than the obsolete regex.
2001-03-18 11:27:58 +00:00
Tim Peters
af449638b6
Patch 103928: Correct zlib freeze settings for Win32.
2001-02-23 03:45:13 +00:00
Tim Peters
19f52c2e34
Windows: ucnhash subproject no longer exists (/F merged into unicodedata).
2001-01-24 10:07:22 +00:00
Guido van Rossum
ecc463a617
New, improved README from Mike Clarkson. Wow!
2001-01-03 23:50:59 +00:00
Mark Hammond
d3d7bb1c31
Application of [ Patch #102226 ] freeze/modulefinder.py should use _winreg, not win32api
2000-11-06 02:49:27 +00:00
Guido van Rossum
8999053326
Fix for bug #113693 : with the changes to the IMPORT_FROM opcodes, this
...
crashed on an assert.
2000-09-15 16:37:42 +00:00
Guido van Rossum
efdf107fb7
Add the exceptions module to the 'never' list -- it is built in.
2000-07-28 10:34:48 +00:00
Peter Schneider-Kamp
332c59c4ef
change some occurence of python15.dll to python20.dll
...
closes patch #100956
2000-07-24 16:02:00 +00:00
Thomas Wouters
7e47402264
Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
...
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 ;)
2000-07-16 12:04:32 +00:00
Guido van Rossum
f67c2383da
Patch by Toby Dickenson, mentored by Mark Hammond, to support
...
automatically finding (most of) the standard PYD extensions, and to
remove the hardcoded Python version.
2000-07-13 15:45:17 +00:00
Tim Peters
dbd9ba6a6c
Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.
2000-07-09 03:09:57 +00:00
Guido van Rossum
4b1235cdac
Toby Dickenson:
...
Fix for problem with freeze when both "-m" and "-s service" options
are used.
(Blessed by MarkH)
2000-05-06 03:18:08 +00:00
Guido van Rossum
ce33eb3ee8
Sjoerd Mullender:
...
Bad % formatting.
2000-05-02 13:49:13 +00:00
Guido van Rossum
6664bb87dc
Sjoerd Mullender: cmp.py is obsolete...
2000-04-28 13:31:52 +00:00
Fred Drake
70b5d47f71
From Sjoerd Mullender <sjoerd@oratrix.nl>:
...
cmp is not used in freeze, but is imported anyway. What's worse, cmp
is no longer in the library, so freeze won't work like this.
2000-03-23 18:13:10 +00:00
Guido van Rossum
8b4b46e4f3
Fix a bug reported by Toby Dickenson (on 18 May 1999).
...
Sometimes there's no parent, so don't try to get its __name__.
1999-11-02 15:46:44 +00:00
Guido van Rossum
cfd76a202b
Sjoerd Mullender:
...
Added some declarations to shut up compiler.
1999-11-02 15:44:40 +00:00