- 14 Haz, 2002 15 kayıt (commit)
-
-
Fred Drake yazdı
based on comments from David Abrahams. Added refcount information for these functions.
-
Guido van Rossum yazdı
when it can.
-
Michael W. Hudson yazdı
make -s rules :-)
-
Guido van Rossum yazdı
code.InteractiveConsole to do a much better job.
-
Fred Drake yazdı
change color on hover, only those that are link sources (href attributes).
-
Steve Holden yazdı
in the type documentation.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
gotten from a weak reference to NULL instead of to None. This caused the following assert() to fail (but only in 2.2 in the debug build -- I have to find a better test case). Will backport.
-
Neal Norwitz yazdı
-
Fred Drake yazdı
This closes SF bug #550777.
-
Neal Norwitz yazdı
Write 4 bytes for co_stacksize, etc. to prevent writing out bad .pyc files which can cause a crash when read back in. (I forgot that frozen needs to be updated too for the test.)
-
Neal Norwitz yazdı
Write 4 bytes for co_stacksize, etc. to prevent writing out bad .pyc files which can cause a crash when read back in.
-
Neal Norwitz yazdı
Handle negative indices similar to slices.
-
Fred Drake yazdı
This closes SF bug #562878.
-
Neal Norwitz yazdı
Not sure if code is correct, but that is what's in this file. I've seen \constant{True} in other places.
-
- 13 Haz, 2002 25 kayıt (commit)
-
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
Warning caused by using &func. & is not necessary.
-
Guido van Rossum yazdı
optional attribute, only clear the exception when the internal getattr operation raised AttributeError. Many places in this file already had that policy; but just as many didn't, and there didn't seem to be any rhyme or reason to it. Be consistently cautious. Question: should I backport this? On the one hand it's a bugfix. On the other hand it's a change in behavior. Certain forms of buggy or just weird code would work in the past but raise an exception under the new rules; e.g. if you define a __getattr__ method that raises a non-AttributeError exception.
-
Guido van Rossum yazdı
suggested there, based upon a better analysis (__getattr__ is a red herring). Will backport to 2.2.
-
Neal Norwitz yazdı
Cleanup code a bit and return as early as possible.
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
Convert loops to memset()s.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
They still run as standalone scripts, but when used as part of the regression test suite, they are effectively no-ops. (This is done by renaming test_main to main.)
-
Guido van Rossum yazdı
473985. Through a subtle rearrangement of some members in the etype struct (!), mapping methods are now preferred over sequence methods, which is necessary to support str.__getitem__("hello", slice(4)) etc.
-
Guido van Rossum yazdı
-
Fred Drake yazdı
Closes SF bug #568577.
-
Jeremy Hylton yazdı
Look in both moddirlist and incdirlist, since a .h could be in either.
-
Jeremy Hylton yazdı
Two new tests are needed: Don't skip building an extension if any of the depends files are newer than the target. Pass ext.depends to compiler.compile() so that it can track individual files.
-
Jeremy Hylton yazdı
Always use _setup_compile() to do the grunt work of processing arguments, figuring out which files to compile, and emitting debug messages for files that are up-to-date. Use _get_cc_args() when possible.
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
This change is not backwards compatible. If a compiler subclass exists outside the distutils package, it may get called with the unexpected keyword arg. It's easy to extend that compiler by having it ignore the argument, and not much harder to do the right thing. If this ends up being burdensome, we can change it before 2.3 final to work harder at compatibility. Also add _setup_compile() and _get_cc_args() helper functions that factor out much of the boilerplate for each concrete compiler class.
-
Guido van Rossum yazdı
pyconfig.h.
-
Guido van Rossum yazdı
DNS, and we can't assume that.
-
Guido van Rossum yazdı
that retries the connect() call in timeout mode so it can be shared between connect() and connect_ex(), and needs only a single #ifdef. The test for this was doing funky stuff I don't approve of, so I removed it in favor of a simpler test. This allowed me to implement a simpler, "purer" form of the timeout retry code. Hopefully that's enough (if you want to be fancy, use non-blocking mode and decode the errors yourself, like before).
-