summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* SF bug #1048728: Bug fixes and cleanup for decimal.pyRaymond Hettinger2004-10-201-13/+7
| | | | (Contributed by Neal Norwitz. Reviewed by Facundo Bastista.)
* Display helpful message; print repr() of return value so the whitespace is ↵Andrew M. Kuchling2004-10-191-1/+2
| | | | clearer
* [Bug #1048816] Fix bug when you do Ctrl-K at the start of a line; fix from ↵Andrew M. Kuchling2004-10-191-0/+2
| | | | Stefan Heimann
* Make magic coordinates more readableAndrew M. Kuchling2004-10-191-3/+7
|
* Fix comments.Brett Cannon2004-10-181-2/+4
|
* Add support for %U and %W to contribute to calculating the date when the yearBrett Cannon2004-10-182-1/+65
| | | | | | and day of the week are specified. Closes bug #1045381.
* SF #1048865: Fix a trivial typo that breaks StreamReader.readlines()Hye-Shik Chang2004-10-172-2/+13
|
* Fix and test weak referencing of itertools.tee objects.Raymond Hettinger2004-10-171-0/+8
|
* Fix docstring formatting of escape sequences.Raymond Hettinger2004-10-171-1/+1
|
* Invalid patterns to substitute and safe_substitute would crash since patternNeal Norwitz2004-10-172-2/+16
| | | | is not a local variable. Add a test case.
* Use proper value for FalseNeal Norwitz2004-10-171-1/+1
|
* Remove unnecessary importsNeal Norwitz2004-10-171-2/+2
|
* return codes are available on all platforms, not just on UnixFredrik Lundh2004-10-171-4/+3
|
* release shenanigansAnthony Baxter2004-10-151-0/+6
|
* make sure to check for this limit even if we're running with -OFredrik Lundh2004-10-151-2/+4
|
* SF bug #1046855: httplib index out of rangeRaymond Hettinger2004-10-141-1/+1
|
* Patch 1046644 - improved distutils support for SWIG.Anthony Baxter2004-10-143-5/+29
|
* 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}).
* 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
* Require minimally PyXML 0.8.4.Martin v. Löwis2004-10-131-1/+1
|
* 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-131-0/+2
| | | | | Python's own setup.py that did the same thing (and tested on Solaris, where LDSHARED is needed...)
* 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
|
* 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
|
* Added Peter Astrand's subprocess module.Fredrik Lundh2004-10-123-0/+1657
|
* Don't use mutable values for method defaults.Raymond Hettinger2004-10-121-2/+6
|
* Document that on Unix, the 'cmd' argument to the os.popen2/3/4 andJohannes Gijsbers2004-10-112-22/+62
| | | | | | | | | | 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
* Open source files in universal newlines mode.Michael W. Hudson2004-10-111-1/+1
|
* Added a usegmt flag to email.Utils.formatdate - this allows it to beAnthony Baxter2004-10-114-6/+22
| | | | | used to replace rfc822.formatdate for protocols like HTTP (where 'GMT' must be the timezone string).
* All known bugs are closed, and Python 2.4b1 is coming out soon, so bumpBarry Warsaw2004-10-091-1/+1
| | | | email's version number to 3.0b1.
* Fix SF bug # 1030941. In _parsegen(), in the clause where we'reBarry Warsaw2004-10-091-3/+7
| | | | | | | capturing_preamble but we found a StartBoundaryNotFoundDefect, we need to consume all lines from the current position to the EOF, which we'll set as the epilogue of the current message. If we're not at EOF when we return from here, the outer message's capturing_preamble assertion will fail.
* An example message for SF bug # 1030941.Barry Warsaw2004-10-091-0/+20
|
* test_missing_start_boundary(): A test for SF bug # 1030941.Barry Warsaw2004-10-091-0/+15
|