]> granicus.if.org Git - python/log
python
18 years agoAdd proper svn magic to ignore .pyc/.pyo files in Lib/setuptools (and
Thomas Wouters [Tue, 18 Apr 2006 23:04:00 +0000 (23:04 +0000)]
Add proper svn magic to ignore .pyc/.pyo files in Lib/setuptools (and
subdirs) like it already exists for the other Lib subdirs.

18 years agoRename remaining StgDictObject's ffi_type fields to ffi_type_pointer.
Thomas Heller [Tue, 18 Apr 2006 20:09:27 +0000 (20:09 +0000)]
Rename remaining StgDictObject's ffi_type fields to ffi_type_pointer.

18 years agoC++ compiler cleanup: the typical few casts, and ... C++ didn't like that
Skip Montanaro [Tue, 18 Apr 2006 19:45:17 +0000 (19:45 +0000)]
C++ compiler cleanup: the typical few casts, and ...  C++ didn't like that
the StgDictObject's ffi_type member had the same name as its type.  I
changed that to ffi_type_pointer.  Feel free to change it to something else
more meaningful, just not ffi_type.

18 years agoC++ compiler cleanup: a cast here, a cast there... still does not compile under C...
Skip Montanaro [Tue, 18 Apr 2006 19:39:48 +0000 (19:39 +0000)]
C++ compiler cleanup: a cast here, a cast there... still does not compile under C++ though...

18 years agoC++ compiler cleanup: "typename" is a C++ keyword
Skip Montanaro [Tue, 18 Apr 2006 19:35:04 +0000 (19:35 +0000)]
C++ compiler cleanup: "typename" is a C++ keyword

18 years agoChange those parts of the Python-api that were functions in 2.4, and
Thomas Heller [Tue, 18 Apr 2006 18:51:06 +0000 (18:51 +0000)]
Change those parts of the Python-api that were functions in 2.4, and
are now macros to exported functions again.

Fixes [ 1465834 ] bdist_wininst preinstall script support is broken in 2.5a1.

18 years agoWhilespace normalization (reindint.py).
Tim Peters [Tue, 18 Apr 2006 17:32:12 +0000 (17:32 +0000)]
Whilespace normalization (reindint.py).

18 years agoadd info re: pydoc, pkgutil, and setuptools additions
Phillip J. Eby [Tue, 18 Apr 2006 16:45:14 +0000 (16:45 +0000)]
add info re: pydoc, pkgutil, and setuptools additions

18 years agofix typo
George Yoshida [Tue, 18 Apr 2006 16:18:15 +0000 (16:18 +0000)]
fix typo

18 years agoSplit ``get_platform()`` into ``get_supported_platform()`` and
Phillip J. Eby [Tue, 18 Apr 2006 15:30:05 +0000 (15:30 +0000)]
Split ``get_platform()`` into ``get_supported_platform()`` and
``get_build_platform()`` to work around a Mac versioning problem that caused
the behavior of ``compatible_platforms()`` to be platform specific.

18 years agoFix refcounting.
Thomas Heller [Tue, 18 Apr 2006 14:57:39 +0000 (14:57 +0000)]
Fix refcounting.
This makes 'import ctypes; reload(ctypes)' no longer leak reference counts.

18 years agoRefactor: Move code that uses co_lnotab from ceval to codeobject
Jeremy Hylton [Tue, 18 Apr 2006 14:47:00 +0000 (14:47 +0000)]
Refactor: Move code that uses co_lnotab from ceval to codeobject

18 years agoTypo fix
Andrew M. Kuchling [Tue, 18 Apr 2006 14:04:57 +0000 (14:04 +0000)]
Typo fix

18 years agoA dictresize() attack. If oldtable == mp->ma_smalltable then pure
Armin Rigo [Tue, 18 Apr 2006 14:00:01 +0000 (14:00 +0000)]
A dictresize() attack.  If oldtable == mp->ma_smalltable then pure
Python code can mangle with mp->ma_smalltable while it is being walked
over.

18 years agoadd a very old crasher from the 2.1 -> 2.2 round of dictionary fixes.
Michael W. Hudson [Tue, 18 Apr 2006 13:52:32 +0000 (13:52 +0000)]
add a very old crasher from the 2.1 -> 2.2 round of dictionary fixes.

18 years agoAdd item
Andrew M. Kuchling [Tue, 18 Apr 2006 12:38:19 +0000 (12:38 +0000)]
Add item

18 years agoC++ compiler cleanup: proper casts
Skip Montanaro [Tue, 18 Apr 2006 11:53:09 +0000 (11:53 +0000)]
C++ compiler cleanup: proper casts

18 years agoComment typo fix
Andrew M. Kuchling [Tue, 18 Apr 2006 11:49:53 +0000 (11:49 +0000)]
Comment typo fix

18 years agoRemove types from type_list if they have no objects
Martin v. Löwis [Tue, 18 Apr 2006 06:24:08 +0000 (06:24 +0000)]
Remove types from type_list if they have no objects
and unlist_types_without_objects is set.
Give dump_counts a FILE* argument.

18 years agoWhitespace normalization
Neal Norwitz [Tue, 18 Apr 2006 04:53:28 +0000 (04:53 +0000)]
Whitespace normalization

18 years agoIt's probably a good idea to actually *install* setuptools, too. ;)
Phillip J. Eby [Tue, 18 Apr 2006 04:34:50 +0000 (04:34 +0000)]
It's probably a good idea to actually *install* setuptools, too.  ;)

18 years agoHandle easy_install being run via -m with no __file__ if done from a
Phillip J. Eby [Tue, 18 Apr 2006 04:31:46 +0000 (04:31 +0000)]
Handle easy_install being run via -m with no __file__ if done from a
zipfile.

18 years agoInitial import of setuptools, with integrated tests.
Phillip J. Eby [Tue, 18 Apr 2006 04:05:34 +0000 (04:05 +0000)]
Initial import of setuptools, with integrated tests.

18 years agoFinally figured out why this module did its imports at the
Tim Peters [Tue, 18 Apr 2006 03:28:32 +0000 (03:28 +0000)]
Finally figured out why this module did its imports at the
bottom of the file.  Restored that, and added a comment
explaining why this is necessary.  Hint:  on my box, and
yours, it's not :-(

Also added an __all__ list.

18 years agoAt least test_threading_local doesn't leak any more.
Tim Peters [Tue, 18 Apr 2006 03:02:10 +0000 (03:02 +0000)]
At least test_threading_local doesn't leak any more.

18 years agotest_pyclbr goes nuts when a module contains code to try importing a class
Phillip J. Eby [Tue, 18 Apr 2006 01:39:25 +0000 (01:39 +0000)]
test_pyclbr goes nuts when a module contains code to try importing a class
and provide a substitute if the import fails, because pyclbr sees the
class definition.  Changed to ignore such cases' base classes and methods,
since they will not match.

18 years agocorrect function signature
Skip Montanaro [Tue, 18 Apr 2006 01:01:41 +0000 (01:01 +0000)]
correct function signature

18 years agoSecond phase of refactoring for runpy, pkgutil, pydoc, and setuptools
Phillip J. Eby [Tue, 18 Apr 2006 00:59:55 +0000 (00:59 +0000)]
Second phase of refactoring for runpy, pkgutil, pydoc, and setuptools
to share common PEP 302 support code, as described here:

http://mail.python.org/pipermail/python-dev/2006-April/063724.html

pydoc now supports PEP 302 importers, by way of utility functions in
pkgutil, such as 'walk_packages()'.  It will properly document
modules that are in zip files, and is backward compatible to Python
2.3 (setuptools installs for Python <2.5 will bundle it so pydoc
doesn't break when used with eggs.)

What has not changed is that pydoc command line options do not support
zip paths or other importer paths, and the webserver index does not
support sys.meta_path.  Those are probably okay as limitations.

Tasks remaining: write docs and Misc/NEWS for pkgutil/pydoc changes,
and update setuptools to use pkgutil wherever possible, then add it
to the stdlib.

18 years agoC++ compiler cleanup: cast...
Skip Montanaro [Tue, 18 Apr 2006 00:57:15 +0000 (00:57 +0000)]
C++ compiler cleanup: cast...

18 years agoC++ compiler cleanup: extern "C" a couple declarations, cast int to size_t
Skip Montanaro [Tue, 18 Apr 2006 00:55:46 +0000 (00:55 +0000)]
C++ compiler cleanup: extern "C" a couple declarations, cast int to size_t

18 years agoC++ compiler cleanup: migrate to modsupport.h
Skip Montanaro [Tue, 18 Apr 2006 00:53:48 +0000 (00:53 +0000)]
C++ compiler cleanup: migrate to modsupport.h

18 years agoC++ compiler cleanup: cast signed to unsigned
Skip Montanaro [Tue, 18 Apr 2006 00:53:06 +0000 (00:53 +0000)]
C++ compiler cleanup: cast signed to unsigned

18 years agoreset errno before calling confstr - use confstr() doc to simplify checks afterwards
Skip Montanaro [Tue, 18 Apr 2006 00:49:49 +0000 (00:49 +0000)]
reset errno before calling confstr - use confstr() doc to simplify checks afterwards

18 years agoC++ compiler cleanup: bunch-o-casts, plus use of unsigned loop index var in a couple...
Skip Montanaro [Tue, 18 Apr 2006 00:35:43 +0000 (00:35 +0000)]
C++ compiler cleanup: bunch-o-casts, plus use of unsigned loop index var in a couple places

18 years agoC++ compile cleanup: proper declaration of _Py_BuildValue_SizeT
Skip Montanaro [Tue, 18 Apr 2006 00:29:29 +0000 (00:29 +0000)]
C++ compile cleanup: proper declaration of _Py_BuildValue_SizeT

18 years agoC++ compilation cleanup: Migrate declaration of
Skip Montanaro [Tue, 18 Apr 2006 00:27:46 +0000 (00:27 +0000)]
C++ compilation cleanup: Migrate declaration of
_PyObject_Call(Function|Method)_SizeT into Include/abstract.h.  This gets
them under the umbrella of the extern "C" { ... } block in that file.

18 years agolocal.__del__(): This didn't actually do anything, because of too
Tim Peters [Mon, 17 Apr 2006 21:12:33 +0000 (21:12 +0000)]
local.__del__():  This didn't actually do anything, because of too
much convolution <0.5 wink>.  Simplified to the point that it works,
and test_threading_local no longer reports leaks under -R.  Thanks
to Thomas Wouters for initial analysis.

18 years agoFirst phase of refactoring for runpy, pkgutil, pydoc, and setuptools
Phillip J. Eby [Mon, 17 Apr 2006 20:17:25 +0000 (20:17 +0000)]
First phase of refactoring for runpy, pkgutil, pydoc, and setuptools
to share common PEP 302 support code, as described here:

http://mail.python.org/pipermail/python-dev/2006-April/063724.html

This revision strips all the PEP 302 emulation code from runpy,
replacing it with published API classes and functions in pkgutil,
mostly using setuptools' implementation of common functionality,
but adding features from runpy, and doing some refactoring to make
the layer pydoc needs easier to implement on top of this.

One step down, four to go, although step #4 (adding C versions of
the new APIs to 'imp') may not be able to make it in time for
alpha 2.  We'll see how that goes.

18 years agoAdd reindent target.
Martin v. Löwis [Mon, 17 Apr 2006 19:25:49 +0000 (19:25 +0000)]
Add reindent target.

18 years agoReindent.
Martin v. Löwis [Mon, 17 Apr 2006 19:18:18 +0000 (19:18 +0000)]
Reindent.

18 years agoRemove bogus character.
Martin v. Löwis [Mon, 17 Apr 2006 17:37:09 +0000 (17:37 +0000)]
Remove bogus character.

18 years agoUse GetModuleFileNameEx instead of GetProcessImageFileName,
Martin v. Löwis [Mon, 17 Apr 2006 17:26:42 +0000 (17:26 +0000)]
Use GetModuleFileNameEx instead of GetProcessImageFileName,
as the latter is not available on Windows 2000.

18 years agoPatch #790710: Add breakpoint command lists in pdb.
Martin v. Löwis [Mon, 17 Apr 2006 17:08:37 +0000 (17:08 +0000)]
Patch  #790710: Add breakpoint command lists in pdb.

18 years agofix long option markup
George Yoshida [Mon, 17 Apr 2006 15:44:59 +0000 (15:44 +0000)]
fix long option markup

18 years agodisutils checks if MACOSX_DEPLOYMENT_TARGET is consistent with the value at
Ronald Oussoren [Mon, 17 Apr 2006 14:43:30 +0000 (14:43 +0000)]
disutils checks if MACOSX_DEPLOYMENT_TARGET is consistent with the value at
configure time. The current check is too strict and doesn't allow building
extensions that can only run on newer versions of the OS than the version
python was build for, that is python build for 10.3 or later and an extension
for 10.4. This patch relaxes this check.

This turned out to be a reimplementation of patch 1193190.

18 years agoUpdate status of document
Andrew M. Kuchling [Mon, 17 Apr 2006 14:01:36 +0000 (14:01 +0000)]
Update status of document

18 years agoRemove translated code hidden inside a comment environment; latex2html gets confused...
Andrew M. Kuchling [Mon, 17 Apr 2006 14:00:31 +0000 (14:00 +0000)]
Remove translated code hidden inside a comment environment; latex2html gets confused and includes half of it anyway

18 years agoThis patches fixes a number of byteorder problems in MacOSX specific code.
Ronald Oussoren [Mon, 17 Apr 2006 13:40:08 +0000 (13:40 +0000)]
This patches fixes a number of byteorder problems in MacOSX specific code.

18 years agoTeach platform about darwin/x86
Ronald Oussoren [Mon, 17 Apr 2006 13:37:15 +0000 (13:37 +0000)]
Teach platform about darwin/x86

18 years agoRevert to 45478, disable kill_python command for now.
Martin v. Löwis [Mon, 17 Apr 2006 10:39:39 +0000 (10:39 +0000)]
Revert to 45478, disable kill_python command for now.

18 years agoCheck whether disk space is full.
Martin v. Löwis [Mon, 17 Apr 2006 10:36:18 +0000 (10:36 +0000)]
Check whether disk space is full.

18 years agoRename binary again; increase noise; stop trying to actually kill the process.
Martin v. Löwis [Mon, 17 Apr 2006 10:31:35 +0000 (10:31 +0000)]
Rename binary again; increase noise; stop trying to actually kill the process.

18 years agoRename binaries again; increase noise.
Martin v. Löwis [Mon, 17 Apr 2006 10:27:28 +0000 (10:27 +0000)]
Rename binaries again; increase noise.

18 years agoRename binary to avoid conflicts with hanging processes on x86 w2k.
Martin v. Löwis [Mon, 17 Apr 2006 10:23:23 +0000 (10:23 +0000)]
Rename binary to avoid conflicts with hanging processes on x86 w2k.

18 years agoTry some tracing
Martin v. Löwis [Mon, 17 Apr 2006 10:19:25 +0000 (10:19 +0000)]
Try some tracing

18 years agoAdd kill_python command.
Martin v. Löwis [Mon, 17 Apr 2006 09:46:47 +0000 (09:46 +0000)]
Add kill_python command.

18 years agoFix for a bug exposed by r45232:
Armin Rigo [Mon, 17 Apr 2006 09:22:35 +0000 (09:22 +0000)]
Fix for a bug exposed by r45232:

    /path/to/uninstalled/python setup.py build_ext

now failed with pyconfig.h not found.  Prior to r45232
the above command did not look for pyconfig.h, but the
bug is really in the look-up code: expecting to find it
in os.curdir is a rather fragile idea.

18 years agoNo need to cast a Py_ssize_t, use %z in PyErr_Format
Neal Norwitz [Mon, 17 Apr 2006 05:56:32 +0000 (05:56 +0000)]
No need to cast a Py_ssize_t, use %z in PyErr_Format

18 years agoAdd a comment to explain why we are calling _cleanup()
Neal Norwitz [Mon, 17 Apr 2006 02:41:25 +0000 (02:41 +0000)]
Add a comment to explain why we are calling _cleanup()

18 years agoTry to stop the test from leaking and yet still work on windows
Neal Norwitz [Mon, 17 Apr 2006 02:39:37 +0000 (02:39 +0000)]
Try to stop the test from leaking and yet still work on windows

18 years agoRemove unused field
Neal Norwitz [Mon, 17 Apr 2006 01:49:28 +0000 (01:49 +0000)]
Remove unused field

18 years agoAdd some notes about a couple of poorly behaved tests
Neal Norwitz [Mon, 17 Apr 2006 01:49:14 +0000 (01:49 +0000)]
Add some notes about a couple of poorly behaved tests

18 years agotest_cmd_line should not leak any more, ensure an empty reflog file exists if no...
Neal Norwitz [Mon, 17 Apr 2006 01:48:41 +0000 (01:48 +0000)]
test_cmd_line should not leak any more, ensure an empty reflog file exists if no leaks are found

18 years agoGet test to consistently show no leaks
Neal Norwitz [Mon, 17 Apr 2006 01:48:06 +0000 (01:48 +0000)]
Get test to consistently show no leaks

18 years agoNo reason to export get_decomp_record, make static
Neal Norwitz [Mon, 17 Apr 2006 00:36:29 +0000 (00:36 +0000)]
No reason to export get_decomp_record, make static

18 years agomoduleName can be NULL
Neal Norwitz [Mon, 17 Apr 2006 00:33:23 +0000 (00:33 +0000)]
moduleName can be NULL

18 years agoWhitespace normalization.
Tim Peters [Sun, 16 Apr 2006 22:22:36 +0000 (22:22 +0000)]
Whitespace normalization.

18 years agoAdd missing SVN eol-style property to text files.
Tim Peters [Sun, 16 Apr 2006 22:11:28 +0000 (22:11 +0000)]
Add missing SVN eol-style property to text files.

18 years agoUse %zd instead of %i as format character (in call to PyErr_Format) for
Thomas Wouters [Sun, 16 Apr 2006 22:04:49 +0000 (22:04 +0000)]
Use %zd instead of %i as format character (in call to PyErr_Format) for
Py_ssize_t argument.

18 years agoPatch #1063914: Add clipboard_get.
Martin v. Löwis [Sun, 16 Apr 2006 20:55:38 +0000 (20:55 +0000)]
Patch #1063914: Add clipboard_get.

18 years agoAdd item
Andrew M. Kuchling [Sun, 16 Apr 2006 19:53:27 +0000 (19:53 +0000)]
Add item

18 years agoInitialize structseq types only once.
Martin v. Löwis [Sun, 16 Apr 2006 18:55:50 +0000 (18:55 +0000)]
Initialize structseq types only once.

18 years agoUpdate instructions for EXTRA_CFLAGS: configure ignores
Martin v. Löwis [Sun, 16 Apr 2006 18:55:07 +0000 (18:55 +0000)]
Update instructions for EXTRA_CFLAGS: configure ignores
them; they have to be passed to make.

18 years agoDescribe contextlib module. (Done for today...)
Andrew M. Kuchling [Sun, 16 Apr 2006 18:45:11 +0000 (18:45 +0000)]
Describe contextlib module.  (Done for today...)

18 years agoWrite most of the 'writing context managers' section. I'd like comments on it,
Andrew M. Kuchling [Sun, 16 Apr 2006 18:20:05 +0000 (18:20 +0000)]
Write most of the 'writing context managers' section.  I'd like comments on it,
    but wait for a few hours before you read it; I'm still revising it
    and will be tackling contextlib next.
Untabify

18 years agoMake test_timeout not fail on systems with no dots in their fqdn.
Thomas Wouters [Sun, 16 Apr 2006 16:26:28 +0000 (16:26 +0000)]
Make test_timeout not fail on systems with no dots in their fqdn.

18 years agoMake test_warnings play nice with regrtest -R:: now that regrtest doesn't
Thomas Wouters [Sun, 16 Apr 2006 15:43:39 +0000 (15:43 +0000)]
Make test_warnings play nice with regrtest -R:: now that regrtest doesn't
always reload the module (specifically, it doesn't reload if the module has
a 'test_main'.)

18 years agoSpecialcase 'xs4all' (.nl/.net/.com/whatever else we have) as well as
Thomas Wouters [Sun, 16 Apr 2006 15:22:41 +0000 (15:22 +0000)]
Specialcase 'xs4all' (.nl/.net/.com/whatever else we have) as well as
'python.org' when deciding what server to use for the timeout tests; getting
tired of seeing the test fail on all my boxes ;P This'll still allow the
test to fail for hosts in the XS4ALL network that don't have an 'xs4all'
hostname, so maybe it should use a fallback scheme instead.

18 years agoThis test no longer leaks, and test_generators sufficiently tests it to
Thomas Wouters [Sun, 16 Apr 2006 15:11:33 +0000 (15:11 +0000)]
This test no longer leaks, and test_generators sufficiently tests it to
prevent unreported regression.

18 years agoFix valgrind problem with invalid memory read
Neal Norwitz [Sun, 16 Apr 2006 03:37:19 +0000 (03:37 +0000)]
Fix valgrind problem with invalid memory read

18 years agoFix memory leak
Neal Norwitz [Sun, 16 Apr 2006 03:28:17 +0000 (03:28 +0000)]
Fix memory leak

18 years agoerr is no longer used
Neal Norwitz [Sun, 16 Apr 2006 00:02:59 +0000 (00:02 +0000)]
err is no longer used

18 years agoAdd missing DECREF to PyErr_WriteUnraisable(). That function reports
Thomas Wouters [Sat, 15 Apr 2006 23:27:28 +0000 (23:27 +0000)]
Add missing DECREF to PyErr_WriteUnraisable(). That function reports
exceptions that can't be raised any further, because (for instance) they
occur in __del__ methods. The coroutine tests in test_generators was
triggering this leak. Remove the leakers' testcase, and add a simpler
testcase that explicitly tests this leak to test_generators.

test_generators now no longer leaks at all, on my machine. This fix may also
solve other leaks, but my full refleakhunting run is still busy, so who
knows?

18 years agogen_del(): Looks like much this was copy/pasted from
Tim Peters [Sat, 15 Apr 2006 22:59:10 +0000 (22:59 +0000)]
gen_del():  Looks like much this was copy/pasted from
slot_tp_del(), but while the latter had to cater to types
that don't participate in GC, we know that generators do.
That allows strengthing an assert().

18 years agoRemove now-unused variables from tp_traverse and tp_clear methods.
Tim Peters [Sat, 15 Apr 2006 22:51:26 +0000 (22:51 +0000)]
Remove now-unused variables from tp_traverse and tp_clear methods.

18 years agoConsolidate 'leak_test1' and 'refleaks_tests', since they both test for the
Thomas Wouters [Sat, 15 Apr 2006 22:44:07 +0000 (22:44 +0000)]
Consolidate 'leak_test1' and 'refleaks_tests', since they both test for the
same kind of thing.

18 years agoAdd missing PyObject_GC_Track call, causing *some* itertools.tee objects to
Thomas Wouters [Sat, 15 Apr 2006 22:33:13 +0000 (22:33 +0000)]
Add missing PyObject_GC_Track call, causing *some* itertools.tee objects to
not be tracked by GC. This fixes 254 of test_generators' refleaks on my
machine, but I'm sure something else will make them come back :>

Not adding a separate test for this kind of cycle, since the existing
fib/m235 already test them in more extensive ways than any 'minimal' test
has been able to manage.

18 years agoUse Py_VISIT in all tp_traverse methods, instead of traversing manually or
Thomas Wouters [Sat, 15 Apr 2006 21:47:09 +0000 (21:47 +0000)]
Use Py_VISIT in all tp_traverse methods, instead of traversing manually or
using a custom, nearly-identical macro. This probably changes how some of
these functions are compiled, which may result in fractionally slower (or
faster) execution. Considering the nature of traversal, visiting much of the
address space in unpredictable patterns, I'd argue the code readability and
maintainability is well worth it ;P

18 years ago - Whitespace normalization
Thomas Wouters [Sat, 15 Apr 2006 21:41:56 +0000 (21:41 +0000)]
 - Whitespace normalization
 - In functions where we already hold the same object in differently typed
   pointers, use the correctly typed pointer instead of casting the other
   pointer a second time.

18 years agoFix typo.
Thomas Heller [Sat, 15 Apr 2006 20:43:22 +0000 (20:43 +0000)]
Fix typo.

18 years agoFix for FreeBSD. Fixes http://python.org/sf/1470353.
Thomas Heller [Sat, 15 Apr 2006 20:23:54 +0000 (20:23 +0000)]
Fix for FreeBSD.  Fixes http://python.org/sf/1470353.
Looks like a libffi bug.

18 years agoZap ZAP.
Martin v. Löwis [Sat, 15 Apr 2006 18:14:21 +0000 (18:14 +0000)]
Zap ZAP.

18 years agoPatch #1470875: Building Python with MS Free Compiler.
Martin v. Löwis [Sat, 15 Apr 2006 18:06:54 +0000 (18:06 +0000)]
Patch #1470875: Building Python with MS Free Compiler.

18 years agoRemove partial change (don't edit, commit and think at the same time :P)
Thomas Wouters [Sat, 15 Apr 2006 17:36:42 +0000 (17:36 +0000)]
Remove partial change (don't edit, commit and think at the same time :P)

18 years agoRe-instate backward compatibility by defining Py_CLEAR if it isn't
Thomas Wouters [Sat, 15 Apr 2006 17:33:14 +0000 (17:33 +0000)]
Re-instate backward compatibility by defining Py_CLEAR if it isn't
available.

18 years agoUse Py_CLEAR instead of in-place DECREF/XDECREF or custom macros, for
Thomas Wouters [Sat, 15 Apr 2006 17:28:34 +0000 (17:28 +0000)]
Use Py_CLEAR instead of in-place DECREF/XDECREF or custom macros, for
tp_clear methods.

18 years agoClear dummy and emptyfrozenset, so that we don't have
Martin v. Löwis [Sat, 15 Apr 2006 12:47:23 +0000 (12:47 +0000)]
Clear dummy and emptyfrozenset, so that we don't have
dangling references in case of a Py_Initialize/Py_Finalize
cycle.

18 years agoFix sys.getobjects(0): we get a reference to the
Martin v. Löwis [Sat, 15 Apr 2006 12:46:09 +0000 (12:46 +0000)]
Fix sys.getobjects(0): we get a reference to the
arena's "private" list of objects, so there might
be two references to that list.

18 years agoUnlink the structseq type from the global list of
Martin v. Löwis [Sat, 15 Apr 2006 12:45:05 +0000 (12:45 +0000)]
Unlink the structseq type from the global list of
objects before initializing it. It might be linked
already if there was a Py_Initialize/Py_Finalize
cycle earlier; not unlinking it would break the global
list.

18 years agoPatch #1191700: Adjust column alignment in bdb breakpoint lists.
Martin v. Löwis [Sat, 15 Apr 2006 08:41:11 +0000 (08:41 +0000)]
Patch #1191700: Adjust column alignment in bdb breakpoint lists.
Backported to 2.4.