- 15 Jun, 2002 2 commits
-
-
Tim Peters authored
reason <wink>: can't unlink an open file on Windows.
-
Tim Peters authored
Python on Windows without it.
-
- 14 Jun, 2002 18 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
These built-in functions are replaced by their (now callable) type: slice() buffer() and these types can also be called (but have no built-in named function named after them) classobj (type name used to be "class") code function instance instancemethod (type name used to be "instance method") The module "new" has been replaced with a small backward compatibility placeholder in Python. A large portion of the patch simply removes the new module from various platform-specific build recipes. The following binary Mac project files still have references to it: Mac/Build/PythonCore.mcp Mac/Build/PythonStandSmall.mcp Mac/Build/PythonStandalone.mcp [I've tweaked the code layout and the doc strings here and there, and added a comment to types.py about StringTypes vs. basestring. --Guido]
-
Skip Montanaro authored
library. Since multiple versions can be installed simultaneously, it's crucial that you only select libraries and header files which are compatible with each other. Version checking is done from highest version to lowest. Building using version 1 of Berkeley DB is disabled by default because of the hash file bugs people keep rediscovering. It can be enabled by uncommenting a few lines in setup.py. Closes patch 553108.
-
Fred Drake authored
based on comments from David Abrahams. Added refcount information for these functions.
-
Guido van Rossum authored
when it can.
-
Michael W. Hudson authored
make -s rules :-)
-
Guido van Rossum authored
code.InteractiveConsole to do a much better job.
-
Fred Drake authored
change color on hover, only those that are link sources (href attributes).
-
Steve Holden authored
in the type documentation.
-
Guido van Rossum authored
-
Guido van Rossum authored
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 authored
-
Fred Drake authored
This closes SF bug #550777.
-
Neal Norwitz authored
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 authored
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 authored
Handle negative indices similar to slices.
-
Fred Drake authored
This closes SF bug #562878.
-
Neal Norwitz authored
Not sure if code is correct, but that is what's in this file. I've seen \constant{True} in other places.
-
- 13 Jun, 2002 20 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
Warning caused by using &func. & is not necessary.
-
Guido van Rossum authored
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 authored
suggested there, based upon a better analysis (__getattr__ is a red herring). Will backport to 2.2.
-
Neal Norwitz authored
Cleanup code a bit and return as early as possible.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
Convert loops to memset()s.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Guido van Rossum authored
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 authored
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 authored
-
Fred Drake authored
Closes SF bug #568577.
-
Jeremy Hylton authored
Look in both moddirlist and incdirlist, since a .h could be in either.
-
Jeremy Hylton authored
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 authored
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.
-