Jack Jansen
27a4450239
Fixed two silly bugs in the PEP252 support code, added an assert
...
that basechain isn't set, and made the output a bit prettier.
2002-11-28 23:23:14 +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
Jack Jansen
3d654d6dff
Added a class PEP252Mixin. By adding this to your ObjectDefinition you
...
get PEP-252 style objects in stead of old-fashioned objects.
In stead of defining a GetattrHook you declare a class variable getsetlist,
which contains tuples (name, getcode, setcode, docstring).
Only lightly tested: the code still works if you don't inherit PEP252Mixin
and the code works if you inherit it but don't define any getters
or setters. Also, this will not work together with the "poor mans inheritance"
offered by method chains, so the CF module will remain with old-style
objects until PEP253 is supported too.
2002-11-25 16:36:49 +00:00
Martin v. Löwis
b5c980b802
Add unidata_version. Bump generator version number.
2002-11-25 09:13:37 +00:00
Martin v. Löwis
97225da29a
Sort names independent of the Python version. Fix hex constant warning.
...
Include all First/Last blocks.
2002-11-24 23:05:09 +00:00
Martin v. Löwis
677bde2dd1
Patch #626485 : Support Unicode normalization.
2002-11-23 22:08:15 +00:00
Martin v. Löwis
dab3bc05f3
Expand negative hexadecimal constants.
2002-11-23 12:08:10 +00:00
Martin v. Löwis
6f00a7ad84
Patch #542562 , file 25252: Remove changelog.
2002-11-22 09:10:33 +00:00
Martin v. Löwis
0d1fdea8ef
Patch #494845 : Support string concatenation, detect non-string data,
...
add globbing support, find modules by name instead of by file.
2002-11-22 08:36:54 +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
Guido van Rossum
affa6b7bf1
Tim wins a bet. Don't use re.
2002-11-13 21:04:31 +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
Fred Drake
0b9e3f750c
Handle the Content-Type header a little more appropriately: if it
...
contains options, drop them to get the major/minor content type.
Modified from the supplied patch to support more whitespace variation.
Closes SF patch #613605 .
2002-11-12 22:19:34 +00:00
Raymond Hettinger
1644986758
Clarify the meaning of "requires Python 1.5.2".
2002-11-08 05:49:47 +00:00
Martin v. Löwis
dc46175dc3
Add --check-tkinter to setup.py. Install IDLE. Fixes #634078 .
2002-11-06 21:59:33 +00:00
Guido van Rossum
eb58f5d6cd
Use column= rather than col=; with Tk 8.4 col= no longer works.
...
[SF patch 634250 -- that was an IDLEFORK patch.]
2002-11-06 19:00:30 +00:00
Martin v. Löwis
40b11b890c
Support sdist.
2002-11-05 23:01:50 +00:00
Guido van Rossum
15941e6a63
Oops, committed this in the wrong place.
2002-10-28 01:07:02 +00:00
Guido van Rossum
38749b64c4
Beginnings of a spreadsheet I used as an example on Linux Lunacy II.
2002-10-27 22:48:56 +00:00
Barry Warsaw
5c458052f0
FILETYPES: Newer XFree86 rgb.txt files use the key Xorg instead of
...
XConsortium. Now we can recognize these files!
2002-10-21 14:25:24 +00:00
Barry Warsaw
d9e0e1f422
Some fixes based on feedback from Hans Petter Langtangen.
...
build(): Fix the logic here for calculating fallbacks if the dbfile
isn't parseable.
main(): Fix the semantics for -d/--database; this should override any
database value found in the .pynche file.
Update some comments, and author contact info.
Bump to v1.4
Whitespace normalization.
2002-10-21 14:23:48 +00:00
Barry Warsaw
531e3932bf
Fix a typo, update (only one) style improvement, whitespace
...
normalization.
2002-10-21 14:20:37 +00:00
Martin v. Löwis
99ac3283e7
Verify that lower-higher case delta are 16-bit.
2002-10-18 17:34:18 +00:00
Martin v. Löwis
9def6a3a77
Update to Unicode 3.2 database.
2002-10-18 16:11:54 +00:00
Guido van Rossum
bc01c3248d
Added -b tag option to limit output to a specific branch only.
...
Use -b HEAD to limit output to the trunk (skip all branch revisions).
2002-09-29 04:37:36 +00:00
Neal Norwitz
a39a445c9b
Remove unnecessary imports
2002-09-12 20:36:01 +00:00
Neal Norwitz
089061f7f0
Remove unused local variables
2002-09-12 20:34:41 +00:00
Neal Norwitz
a59ab05fda
Remove unnecessary imports
2002-09-12 20:29:56 +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
Raymond Hettinger
b2c729fe27
Extended IDLE's open module menu item to handle hierarchical module names.
...
Will look at doing something similar in import.c so that the effort won't
have to be repeated elsewhere.
Closes SF patch 600152.
2002-09-08 03:42:01 +00:00
Tim Peters
280488b9a3
Whitespace normalization.
2002-08-23 18:19:30 +00:00
Jack Jansen
f34a8bced2
Moved CoreFoundation type support to bgen/macsupport.
2002-08-22 23:30:49 +00:00
Jack Jansen
44b99e0a1f
iUse PyDoc_STR() around docstrings.
2002-08-16 09:07:42 +00:00
Michael W. Hudson
dd32a91cc0
This is my patch
...
[ 587993 ] SET_LINENO killer
Remove SET_LINENO. Tracing is now supported by inspecting co_lnotab.
Many sundry changes to document and adapt to this change.
2002-08-15 14:59:02 +00:00
Martin v. Löwis
75ea1e11dc
Convert characters from the locale's encoding on output.
...
Reject characters outside the locale's encoding on input.
2002-08-10 12:22:12 +00:00
Guido van Rossum
7ec34b556c
A tool to transform gprof(1) output into HTML, so you can click on a
...
function name and go to the corresponding entry.
2002-08-09 20:07:34 +00:00
Guido van Rossum
3b0a3293c3
Massive changes from SF 589982 (tempfile.py rewrite, by Zack
...
Weinberg). This changes all uses of deprecated tempfile functions to
the recommended ones.
2002-08-09 16:38:32 +00:00
Jack Jansen
11845e00b2
Be a lot less verbose by default.
2002-08-05 21:15:22 +00:00
Jeremy Hylton
53d527ad18
Initial prototype of framer: a tool to build the frame for extension modules.
2002-08-05 18:29:45 +00:00
Jack Jansen
ac7cb05415
Fixed to run better in unix-Python, and to cater for bgenlocations
...
possibly being missing.
2002-08-05 15:32:30 +00:00
Jack Jansen
6573f31874
Moved bgenlocations to the Mac/Lib directory. Not perfect, but better than
...
where it was: it is really a configuration file, not a normal module.
By moving it into Mac/Lib we can now also store the location of bgen
itself in there, which is needed because bgen isn't installed.
2002-08-05 14:56:04 +00:00
Martin v. Löwis
eade4a1580
Patch #590913 : PEP 263 support.
2002-08-05 14:55:21 +00:00
Martin v. Löwis
5428fff111
Use ascii_letters to avoid UnicodeErrors.
2002-08-05 14:53:52 +00:00
Jack Jansen
7ea8143fe5
Specify pathnames in a way that works on both OS9 and OSX.
...
You'll still have to manually edit it, though...
2002-08-04 21:56:12 +00:00
Jack Jansen
bae7734eef
Use universal newline input when scanning header files.
2002-08-04 21:55:25 +00:00