- 02 Apr, 1997 2 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
Changed numericprog regexpr to make it faster to check. Removed now unnecessary checks for os.curdir, os.pardir.
-
- 01 Apr, 1997 1 commit
-
-
Guido van Rossum authored
Add __members__ attribute.
-
- 31 Mar, 1997 5 commits
-
-
Guido van Rossum authored
though the checkin message failed to note that).
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
2. Fix two bugs in complex(): - Memory leak when using complex(classinstance) -- r was never DECREF'ed. - Conversion of the second argument, if not complex, was done using the type vector of the 1st.
-
Guido van Rossum authored
Added test that ensures that int() and long() truncate float numbers towards zero.
-
- 27 Mar, 1997 2 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 25 Mar, 1997 10 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Removed unused import tempfile. Added some docstrings.
-
Guido van Rossum authored
-
Roger E. Masse authored
GDBM module.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Roger E. Masse authored
attribute, this method silently ignores this fact. The default (bsddb's dbhash) does.
-
Guido van Rossum authored
passed to walk() visitor.
-
- 21 Mar, 1997 2 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
unmarshalling code is actually rather naive and can easily be caused to crash by feeding it invalid data. This should be fixed in the marshal module, but I don't have the time to fix it now :-(
-
- 20 Mar, 1997 6 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Here's a "keyword" module which, in the spirit of "token.py", updates the list of keywords automatically from a source file (in this case, "graminit.c" seemed like a reasonable choice, easier than "Grammar/Grammar"). You get "kwlist", a sorted list of keywords; "kwdict", a dictionary mapping each keyword to 1; and "iskeyword", a function which tells you if a given string happens to be a keyword.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 19 Mar, 1997 1 commit
-
-
Guido van Rossum authored
-
- 16 Mar, 1997 2 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
This makes it possible to write 1L<<1000000, memory permitting.
-
- 14 Mar, 1997 9 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
was some locking code in this file that needed it...
-
Guido van Rossum authored
-
Guido van Rossum authored
last variable to which a floating point expression is assigned. The macro passes its address to a dummy function so that the optimizer can't delay calculating its value until after the macro.
-
Guido van Rossum authored
-
Guido van Rossum authored
(it should return a list of tuples, not a list of lists).
-
Guido van Rossum authored
-