summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Removed or replaced some more deprecated preprocessor macros.Christian Heimes2007-11-3013-91/+116
| | | | | | Moved the _DEBUG and NDEBUG macros to two new property files. Fixed #1527 Problem with static libs on Windows Updated README.txt
* Reordering of __new__ to minimize isinstance() calls to mostFacundo Batista2007-11-301-55/+56
| | | | used types. Thanks Mark Dickinson.
* Issue #1402: PyInterpreterState_Clear() may still invoke user codeAmaury Forgeot d'Arc2007-11-292-5/+39
| | | | | | | | (in deallocation of running threads, for example), so the PyGILState_Release() function must still be functional. On the other hand, _PyGILState_Fini() only frees memory, and can be called later. Backport candidate, but only after some experts comment on it.
* Add more examples to the wsgiref docs.Georg Brandl2007-11-292-1/+89
| | | | From GHOP by Josip Dzolonga.
* vc2008: Move python.vcproj first in the solution file, so thatAmaury Forgeot d'Arc2007-11-291-2/+2
| | | | | it becomes the default startup project when opening the file for the first time.
* Spaces vs. Tabs.Georg Brandl2007-11-291-4/+4
|
* Fix bug #1517, a segfault in lookdict().Guido van Rossum2007-11-291-0/+4
|
* Add examples to the ConfigParser documentation.Georg Brandl2007-11-292-0/+88
| | | | Credits go to Thomas Lamb, who wrote this as a task in the GHOP contest.
* Fix reference target.Georg Brandl2007-11-291-1/+1
|
* Added py3kwarning to the documentation of the sys module.Christian Heimes2007-11-281-0/+6
|
* I forgot to fix one occurence of new in test_descrChristian Heimes2007-11-271-1/+1
|
* Expose Py_Py3kWarningFlag as sys.py3kwarning as discussed in #1504Christian Heimes2007-11-275-3/+27
| | | | Also added a warning.warnpy3k() as convenient method for Python 3.x related deprecation warnings.
* Patch # 1507 by Mark Dickinson. Make complex(x, -0) retain the sign ofGuido van Rossum2007-11-272-9/+28
| | | | | the imaginary part (as long as it's not complex). Backport candidate?
* Added a deprecation warning to the 'new' module.Christian Heimes2007-11-271-0/+3
|
* Replaced import of the 'new' module with 'types' module and added a ↵Christian Heimes2007-11-2710-81/+52
| | | | deprecation warning to the 'new' module.
* Backport of changes to PCbuild9 from the py3k branchChristian Heimes2007-11-276-230/+166
|
* Moved the errno import from inside the functions to theFacundo Batista2007-11-271-6/+3
| | | | module level. Fixes issue 1755179.
* Remove unused global variable, and remove unneeded COMError.__str__Thomas Heller2007-11-271-15/+0
| | | | implementation in C.
* A thread-less variant of brownian.py, submitted by Michele Simoniato.Guido van Rossum2007-11-261-0/+55
|
* Bug #1494: Document that appendChild removes first.Martin v. Löwis2007-11-241-2/+3
|
* back in these go - thanks to Titus Brown for the fixSkip Montanaro2007-11-243-0/+18
|
* #1735632: add O_NOATIME constant to os module.Georg Brandl2007-11-242-8/+14
| | | | Also document a few other O_ constants that were missing from documentation.
* Issue #1445: Fix a SystemError when accessing the ``cell_contents``Amaury Forgeot d'Arc2007-11-243-1/+21
| | | | attribute of an empty cell object. Now a ValueError is raised.
* Warning "<> not supported in 3.x" should be enabled only when the -3 option ↵Amaury Forgeot d'Arc2007-11-241-1/+1
| | | | is set.
* #1355: remove mention of PyXML from xml.dom docs.Georg Brandl2007-11-241-9/+8
|
* #1467: fix documentation for TestResult.add{Error,Failure}.Georg Brandl2007-11-241-4/+6
|
* #1344: document that you need to open std{in,out,err} with PIPE if you wantGeorg Brandl2007-11-241-1/+6
| | | | communicate() to work as described.
* revertSkip Montanaro2007-11-241-3/+0
|
* revert change that breaks test_doctest (which I forgot to run - sorry)Skip Montanaro2007-11-242-13/+0
|
* Backport of fixes from py3k branchChristian Heimes2007-11-242-8/+23
| | | | svn merge -r59131:HEAD ../../py3k/PCbuild9/ .
* Added filename to compiling struct based on Martin's suggestion.Christian Heimes2007-11-241-1/+3
| | | | I'm wonder why I was trying to add the filename to the node all the time. The compiling struct is more obvious.
* Test cases from Cowlishaw, v2.57. All are pased cleanly.Facundo Batista2007-11-23142-160/+510
|
* Major change in the internal structure of the DecimalFacundo Batista2007-11-232-302/+220
| | | | | | | | | | number: now it does not store the mantissa as a tuple of numbers, but as a string. This avoids a lot of conversions, and achieves a speedup of 40%. The API remains intact. Thanks Mark Dickinson.
* issue 1429818Skip Montanaro2007-11-231-0/+3
|
* Make trace and doctest play nice together (issue 1429818). Will backport.Skip Montanaro2007-11-232-0/+13
|
* Add itemAndrew M. Kuchling2007-11-231-0/+4
|
* And yet another fix for the patch. Paul Moore has send me a note that I've ↵Christian Heimes2007-11-231-8/+9
| | | | missed a declaration. The additional code has moved the declaration in the middle of the block.
* How did the comment get there?Christian Heimes2007-11-231-1/+1
|
* Fixed problems in the last commit. Filenames and line numbers weren't ↵Christian Heimes2007-11-232-13/+19
| | | | | | reported correctly. Backquotes still don't report the correct file. The AST nodes only contain the line number but not the file name.
* Applied patch #1754273 and #1754271 from Thomas GleeChristian Heimes2007-11-232-1/+14
| | | | The patches are adding deprecation warnings for back ticks and <>
* Backport of PCbuild9 fixes from py3k r59130Christian Heimes2007-11-235-19/+83
|
* Fix a bug in the test for using __loader__.get_data().Brett Cannon2007-11-231-0/+1
|
* Backport of the PCbuild9 directory from the py3k branch.Christian Heimes2007-11-2250-7/+18093
| | | | | I've finished the last task for the PCbuild9 directory today. I don't think there is much left to do. Now you can all play around with the shiny new VS 2008 and try the PGO builds. I was able to get a speed improvement of about 10% on py3k. Have fun! :)
* Backport of _abccoll.py by Benjamin Arangueren, issue 1383.Guido van Rossum2007-11-2213-51/+822
| | | | With some changes of my own thrown in (e.g. backport of r58107).
* Final fix for #1403Christian Heimes2007-11-211-0/+2
| | | | The Windows installer and some Linux distros are using compileall to compile all py files in the Lib/ directory. However no test exists to check if all py files can be compiled. I figured out that make testall is the easiest way to test compileall.
* Add a NEWS entry for r59076.Amaury Forgeot d'Arc2007-11-211-0/+3
|
* Added NEWS entryChristian Heimes2007-11-211-0/+1
| | | | Thanks for the reminder, Brett
* Add a missing check before deleting a package's __loader__.Brett Cannon2007-11-211-1/+2
|
* doctest assumed that a package's __loader__.get_data() method used universalBrett Cannon2007-11-213-1/+24
| | | | | | | newlines; it doesn't. To rectify this the string returned replaces all instances of os.linesep with '\n' to fake universal newline support. Backport candidate.
* Fixed #1372: zlibmodule.c: int overflow in PyZlib_decompressChristian Heimes2007-11-211-2/+3
|