Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Wrap long lines. | Tim Peters | 2004-10-12 | 1 | -43/+67 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2004-10-12 | 4 | -47/+43 |
| | |||||
* | Supply the _subprocess module under 7.1. I'm not sure what the status | Tim Peters | 2004-10-12 | 2 | -0/+6 |
| | | | | of this should be on non-WIN32 Windows variants. | ||||
* | Before this turns into an unreadable mess, follow PEP 7 by using | Tim Peters | 2004-10-12 | 1 | -315/+340 |
| | | | | hard tab indents in C code. | ||||
* | 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 |
| | |||||
* | Finish off PEP 324 section; fix Peter's last name | Andrew M. Kuchling | 2004-10-12 | 1 | -3/+69 |
| | |||||
* | Start section for PEP 324 | Andrew M. Kuchling | 2004-10-12 | 1 | -0/+22 |
| | |||||
* | Fix PEP number | Andrew M. Kuchling | 2004-10-12 | 1 | -1/+1 |
| | |||||
* | Added Peter Astrand's subprocess module. | Fredrik Lundh | 2004-10-12 | 5 | -0/+2170 |
| | |||||
* | Don't use mutable values for method defaults. | Raymond Hettinger | 2004-10-12 | 1 | -2/+6 |
| | |||||
* | Add two items | Andrew M. Kuchling | 2004-10-11 | 1 | -0/+14 |
| | |||||
* | Document that on Unix, the 'cmd' argument to the os.popen2/3/4 and | Johannes Gijsbers | 2004-10-11 | 4 | -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. 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 note about the new usegmt argument to email.Utils.formatdate(). | Barry Warsaw | 2004-10-11 | 1 | -0/+1 |
| | |||||
* | Added a usegmt flag to email.Utils.formatdate - this allows it to be | Anthony Baxter | 2004-10-11 | 5 | -7/+28 |
| | | | | | used to replace rfc822.formatdate for protocols like HTTP (where 'GMT' must be the timezone string). | ||||
* | SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by Nick | Tim Peters | 2004-10-11 | 7 | -10/+24 |
| | | | | | Coghlan, for determining whether PyEval_InitThreads() has been called. Also purged the undocumented+unused _PyThread_Started int. | ||||
* | Revert rev 2.35. It was based on erroneous reasoning -- the current | Tim Peters | 2004-10-10 | 1 | -15/+8 |
| | | | | | | | thread's id can't get duplicated, because (of course!) the current thread is still running. The code should work either way, but reverting the gratuitous change should make backporting easier, and gets the bad reasoning out of 2.35's new comments. | ||||
* | PyInterpreterState_New(), PyThreadState_New(): use malloc/free directly. | Tim Peters | 2004-10-10 | 2 | -4/+26 |
| | | | | | | This appears to finish repairs for SF bug 1041645. This is a critical bugfix. | ||||
* | find_key(): This routine wasn't thread-correct, and accounts for the | Tim Peters | 2004-10-10 | 2 | -5/+22 |
| | | | | | | release-build failures noted in bug 1041645. This is a critical bugfix. I'm not going to backport it, though (no time). | ||||
* | PyGILState_Release(): If we need to delete the TLS entry for this thread, | Tim Peters | 2004-10-09 | 1 | -8/+15 |
| | | | | | that must be done under protection of the GIL, for reasons explained in new comments. | ||||
* | 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 |
| | |||||
* | _PyGILState_Init(), PyGILState_Ensure(): Since PyThread_set_key_value() | Tim Peters | 2004-10-09 | 1 | -2/+5 |
| | | | | | | | | | can fail, check its return value, and die if it does fail. _PyGILState_Init(): Assert that the thread doesn't already have an association for autoTLSkey. If it does, PyThread_set_key_value() will ignore the attempt to (re)set the association, which the code clearly doesn't want. | ||||
* | Document the results of painful reverse-engineering of the "portable TLS" | Tim Peters | 2004-10-09 | 1 | -6/+84 |
| | | | | | | | | | code. PyThread_set_key_value(): It's clear that this code assumes the passed-in value isn't NULL, so document that it must not be, and assert that it isn't. It remains unclear whether existing callers want the odd semantics actually implemented by this function. | ||||
* | Fix for SF bug # 1010102. The default is PureProxy not SMTPProxy. | Barry Warsaw | 2004-10-09 | 1 | -1/+1 |
| | |||||
* | __init__(): Coerce the input_charset to unicode (with ascii encoding) before | Barry Warsaw | 2004-10-09 | 1 | -2/+3 |
| | | | | | | calling .lower() on it. This fixes the problem described in SF patch # 866982 where in the tr_TR.ISO-8859-9 locale, 'I'.lower() isn't 'i'. unicodes are locale insensitive. | ||||
* | Style guide & consistency changes. No semantic changes. | Tim Peters | 2004-10-09 | 2 | -29/+41 |
| | |||||
* | Trim trailing whitespace. | Tim Peters | 2004-10-09 | 1 | -8/+8 |
| | |||||
* | Simplify delitem() code by calling rotate() directly instead of using | Raymond Hettinger | 2004-10-09 | 1 | -35/+23 |
| | | | | arguments passed through tuples. | ||||
* | Patch #1042969: add closing brace for \token {generator_expression}. Thanks | Johannes Gijsbers | 2004-10-09 | 1 | -1/+1 |
| | | | | George Yoshida! | ||||
* | SF patch #1043218 | Raymond Hettinger | 2004-10-09 | 1 | -52/+39 |
| | | | | | Simplify internal calls and logic for _fix() and _fixexponents(). (Contributed by Facundo Batista.) | ||||
* | [Bug #1022311] curses module uses y,x ordering of arguments, not x,y | Andrew M. Kuchling | 2004-10-08 | 1 | -5/+5 |
| | |||||
* | [Bug #1041501] Fix example code | Andrew M. Kuchling | 2004-10-08 | 1 | -1/+1 |
| | |||||
* | [Bug #1031897] Fix order of decorator application | Andrew M. Kuchling | 2004-10-08 | 1 | -3/+3 |
| | |||||
* | Fix bug in _checkquote that raised an exception on empty "arg". | Piers Lauder | 2004-10-08 | 1 | -2/+2 |
| | |||||
* | SF patch #1041364: True/False instead of 1/0 in libstdtypes.tex | Raymond Hettinger | 2004-10-08 | 1 | -3/+3 |
| | | | | (Contributed by Gerrit Holl. Reviewed by Jeff Epler.) | ||||
* | Rewrite rmtree using os.walk to fix bug #1025127: | Johannes Gijsbers | 2004-10-07 | 1 | -15/+15 |
| | | | | | | | The shutils.rmtree() implementation uses an excessive amount of memory when deleting large directory hierarchies. Before actually deleting any files, it builds up a list of (function, filename) tuples for all the files that it is going to remove. | ||||
* | This is Michiel de Hoon's patch, as attached to the bug report: | Michael W. Hudson | 2004-10-07 | 1 | -7/+13 |
| | | | | | | [ 1030629 ] PyOS_InputHook broken with a couple of utterly inconsequential changes by me. | ||||
* | Add helpful comment | Andrew M. Kuchling | 2004-10-07 | 1 | -0/+4 |
| | |||||
* | Take out Guido's name and put in the PSF | Andrew M. Kuchling | 2004-10-07 | 1 | -7/+1 |
| | |||||
* | Update two URLs | Andrew M. Kuchling | 2004-10-07 | 1 | -2/+2 |
| | |||||
* | Add -m to man page | Andrew M. Kuchling | 2004-10-07 | 1 | -0/+11 |
| | |||||
* | Add item | Andrew M. Kuchling | 2004-10-07 | 1 | -0/+6 |
| | |||||
* | SF patch #1035498: -m option to run a module as a script | Raymond Hettinger | 2004-10-07 | 5 | -11/+109 |
| | | | | (Contributed by Nick Coghlan.) | ||||
* | Finalize the freelist of list objects. | Raymond Hettinger | 2004-10-07 | 3 | -0/+15 |
| | |||||
* | Fix bug introduced by the previous patch by changing TimeRE.__seqToRe() to | Brett Cannon | 2004-10-06 | 1 | -2/+1 |
| | | | | accept any iterable instead of only a sliceable object. |