- 28 Agu, 2001 6 kayıt (commit)
-
-
Fred Drake yazdı
the contents will be shared by multiple references. This closes SF bug #455694.
-
Jack Jansen yazdı
-
Fred Drake yazdı
-
Eric S. Raymond yazdı
while \0 doesn't do what one might expect, \g<0> does.
-
Barry Warsaw yazdı
Closes SF patch #455666.
-
Barry Warsaw yazdı
Closes SF patch #455666.
-
- 27 Agu, 2001 34 kayıt (commit)
-
-
Jack Jansen yazdı
Experimental feature: allow \n as well as \r as newline for text files, by breaking in to the lowlevel I/O system. Can be disabled by defining WITHOUT_UNIX_NEWLINES.
-
Jeremy Hylton yazdı
(Hard to believe these were never handled before) Add misc.mangle() that mangles based on the rules in compile.c. XXX Need to test the corner cases Update CodeGenerator with a class_name attribute bound to None. If a particular instance is created within a class scope, the instance's class_name is bound to that class's name. Add mangle() method to CodeGenerator that mangles if the class_name has a class_name in it. Modify the FunctionCodeGenerator family to handle an extra argument-- the class_name. Wrap all name ops and attrnames in calls to self.mangle()
-
Jack Jansen yazdı
-
Jack Jansen yazdı
to make it pass on Windows:-).
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
Make nested scopes enabled by default Add is_constant_false() helper so that compiled code and symbols are consistent with builtin compiler's handling of "if 0:" Fix doc string handling to be consistent with recent change that eliminates the doc string from the Module's node attribute. Add fix to print handling from Evan & Shane. Track change to visitor api by making "verbose" explicit. Comment out setting CO_NESTED flag (it's unnecessary in 2.2).
-
Tim Peters yazdı
-
Tim Peters yazdı
are auto-coerced to longs now, but this test still expected OverflowError. I can't imagine this test failure was unique to Windows.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
specified resource was already available and no file was opened.
-
Jack Jansen yazdı
resources in applets and separate OS9 style resource files, but it will eventually also be thought the hoops to jump through on OSX/MachO.
-
Jack Jansen yazdı
-
Jeremy Hylton yazdı
Evan Simpson's fix. And his explanation: If you defined two nested functions in a row that refer to the same non-global variable, the second one will be generated as though the variable were global.
-
Jeremy Hylton yazdı
The use of com_node() introduces a lot of extra stack frames, enough to cause a stack overflow compiling test.test_parser with the standard interpreter recursionlimit. The com_node() is a convenience function that hides the dispatch details, but comes at a very high cost. It is more efficient to dispatch directly in the callers. In these cases, use lookup_node() and call the dispatched node directly. Also handle yield_stmt in a way that will work with Python 2.1 (suggested by Shane Hathaway)
-
Jeremy Hylton yazdı
Remove _preorder as alias for dispatch and call dispatch directly. Add an extra optional argument to walk() XXX Also comment out some code that does debugging prints.
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
The tests are run from a copy of the library directory, where everything has been compiled by the compiler package. Add a raw_input() call at the end of the script, so that I can check the output before the temp directory with the compiled code is removed.
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
Modify rfc822.formatdate() to always generate English names, regardless of locale. This is required by RFC 1123. In open_local_file() of urllib and urllib2, use new formatdate() from rfc822.
-
Michael W. Hudson yazdı
-
Jeremy Hylton yazdı
because of overflow, generate a long instead.
-
Tim Peters yazdı
PyTokenizer_Get: error if exponent contains no digits (3e, 2.0e+, ...).
-
Jack Jansen yazdı
-
Jack Jansen yazdı
get these by specifying maxval=0, which is now also the default. Untested.
-
Jack Jansen yazdı
'static' and 'shared'. This fixes extension building for dynamic Pythons on MacOSX.
-
Jack Jansen yazdı
- make the selftests work again (they were apparently not used since very early in bgen's development), with some minor cleanup by me - make emacs python mode happier
-
Jack Jansen yazdı
Refer to the toolbox modules by their official name (Carbon.AE), not the internal name (_AE). This can slow things down (once) but it's the only way I can get things to work on OSX, OS9 dynamically loaded and OS9 frozen.
-
Jack Jansen yazdı
When we're freezing to sourcecode and one of the modules is a dynamic module that is in a package we freeze that module at toplevel (outside any package). Not optimal, but there is little more we can do as config.c has no way to specify a builtin module has to be dumped into a package.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
Added targets for building the Carbon and Classic interpreter if you don't want to go through fullbuild.py.
-
Jack Jansen yazdı
- Made the "killed unknown window" code dependent on a global var, so you can easily turn the behaviour off for IDE debugging.
-
Jack Jansen yazdı
-
Tim Peters yazdı
Brian Quinlan.
-