| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
added test script and expected output file as well
this closes patch 103297.
__all__ attributes will be added to other modules without first submitting
a patch, just adding the necessary line to the test script to verify
more-or-less correct implementation.
|
| |
|
|
|
|
| |
pdb (pdb calls it 'where'). Added 'bt' as an alias for 'where'.
|
| |
|
|
|
|
| |
parameters. This closes the code part of patch 103314.
|
| |
|
|
|
|
|
|
| |
errors aren't that helpful), or doesn't contain what's expected from
it. Also tweaked the test script so it compiles even if ucnhash is
missing.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Barry, that comment belongs in the code, not in the checkin msg.
The code *used* to do this correctly (as you well know, since you
& I went thru considerable pain to fix this the first time).
However, because the *reason* for the convolution wasn't recorded
in the code as a comment, somebody threw it all away the first
time it got reworked.
c-code-isn't-often-self-explanatory-ly y'rs - tim
default_3way_compare(): Stick the checkin message from 2.110 in a
comment.
|
|
|
|
|
|
|
| |
to integer types (i.e. Py_uintptr_t, our spelling of C9X's uintptr_t).
ANSI specifies that pointer compares other than == and != to
non-related structures are undefined. This quiets an Insure
portability warning.
|
| |
|
|
|
|
|
|
| |
between passes: Win9x DOS boxes are limited to 50 lines max, and the result
of the first pass scrolls off irretrievably otherwise. Also simplified
the goto-laden logic a bit.
|
| |
|
| |
|
|
|
|
| |
"solution" of a funny define makes portable code impossible:-(
|
| |
|
|
|
|
|
|
| |
ctime, gmtime and localtime optional, defaulting to 'the current time' in
all cases. Adjust docs, add news item. Also convert all argument-handling to
METH_VARARGS. Closes SF patch #103265.
|
| |
|
|
|
|
|
|
| |
this is not hard to explain!
Closes SF bug #129345.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
created by Andrew's setup.py script, *if* we're actually running from
the build directory. (The test for that: whether the sys.path[-1]
ends in "/Modules".)
This has one disadvantage: it imports a fair amount of code from the
distutils package, just in order to be able to calculate the correct
pathname. See if I care. :-)
|
|
|
|
| |
New option "-q" to leave .pyc/.pyo alone.
|
| |
|
| |
|
|
|
|
|
|
| |
tests for the first time -- like the Unix Makefile does. This
avoids not catching problems in the bytecode generator and/or bytecode
marshalling.
|
|
|
|
|
| |
fix set PYTHONPATH to something starting with $(srcdir)/build/lib....
The use of $(srcdir) was wrong here, it should be ./build/lib...
|
|
|
|
|
|
| |
Please check it against your nearest pop server --
mine doesn't support APOP (I checked I'm getting the same error
message, though)
|
|
|
|
|
| |
added a test of a coredump that would occur when del'ing
func_defaults (put here for convenience).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
del'ing func.func_dict. I took the opportunity to also clean up some
other nits with the code, namely core dumps when del'ing func_defaults
and KeyError instead of AttributeError when del'ing a non-existant
function attribute.
Specifically,
func_memberlist: Move func_dict and __dict__ into here instead of
special casing them in the setattro and getattro methods. I don't
remember why I took them out of here before I first uploaded the PEP
232 patch. :/
func_getattro(): No need to special case __dict__/func_dict since
their now in the func_memberlist and PyMember_Get() should Do The
Right Thing (i.e. transforms NULL values into Py_None).
func_setattro(): Document the intended behavior of del'ing or setting
to None one of the special func_* attributes. I.e.:
func_code - can only be set to a code object. It can't be del'd
or set to None.
func_defaults - can be del'd. Can only be set to None or a tuple.
func_dict - can be del'd. Can only be set to None or a
dictionary.
Fix core dumps and incorrect exceptions as described above. Also, if
we're del'ing an arbitrary function attribute but func_dict is NULL,
don't create func_dict before discovering that we'll get an
AttributeError anyway.
|
|
|
|
| |
This patch makes u"\N{x}" a bit less dependent on pure luck...
|
| |
|
|
|
|
|
|
| |
(I realize that I didn't really test this, because all the tests
succeed, so verify() never raised an AssertionError -- but the test
suite still succeeds, so I'm not too worried.)
|
|
|
|
|
| |
sys.builtin_module_names
Add SSL directories in /usr/contrib/ for FreeBSD
|
| |
|
| |
|
|
|
|
|
|
| |
This patch adds support for Cygwin to util.get_platform(). A Cygwin
specific case is needed due to the format of Cygwin's uname command,
which contains '/' characters.
|
|
|
|
|
|
| |
* Deletes the Panel_NoArgReturnStringFunction() macro, which isn't used
anymore
* Adjusts two comments.
|
| |
|
| |
|
|
|
|
|
| |
probably more useful for the test code than for any applications, but
one never knows...)
|
|
|
|
| |
keywords. Cheap approximation to the truth.
|
|
|
|
|
|
|
| |
implementation details inside the ucnhash module.
also cleaned up the unicode copyright blurb a little; Secret Labs'
internal revision history isn't that interesting...
|
|
|
|
| |
MSVC project file (as the instructions always recommended doing).
|
|
|
|
| |
corresponding changes were made to its std test.
|
| |
|
|
|
|
| |
change the test to give a clue about *where* it's failing.
|
| |
|
| |
|
|
|
|
| |
preferences. It is now in config.txt or ~/.idle.
|
| |
|