summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'r24b1'.v2.4b1cvs2svn2004-10-151-0/+1
|
* release shenanigansAnthony Baxter2004-10-153-2/+8
|
* Applied patch for [ 1047269 ] Buffer overwrite in PyUnicode_AsWideChar.Marc-André Lemburg2004-10-151-2/+2
| | | | Python 2.3.x candidate.
* make sure to check for this limit even if we're running with -OFredrik Lundh2004-10-151-2/+4
|
* Bump buildno for 2.4b1Martin v. Löwis2004-10-152-3/+5
|
* Add _subprocess.cMartin v. Löwis2004-10-151-0/+4
|
* Patch #1020042: Only define HAVE_UINTPTR_T for VC 7.x.Martin v. Löwis2004-10-151-2/+4
|
* SF bug #1046855: httplib index out of rangeRaymond Hettinger2004-10-141-1/+1
|
* Just remove the #include of signal.h. That it was C++-commented outMichael W. Hudson2004-10-141-1/+0
| | | | was a mistake of mine in updating patch #975056 (I think).
* Patch 1046644 - improved distutils support for SWIG.Anthony Baxter2004-10-145-5/+35
|
* bump the version number prior to releaseFred Drake2004-10-141-3/+3
|
* remove_stderr_debug_decorations(): Always try the substitution. ElseTim Peters2004-10-141-3/+1
| | | | | this test failed under the combination of passing -O to a debug-build Python. Now all 4 of those pass ({debug, release} x {-O, no -O}).
* Use C89 style comment for old compilersNeal Norwitz2004-10-141-1/+1
|
* Get test to pass on amd64 (opteron). This is pretty hacky, butNeal Norwitz2004-10-141-2/+7
| | | | rangeobject.c has an #ifdef that is reached only when LONG_MAX != INT_MAX
* SF bug 1046690: difflib.HtmlDiff doc errors.Tim Peters2004-10-141-24/+16
| | | | | | Easy doc corrections from Dan Gass. Also repaired the LaTeX for optional keyword arguments throughout, which was (incorrectly) nested instead of flat.
* Require minimally PyXML 0.8.4.Martin v. Löwis2004-10-131-1/+1
|
* Synchronize with PyXML 1.79:Martin v. Löwis2004-10-131-1/+10
| | | | | | 73: Restore support for Python 2.1. 74: Factor the previous change differently 79: Conditionalize usage of PyTuple_Pack.
* Replace dynamic try/except with "if 0", to keep py2exe happy. If youFredrik Lundh2004-10-131-10/+10
| | | | want to use pywin32 instead of _subprocess, you have to edit the file.
* Patch 983206: distutils obeys LDSHARED env var. Removed the code inAnthony Baxter2004-10-134-3/+6
| | | | | Python's own setup.py that did the same thing (and tested on Solaris, where LDSHARED is needed...)
* Patch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.hAnthony Baxter2004-10-134-3/+13
| | | | detection to configure &c.
* 969574Anthony Baxter2004-10-132-0/+4
|
* Patch #975056 - fixes for restartable signals on *BSD. In addition,Anthony Baxter2004-10-135-48/+28
| | | | a few remaining calls to signal() were converted to PyOS_setsig().
* Fixed a small bug. doctest didn't handle unicode docstrings containingJim Fulton2004-10-133-3/+26
| | | | non-ascii characters.
* oops. how did _that_ happen?Anthony Baxter2004-10-131-0/+1
|
* Backing out the basic dependency checking (from pycon sprint).Anthony Baxter2004-10-135-145/+3
| | | | | | This support was only a first cut, and doesn't deserve to be in a released version (where we have to support it in an ongoing manner)
* Don't spend quite as much time looking for leaks on Windows, whereFredrik Lundh2004-10-131-2/+4
| | | | it's rather expensive to create new processes.
* normalize case when comparing directory names (problem reported byFredrik Lundh2004-10-131-1/+2
| | | | "Khalid A. B." on python-dev)
* removed info@pythonware.com referenceFredrik Lundh2004-10-131-2/+1
| | | | | (should probably remove all traces of _xmlrpclib, but I'll leave that for another day.)
* Add a comment explaining -kb.Martin v. Löwis2004-10-131-0/+1
|
* New helper remove_stderr_debug_decorations(). This test passes in aTim Peters2004-10-131-7/+24
| | | | | debug build on Windows now. More applications of the helper may be needed on non-Windows platforms.
* Kill several problems at once: test_poll() failed sometimes for me.Tim Peters2004-10-132-8/+11
| | | | | | | | | | | Turns out the mysterious "expected output" file contained exactly N dots, because test_poll() has a loop that *usually* went around N times, printing one dot on each loop trip. But there's no guarantee of that, because the exact value of N depended on the vagaries of scheduling time.sleep()s across two different processes. So stopped printing dots, and got rid of the expected output file. Add a loop counter instead, and verify that the loop goes around at least a couple of times. Also cut the minimum time needed for this test from 4 seconds to 1.
* test_stdout_none(): Don't print "banana" to the screen in the middleTim Peters2004-10-131-2/+5
| | | | | of the test. It's testing stdout in a different process, so it has to print something, but I didn't find "banana" to be self-explanatory.
* Windows test_creationflags() test: print msg to stderr informing theTim Peters2004-10-131-1/+2
| | | | | | tester that a DOS box is expected to flash. Slash the sleep from 2 seconds to a quarter second (why would we want to wait 2 seconds just to stare at a DOS box?).
* Folded long lines.Tim Peters2004-10-131-23/+42
|
* XXX about extreme expense of test_no_leaking() on Windows. I'm not sureTim Peters2004-10-131-0/+1
| | | | | | what this is trying to do. If it's necessary for it to create > 1000 processes, it should be controlled by a new resource and not run by default on Windows.
* Experience with Zope2's tests showed it's a Bad Idea to make unittestTim Peters2004-10-121-45/+35
| | | | | | display a test's docstring as "the name" of the test. So changed most test docstrings to comments, and removed the clearly useless ones. Now unittest reports the actual names of the test methods.
* Wrap long lines.Tim Peters2004-10-121-43/+67
|
* Whitespace normalization.Tim Peters2004-10-124-47/+43
|
* Supply the _subprocess module under 7.1. I'm not sure what the statusTim Peters2004-10-122-0/+6
| | | | of this should be on non-WIN32 Windows variants.
* Before this turns into an unreadable mess, follow PEP 7 by usingTim Peters2004-10-121-315/+340
| | | | hard tab indents in C code.
* Improvements when running pdb as a script.Johannes Gijsbers2004-10-121-16/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fixes: * Use fresh copy of globals/locals so the script being debugged can't access the pdb namespace (e.g.: p line_prefix will no longer work). * Remove pdb.py's path from sys.path. Having it in there is normally not a problem, but it could prove irritating when messing with PYTHONPATH or invoking pdb via /usr/bin/pdf. * You can now set a breakpoint on the script being debugged, even if the script doesn't end with a '.py' extension. Also, setting breakpoints with absolute paths now works reliably. Enhancements: * Go directly to the first line of the script. * Enter post-mortem debugging if the script being debugged doesn't catch an exception. * Restart the script being debugged and preserve debugger state when the script being debugged exits. Cleanup: * Moved the __main__ method into a main() function. * Kill the (undocumented, not in __all__) mainmodule/mainpyfile globals, add a mainpyfile attribute to pdb. Thanks Ilya Sandler for the patch!
* Typo fixAndrew M. Kuchling2004-10-121-1/+1
|
* Finish off PEP 324 section; fix Peter's last nameAndrew M. Kuchling2004-10-121-3/+69
|
* Start section for PEP 324Andrew M. Kuchling2004-10-121-0/+22
|
* Fix PEP numberAndrew M. Kuchling2004-10-121-1/+1
|
* Added Peter Astrand's subprocess module.Fredrik Lundh2004-10-125-0/+2170
|
* Don't use mutable values for method defaults.Raymond Hettinger2004-10-121-2/+6
|
* Add two itemsAndrew M. Kuchling2004-10-111-0/+14
|
* Document that on Unix, the 'cmd' argument to the os.popen2/3/4 andJohannes Gijsbers2004-10-114-27/+75
| | | | | | | | | | popen2.popen2/3/4 functions can be a sequence. All texts are a variation on the following: On \UNIX, \var{cmd} may be a sequence, in which case arguments will be passed directly to the program without shell intervention (as with \function{os.spawnv()}). If \var{cmd} is a string it will be passed to the shell (as with \function{os.system()}).
* This is jiwon's patch to fix:Michael W. Hudson2004-10-111-1/+6
| | | | [ 1042238 ] Lib/compiler chokes on certain genexps