Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF bug #1048728: Bug fixes and cleanup for decimal.py | Raymond Hettinger | 2004-10-20 | 1 | -13/+7 |
| | | | | (Contributed by Neal Norwitz. Reviewed by Facundo Bastista.) | ||||
* | Display helpful message; print repr() of return value so the whitespace is ↵ | Andrew M. Kuchling | 2004-10-19 | 1 | -1/+2 |
| | | | | clearer | ||||
* | [Bug #1048816] Fix bug when you do Ctrl-K at the start of a line; fix from ↵ | Andrew M. Kuchling | 2004-10-19 | 1 | -0/+2 |
| | | | | Stefan Heimann | ||||
* | Make magic coordinates more readable | Andrew M. Kuchling | 2004-10-19 | 1 | -3/+7 |
| | |||||
* | Fix comments. | Brett Cannon | 2004-10-18 | 1 | -2/+4 |
| | |||||
* | Add support for %U and %W to contribute to calculating the date when the year | Brett Cannon | 2004-10-18 | 2 | -1/+65 |
| | | | | | | and day of the week are specified. Closes bug #1045381. | ||||
* | SF #1048865: Fix a trivial typo that breaks StreamReader.readlines() | Hye-Shik Chang | 2004-10-17 | 2 | -2/+13 |
| | |||||
* | Fix and test weak referencing of itertools.tee objects. | Raymond Hettinger | 2004-10-17 | 1 | -0/+8 |
| | |||||
* | Fix docstring formatting of escape sequences. | Raymond Hettinger | 2004-10-17 | 1 | -1/+1 |
| | |||||
* | Invalid patterns to substitute and safe_substitute would crash since pattern | Neal Norwitz | 2004-10-17 | 2 | -2/+16 |
| | | | | is not a local variable. Add a test case. | ||||
* | Use proper value for False | Neal Norwitz | 2004-10-17 | 1 | -1/+1 |
| | |||||
* | Remove unnecessary imports | Neal Norwitz | 2004-10-17 | 1 | -2/+2 |
| | |||||
* | return codes are available on all platforms, not just on Unix | Fredrik Lundh | 2004-10-17 | 1 | -4/+3 |
| | |||||
* | release shenanigans | Anthony Baxter | 2004-10-15 | 1 | -0/+6 |
| | |||||
* | make sure to check for this limit even if we're running with -O | Fredrik Lundh | 2004-10-15 | 1 | -2/+4 |
| | |||||
* | SF bug #1046855: httplib index out of range | Raymond Hettinger | 2004-10-14 | 1 | -1/+1 |
| | |||||
* | Patch 1046644 - improved distutils support for SWIG. | Anthony Baxter | 2004-10-14 | 3 | -5/+29 |
| | |||||
* | remove_stderr_debug_decorations(): Always try the substitution. Else | Tim Peters | 2004-10-14 | 1 | -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, but | Neal Norwitz | 2004-10-14 | 1 | -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öwis | 2004-10-13 | 1 | -1/+1 |
| | |||||
* | Replace dynamic try/except with "if 0", to keep py2exe happy. If you | Fredrik Lundh | 2004-10-13 | 1 | -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 in | Anthony Baxter | 2004-10-13 | 1 | -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 containing | Jim Fulton | 2004-10-13 | 3 | -3/+26 |
| | | | | non-ascii characters. | ||||
* | oops. how did _that_ happen? | Anthony Baxter | 2004-10-13 | 1 | -0/+1 |
| | |||||
* | Backing out the basic dependency checking (from pycon sprint). | Anthony Baxter | 2004-10-13 | 5 | -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, where | Fredrik Lundh | 2004-10-13 | 1 | -2/+4 |
| | | | | it's rather expensive to create new processes. | ||||
* | normalize case when comparing directory names (problem reported by | Fredrik Lundh | 2004-10-13 | 1 | -1/+2 |
| | | | | "Khalid A. B." on python-dev) | ||||
* | removed info@pythonware.com reference | Fredrik Lundh | 2004-10-13 | 1 | -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öwis | 2004-10-13 | 1 | -0/+1 |
| | |||||
* | New helper remove_stderr_debug_decorations(). This test passes in a | Tim Peters | 2004-10-13 | 1 | -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 Peters | 2004-10-13 | 2 | -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 middle | Tim Peters | 2004-10-13 | 1 | -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 the | Tim Peters | 2004-10-13 | 1 | -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 Peters | 2004-10-13 | 1 | -23/+42 |
| | |||||
* | XXX about extreme expense of test_no_leaking() on Windows. I'm not sure | Tim Peters | 2004-10-13 | 1 | -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 unittest | Tim Peters | 2004-10-12 | 1 | -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 Peters | 2004-10-12 | 1 | -43/+67 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2004-10-12 | 4 | -47/+43 |
| | |||||
* | Improvements when running pdb as a script. | Johannes Gijsbers | 2004-10-12 | 1 | -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 fix | Andrew M. Kuchling | 2004-10-12 | 1 | -1/+1 |
| | |||||
* | Added Peter Astrand's subprocess module. | Fredrik Lundh | 2004-10-12 | 3 | -0/+1657 |
| | |||||
* | Don't use mutable values for method defaults. | Raymond Hettinger | 2004-10-12 | 1 | -2/+6 |
| | |||||
* | Document that on Unix, the 'cmd' argument to the os.popen2/3/4 and | Johannes Gijsbers | 2004-10-11 | 2 | -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. Hudson | 2004-10-11 | 1 | -1/+6 |
| | | | | [ 1042238 ] Lib/compiler chokes on certain genexps | ||||
* | Open source files in universal newlines mode. | Michael W. Hudson | 2004-10-11 | 1 | -1/+1 |
| | |||||
* | Added a usegmt flag to email.Utils.formatdate - this allows it to be | Anthony Baxter | 2004-10-11 | 4 | -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 bump | Barry Warsaw | 2004-10-09 | 1 | -1/+1 |
| | | | | email's version number to 3.0b1. | ||||
* | Fix SF bug # 1030941. In _parsegen(), in the clause where we're | Barry Warsaw | 2004-10-09 | 1 | -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 Warsaw | 2004-10-09 | 1 | -0/+20 |
| | |||||
* | test_missing_start_boundary(): A test for SF bug # 1030941. | Barry Warsaw | 2004-10-09 | 1 | -0/+15 |
| |