- 23 Şub, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
standard library. Added some comments: # XXX Note: this is now a standard library module. # XXX The API needs to undergo changes however; the current code is too # XXX script-like. This will be addressed later.
-
- 22 Şub, 2000 2 kayıt (commit)
-
-
Fred Drake yazdı
-
Guido van Rossum yazdı
of the current module. It also runs the tabnanny to catch any inconsistent tabs. Also did a little bit of refactoring: added an errorbox() method to simplify the display of error dialogs.
-
- 21 Şub, 2000 6 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
PyEval_EvalCode() is *not* a "backward compatible interface", it's the one to use!
-
Fred Drake yazdı
-
Guido van Rossum yazdı
enough, it could be negative. Add i > 0 test. (Not i >= 0; zero isn't a valid error number.)
-
Jack Jansen yazdı
Added FreeMem, MaxBlock and CompactMem calls. The values returned by these are lower bounds in the Python case (as malloc doesn't return memory to the heap) but they can be used to decide when to give low-memory warnings.
-
- 19 Şub, 2000 1 kayıt (commit)
-
-
Greg Stein yazdı
-
- 18 Şub, 2000 11 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
The same problem (mixed mallocs) exists for the pcre stack. The buffers md->... are allocated via PyMem_RESIZE in grow_stack(), while in free_stack() they are released with free() instead of PyMem_DEL().
-
Andrew M. Kuchling yazdı
The buffers self->regex and self->regex_extra are allocated in pcre_compile() and pcre_study() via pcre_malloc, but are released via free() instead of pcre_free.
-
Greg Stein yazdı
add clsFilesystemImporter class attribute, alter handling of suffix list convert suffix importers to funcs rather than instances remove backwards compat code: Importer.install and 2-tuple get_code() result values
-
Greg Stein yazdı
switch to isinstance() rather than direct type comparisons removing chaining concept update ImportManager.install() to take an optional namespace to install itself in. this will be useful for setting up rexec environments. minor comment nits
-
Greg Ward yazdı
'set_final_options()' to 'initialize_options()' and 'finalize_options()'.
-
Greg Ward yazdı
'set_final_options()' to 'finalize_options()'.
-
Greg Ward yazdı
Related docstring changes. Unrelated comment changes.
-
Greg Ward yazdı
-
Greg Ward yazdı
in 'find_command_class()' method.
-
Greg Ward yazdı
command itself: no more of this "FooBar class for foo_bar command" silliness.
-
Greg Ward yazdı
-
- 17 Şub, 2000 14 kayıt (commit)
-
-
Greg Ward yazdı
old 'dist' command, but the code for dealing with manifests is completely redone -- and renaming the command to 'sdist' is more symmetric with the soon-to-exist 'bdist' command.
-
Greg Ward yazdı
-
Jeremy Hylton yazdı
- removed now (happily) unused second arg - need to verify results of [].index are correct; for building consts, need to have same value and same type, e.g. 2 not the same as 2L
-
Jeremy Hylton yazdı
(big surprise). new solution is a little less hackish. Code gen adds a TupleArg instance in the argument slot. The tuple arg includes a copy of the names that it is responsble for binding. The PyAssembler uses this information to calculate the correct argcount. all fix this wacky case: del (a, ((b,), c)), d which is the same as: del a, b, c, d (Can't wait for Guido to tell me why.) solution uses findOp which walks a tree to find out whether it contains OP_ASSIGN or OP_DELETE or ...
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
fix broken references to filename var in generateXXX methods
-
Fred Drake yazdı
omission noted on c.l.py by Aahz Maruch. Swapped the order of the descriptions of int() and intern() so that int() comes first (the functions are in alphabetic order).
-
Fred Drake yazdı
-
Guido van Rossum yazdı
Reasons for patches: 1st patch (15,21): version change 2nd patch (66,72): This is a patch I found in a Zope product release (quite by accident!). It relaxes the conditions for matching a literal. I've looked over the logic, and tested it, and it seems sensible. 3rd patch (117,123): It appears the quoting matcher was too general, and that the IMAP4 protocol requires characters like ':' in commands to be unquoted. (This is the patch already sent to Guido.) 4th patch (699,705): Spelling correction in comment. 5th patch (753,761): Another patch from the Zope product. It seems that some IMAP4 servers produce unexpected responses in the middle of valid command/response sequences. This patch ignores the unexpected responses in this situation. (How I wish users would send me bug reports with examples!). last 2 patches: (1015,1028) (1038,1044): Minor improvements to test code.
-
Guido van Rossum yazdı
A few alternative selections can be made by changing "if 0" to "if 1".
-
Guido van Rossum yazdı
* Changes to a recent patch by Chris Tismer to errors.c. Chris' patch always used FormatMessage() to get the error message passing the error code from errno - but errno and FormatMessage use a different numbering scheme. The main reason the patch looked OK was that ENOFILE==ERROR_FILE_NOT_FOUND - but that is about the only shared error code :-). The MS CRT docs tell you to use _sys_errlist()/_sys_nerr. My patch does also this, and adds a very similar function specifically for win32 error codes.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 16 Şub, 2000 5 kayıt (commit)
-
-
Guido van Rossum yazdı
(Fred, please check.)
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
(e.g. used for ZIP files). The patch includes code that says: + Copyright (C) 1986 Gary S. Brown. You may use this program, or + code or tables extracted from it, as desired without restriction. My interpretation (and Jim's) is that Gary S Brown has no claims under copyright, patent or other rights or interests. Lawyers might disagree.
-
Guido van Rossum yazdı
-
Jeremy Hylton yazdı
- added a number of support methods to generate code just before the body - hack protocol for communicating number of args to PyAssembler fix TryExcept generation for case where exception handler has no body fix visitAssAttr add comment about incomplete visitAssName stop using the ExampleASTVisitor change script invocation to accept a list of .py files (e.g. Lib/*.py)
-