- 13 Eki, 2000 3 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
1.5.2. The compiler generates code for the version of the interpreter it is run under. ast.py: Print and Printnl add dest attr for extended print new node AugAssign for augmented assignments new nodes ListComp, ListCompFor, and ListCompIf for list comprehensions pyassem.py: add work around for string-Unicode comparison raising UnicodeError on comparison of two objects in code object's const table pycodegen.py: define VERSION, the Python major version number get magic number using imp.get_magic() instead of hard coding implement list comprehensions, extended print, and augmented assignment; augmented assignment uses Delegator classes (see doc string) fix import and tuple unpacking for 1.5.2 transformer.py: various changes to support new 2.0 grammar and old 1.5 grammar add debug_tree helper than converts and symbol and token numbers to their names
-
- 12 Eki, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
transformer.py: return '*', None from com_import_as_name pycodegen.py: special case for name == '*' pyassem.py: fix stack counting for IMPORT_ opcodes
-
- 09 Eki, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 06 Eki, 2000 2 kayıt (commit)
-
-
Tim Peters yazdı
parsing functions in support of auto-indent weren't expecting Unicode strings, but text.get() can now return them (although it remains muddy as to exactly when or why that can happen). Fixed that with a Big Hammer.
-
Guido van Rossum yazdı
somewhat useful to learn regular expressions, and this way it'll be installed on Windows. This closes bug report 115609.
-
- 05 Eki, 2000 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 25 Eyl, 2000 5 kayıt (commit)
-
-
Fredrik Lundh yazdı
-
Fredrik Lundh yazdı
- added decimal digit and digit properties to the unidb tables
-
Fredrik Lundh yazdı
- use unidb compression for the unicodectype module. smaller, faster, and slightly more portable... - also mention the unicode directory in Tools/README
-
Fredrik Lundh yazdı
- fixed attributions - moved decomposition data to a separate table, in preparation for step 3 (which won't happen before 2.0 final, promise!) - use relative paths in the generator script I have a lot more stuff in the works for 2.1, but let's leave that for another day...
-
Tim Peters yazdı
a bit, sped it a lot primarily by removing the unused assumption that None was a legit bin entry (the function doesn't really need to assume that there's anything special about 0), added an optional "trace" argument, and in __debug__ mode added exhaustive verification that the decomposition is both correct and doesn't overstep any array bounds (which wasn't obvious to me from staring at the generated C code -- now I feel safe!). Did not commit a new unicodedata_db.h, as the one produced by this version is identical to the one already checked in.
-
- 24 Eyl, 2000 1 kayıt (commit)
-
-
Fredrik Lundh yazdı
- use unidb compression for the unicodedata module. on Windows, the new unidatabase module is 120k, down from nearly 600k.
-
- 22 Eyl, 2000 1 kayıt (commit)
-
-
Tim Peters yazdı
subset of Win32 ShellExecute's functionality. Guido wants this because IDLE's Help -> Docs function currently crashes his machine because of a conflict between his version of Norton AntiVirus (6.10.20) and MS's _popen. Docs for startfile are being mailed to Fred (or just read the docstring -- it tells the whole story). Changed webbrowser.py to use os.startfile instead of os.popen on Windows. Changed IDLE's EditorWindow.py to pass an absolute path for the docs (hardcoding ShellExecute's "directory" arg to "." as used to be done let IDLE work, but made the startfile command exceedingly obscure for other uses -- the MS docs are terrible, of course, & still not sure I understand it). Note that Windows Python must link with shell32.lib now! That's where ShellExecute lives.
-
- 20 Eyl, 2000 3 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Guido van Rossum yazdı
-
- 19 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
The cause was that the replace code necessarily used a PCRE internal function to to template expansion. The fix changes the code to use an SRE internal if SRE is used, and a PCRE internal if SRE is used; in a way that should work with 1.5.2. The solution can be sped up tremendously under the assumption that the choice between sre and pre is not changed during the execution of the program; especially replace-all will be slow. But I'll leave that to someone else.
-
- 18 Eyl, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 16 Eyl, 2000 1 kayıt (commit)
-
-
Barry Warsaw yazdı
__name__ == '__main__'. Closes SF bug #110844.
-
- 15 Eyl, 2000 3 kayıt (commit)
-
-
Guido van Rossum yazdı
crashed on an assert.
-
Guido van Rossum yazdı
This closes bug #110660.
-
Fred Drake yazdı
created. This allows the application-specific Tkinter initialization to be executed if present. Also pass an explicit className parameter to the Tk() constructor. This closes SourceForge bug #110618.
-
- 05 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
as main.c.
-
- 01 Eyl, 2000 5 kayıt (commit)
-
-
Guido van Rossum yazdı
This should match the situation in the 1.6b1 tree.
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
Fix import support to work with import as variant of Python 2.0. The grammar for import changed, requiring changes in transformer and code generator, even to handle compilation of imports with as.
-
Guido van Rossum yazdı
-
Barry Warsaw yazdı
by Martin v. Loewis, proofed by Barry Warsaw for coding standards, typos, and to make command line options compatible with GNU msgfmt where they overlap. Closes patch #101295.
-
- 12 Agu, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
- fix tab space issues (SF patch #101167 by Neil Schemenauer) - fix co_flags for classes to include CO_NEWLOCALS (SF patch #101145 by Neil) - fix for merger of UNPACK_LIST and UNPACK_TUPLE into UNPACK_SEQUENCE, (SF patch #101168 by, well, Neil :) - Adjust bytecode MAGIC to current bytecode. TODO: teach compile.py about list comprehensions.
-
- 04 Agu, 2000 3 kayıt (commit)
-
-
Jeremy Hylton yazdı
(is bgen still "still under development"?)
-
Jeremy Hylton yazdı
based on bug report by Neil Schemenauer
-
Jeremy Hylton yazdı
fix com_call_function to cope with trailing comma in "f(a, b,)"
-
- 03 Agu, 2000 2 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
Greg Stein yazdı
(too lazy to paste in the whole BSD license tho; included by ref)
-
- 29 Tem, 2000 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
- 28 Tem, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 26 Tem, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
originally submitted by Bill Tutt Note: This code is actually going to be replaced in 2.0 by /F's new database. Until then, this patch keeps the test suite working.
-
- 25 Tem, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
package.
-