- 01 Ock, 2003 10 kayıt (commit)
-
-
Neal Norwitz yazdı
functions are here. Suggested by Skip.
-
Neal Norwitz yazdı
to 'properly configure the slave terminal' See SF patch # 656590 for the details.
-
Guido van Rossum yazdı
extension. Could use some work, but already very useful.
-
Martin v. Löwis yazdı
-
Fred Drake yazdı
apply to the trunk.
-
Tim Peters yazdı
find a more elegant algorithm (OTOH, the hairy new implementation allows user-written tzinfo classes to be elegant, so it's a big win even if astimezone() remains hairy). Darn! I've only got 10 minutes left to get falling-down drunk! I suppose I'll have to smoke crack instead now.
-
Tim Peters yazdı
understood now: it can't work. Added comments explaining why (it's "the usual"-- unrepresentable hours in local time --but in a slightly different guise).
-
Tim Peters yazdı
I leave to Fred to sort out.
-
Kurt B. Kaiser yazdı
-
Kurt B. Kaiser yazdı
from its source directory. Generalize the "workaround" (though the latter seems a reasonable solution?) to handle this.
-
- 31 Ara, 2002 30 kayıt (commit)
-
-
Kurt B. Kaiser yazdı
-
Neal Norwitz yazdı
-
Jason Tishler yazdı
The attached patch enables Cygwin Python to build cleanly against the latest Cygwin Tcl/Tk which is based on Tcl/Tk 8.3. It also prevents building against the real X headers, if installed.
-
Fred Drake yazdı
-
Guido van Rossum yazdı
Plug the leak that Tim just reported.
-
Barry Warsaw yazdı
-
Andrew M. Kuchling yazdı
-
Fred Drake yazdı
- more style consistency crud
-
Jeremy Hylton yazdı
Remove broken code in visitDict(). I assume the code was trying to add set lineno events for each line of a dict constructor, but I think it was using the wrong object (node instead of k or v).
-
Tony Lownds yazdı
-
Barry Warsaw yazdı
BerkeleyDB version dependent.
-
Neal Norwitz yazdı
-
Jeremy Hylton yazdı
A variety of changes from Michael Hudson to get the compiler working with 2.3. The primary change is the handling of SET_LINENO: # The set_lineno() function and the explicit emit() calls for # SET_LINENO below are only used to generate the line number table. # As of Python 2.3, the interpreter does not have a SET_LINENO # instruction. pyassem treats SET_LINENO opcodes as a special case. A few other small changes: - Remove unused code from pycodegen and pyassem. - Fix error handling in parsermodule. When PyParser_SimplerParseString() fails, it sets an exception with detailed info. The parsermodule was clobbering that exception and replacing it was a generic "could not parse string" exception. Keep the original exception.
-
Fred Drake yazdı
-
Kurt B. Kaiser yazdı
-
Martin v. Löwis yazdı
-
Kurt B. Kaiser yazdı
-
Kurt B. Kaiser yazdı
-
Guido van Rossum yazdı
-
Tim Peters yazdı
an idea from Guido. This restores that the datetime implementation never passes a datetime d to a tzinfo method unless d.tzinfo is the tzinfo instance whose method is being called. That in turn allows enormous simplifications in user-written tzinfo classes (see the Python sandbox US.py and EU.py for fully fleshed-out examples). d.astimezone(tz) also raises ValueError now if d lands in the one hour of the year that can't be expressed in tz (this can happen iff tz models both standard and daylight time). That it used to return a nonsense result always ate at me, and it turned out that it seemed impossible to force a consistent nonsense result under the new implementation (which doesn't know anything about how tzinfo classes implement their methods -- it can only infer properties indirectly). Guido doesn't like this -- expect it to change. New tests of conversion between adjacent DST-aware timezones don't pass yet, and are commented out. Running the datetime tests in a loop under a debug build leaks 9 references per test run, but I don't believe the datetime code is the cause (it didn't leak the last time I changed the C code, and the leak is the same if I disable all the tests that invoke the only function that changed here). I'll pursue that next.
-
Martin v. Löwis yazdı
-
Raymond Hettinger yazdı
-
Fred Drake yazdı
now derive from InterpolationError, which is not raised directly (only subclasses get raised). This matches what the docs already said.
-
Skip Montanaro yazdı
a month or two with great success. Barry may want to tweak it some, but I think it's a worthwhile enough addition to get some more people trying it out.
-
Tony Lownds yazdı
-
Just van Rossum yazdı
-
Raymond Hettinger yazdı
-
Guido van Rossum yazdı
645404). I'm not 100% sure this is the right fix, so I'll keep the bug report open for Samuele, but this fixes the index error and passes the test suite (and I can't see why it *shouldn't* be the right fix :-).
-
Just van Rossum yazdı
any_missing() returns less bogus missing modules. - I've rewritten scan_code() more or less from scratch, factored bits and pieces out for readability. - keep track of global assignments and failed imports per module; use this to determine whether the Y in "from X import Y" is a submodule or just a global name. This is not 100% doable: you can't tell which symbols are imported when doing a star import of a non-Python module short of actually importing it. - added a new method to ModuleFinder: any_missing_maybe(), which returns *two* lists, one with certain misses, one with possible misses. The possible misses are *very* often false alarms, so it's useful to keep this list separate. any_misses() now simply returns the union of any_missing_maybe(). TODO: documentation, test_modulefinder.py
-
Raymond Hettinger yazdı
Cleanup whitespace. Fix unbalanced parenthesis.
-