Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Missing parenthesis. | Raymond Hettinger | 2003-05-16 | 1 | -1/+1 |
| | |||||
* | Added some missing PyObject* casts in the deallocators. | Jim Fulton | 2003-05-16 | 3 | -2/+11 |
| | | | | | | | Added some defines for PyMODINIT_FUNC so that the examples work with Python 2.2. I think I'm done hacking this documentation. Yippie! :) | ||||
* | Added a missing PyObject* cast to the dealloc examples. | Jim Fulton | 2003-05-16 | 1 | -2/+10 |
| | | | | | Added a note that the mechanism for defining new tyoes documented here only works for Python 2.2 and higher. | ||||
* | Removed the out of date and no-longer-referenced xxobject.c example | Jim Fulton | 2003-05-16 | 1 | -108/+0 |
| | | | | | type implementation. Note that this same example lives in Modules/xxmodule.c. (It is just as out of date there.) | ||||
* | Removed reference to the out-of-date (and not very useful) | Jim Fulton | 2003-05-16 | 1 | -23/+9 |
| | | | | | | | Objects/xxobject.c example. Updated the discussion of type checking to refer to PyObject_TypeCheck. | ||||
* | Patch #738325: Install optimized idlelib files. | Martin v. Löwis | 2003-05-16 | 1 | -0/+1 |
| | |||||
* | * Added file globbing to make it easier to check many LaTeX files. | Raymond Hettinger | 2003-05-16 | 1 | -39/+60 |
| | | | | | | | * Delimiter mismatch now prints a warning instead of raising an exception. * Offer style warnings for use of e.g. and i.e. * Bypass false positive warnings for forward slashes in urls and in /rfc822. * Put non-LaTex delimiter matching first to make -d option more reliable. | ||||
* | More fixes according to SF 549151: | Guido van Rossum | 2003-05-16 | 2 | -4/+13 |
| | | | | | | | | - When redirecting, always use GET. This is common practice and more-or-less sanctioned by the HTTP standard. - Add a handler for 307 redirection, which becomes an error for POST, but a regular redirect for GET and HEAD. | ||||
* | Add docs for MessageBeep. | Guido van Rossum | 2003-05-16 | 1 | -0/+30 |
| | |||||
* | Don't replace an empty line with "pass" when symbol == "eval", where | Guido van Rossum | 2003-05-16 | 1 | -1/+2 |
| | | | | | "pass" isn't valid syntax. Reported by Samuele Pedroni on python-dev (May 12, 2003). | ||||
* | 1. When a module is run from an EditorWindow, if its directory is not in | Kurt B. Kaiser | 2003-05-15 | 2 | -5/+19 |
| | | | | | | | | | | | | | | sys.path, prepend it. This allows the module to import other modules in the same directory. Do the same for a script run from the command line. 2. Tweak the IDLE usage message a bit more. SF Bug 706860 (closed) SF Patch 686254 (reject specific solution) SF Patch 507327 (similar) M PyShell.py M ScriptBinding.py | ||||
* | 1. Add a command line switch to run without the subprocess | Kurt B. Kaiser | 2003-05-15 | 2 | -18/+33 |
| | | | | | | | | | | 2. Remove the shell menu and associated bindings when running without the subprocess. 3. Update the IDLE Help and usage text. 4. Update display_port_binding_error to suggest using -n M PyShell.py M help.txt | ||||
* | 1. Make the startup more robust by not spawning the subprocess if IDLE | Kurt B. Kaiser | 2003-05-15 | 1 | -6/+3 |
| | | | | | can't acquire the port to listen on. 2. Shorten the retry and simplify the messages. | ||||
* | 1. Restore the capability to run and debug without a subprocess. | Kurt B. Kaiser | 2003-05-15 | 3 | -54/+98 |
| | | | | | | | | | | | | | | | | | 2. Add an indicator to the shell startup notice when running w/o subprocess. 3. Improve exception reporting when running a command or script from the command line. 4. Clarify the fact that breakpoints set or cleared after a file is saved will revert to the saved state if the file is closed without re-saving. 5. If user tries to exit or restart when user code is running, interrupt the user code. This helps to eliminate occasional hanging subprocesses on Windows (except for Freddy :). M NEWS.txt M PyShell.py M ScriptBinding.py | ||||
* | DB.remove() needs to set the internal DB handle to NULL after being called. | Gregory P. Smith | 2003-05-15 | 1 | -4/+1 |
| | | | | | | | (sourceforge pybsddb bug #737970). Also: don't allow other threads to run during calls that invalidate the DB handle. | ||||
* | Restore Python 1.5.2 compatibility. | Marc-André Lemburg | 2003-05-14 | 1 | -1/+1 |
| | |||||
* | Forward slash warnings now only occur for potentially valid LaTeX commands. | Raymond Hettinger | 2003-05-14 | 1 | -8/+8 |
| | | | | (Idea contributed by Anthony Baxter.) | ||||
* | On Windows the subprocess was not exiting during a restart. | Kurt B. Kaiser | 2003-05-14 | 1 | -0/+2 |
| | | | | | | | | | | | This bug, henceforth designated Freddy, was due to the mistaken elimination of the KeyboardInterrupt exception at the previous revision. PyShell's unix_terminate hammer was masking the problem on Linux. On W2K the subprocess MainThread was trying to print the exception after the SockThread had ceased to service the socket. The subprocess would then detach and spin when the GUI created the new subprocess. Modified Files: run.py | ||||
* | defer re module imports to help improve interpreter startup | Skip Montanaro | 2003-05-14 | 1 | -1/+4 |
| | |||||
* | [Bug #471893] Replace security material with a warning against unpickling | Andrew M. Kuchling | 2003-05-14 | 2 | -74/+31 |
| | | | | untrusted data. | ||||
* | document Stats.dump_stats(), new for Python 2.3 | Fred Drake | 2003-05-14 | 1 | -0/+8 |
| | |||||
* | - add a dump_stats() method similar to that of the profile.Profile class | Fred Drake | 2003-05-14 | 1 | -2/+10 |
| | | | | - don't use "file" as the name of local variables | ||||
* | When an external application we use exits normally, exit with the same | Fred Drake | 2003-05-14 | 1 | -2/+4 |
| | | | | | | exit code they returned. All other types of exit from child processes are normalized to a return code of 1. Closes SF bug #732143. | ||||
* | Fleshed out tests for urllib requiring a network connection. | Brett Cannon | 2003-05-14 | 1 | -3/+123 |
| | |||||
* | Call time.tzset (if available) just before calculating possible timezones ↵ | Brett Cannon | 2003-05-13 | 1 | -0/+4 |
| | | | | from time.tzname. | ||||
* | Fix use of 'file' as a variable name. | Andrew M. Kuchling | 2003-05-13 | 16 | -107/+108 |
| | | | | (I've tested the fixes, but please proofread anyway.) | ||||
* | Add optional 'onerror' argument to os.walk(), to control error | Guido van Rossum | 2003-05-13 | 3 | -4/+24 |
| | | | | handling. | ||||
* | Prevent script from allowing '-r12' | Andrew M. Kuchling | 2003-05-13 | 1 | -1/+1 |
| | |||||
* | Rename sum5.py to md5sum.py, because sum5.py is more interesting | Andrew M. Kuchling | 2003-05-13 | 2 | -110/+81 |
| | | | | as an example program | ||||
* | Don't use 'file' as a variable name | Andrew M. Kuchling | 2003-05-13 | 1 | -24/+17 |
| | | | | | Modernize the code a bit Add docstring | ||||
* | [Bug #724767] Avoid use of 'file' as a variable name | Andrew M. Kuchling | 2003-05-13 | 1 | -7/+7 |
| | |||||
* | 1. The command-line arguments for subprocesses no longer need to be | Tony Lownds | 2003-05-13 | 4 | -64/+35 |
| | | | | | | | specialized for Mac OS X. 2. buildapp.py - a new file for building an application icon for IDLE on Mac OS X. See INSTALL.txt | ||||
* | [Bug #713722] Delete dangling references to unwritten sections | Andrew M. Kuchling | 2003-05-13 | 1 | -5/+2 |
| | |||||
* | [Bug #724767] crlf.py uses the variable name file, which it shouldn't anymore. | Andrew M. Kuchling | 2003-05-13 | 1 | -7/+7 |
| | |||||
* | [Bug #732124] Clarify .pos, .endpos by saying 'method' instead of 'function' | Andrew M. Kuchling | 2003-05-13 | 1 | -18/+19 |
| | | | | Also, put match() description before search(); search() refers to match() | ||||
* | Remove more markup from headers | Andrew M. Kuchling | 2003-05-13 | 2 | -4/+4 |
| | |||||
* | [Bug #729297] Remove markup in section headers | Andrew M. Kuchling | 2003-05-13 | 1 | -3/+3 |
| | |||||
* | [Bug #729817] Document the rexec and Bastion modules as dead | Andrew M. Kuchling | 2003-05-13 | 3 | -19/+17 |
| | |||||
* | Fix typo | Andrew M. Kuchling | 2003-05-13 | 1 | -1/+1 |
| | |||||
* | Fixed test_anydbm_creates to use proper paths for the created db. | Brett Cannon | 2003-05-13 | 1 | -5/+11 |
| | | | | Made some stylistic fixes. | ||||
* | Fix and add reference to urllib.urlencode for parse_qsl? functions. | Brett Cannon | 2003-05-13 | 1 | -1/+5 |
| | |||||
* | * Added separate checks for matching braces. | Raymond Hettinger | 2003-05-12 | 1 | -6/+27 |
| | | | | | | * Added more LaTex cmds from the docs. * Blocked forward-slash warnings with delimiters-only option. * Put help message on shorter line to fit an 80 char screen. | ||||
* | John J. Lee contributed two urllib2 patches. | Brett Cannon | 2003-05-12 | 1 | -0/+1 |
| | |||||
* | Fix broken API descriptions in comments. | Fred Drake | 2003-05-12 | 1 | -8/+7 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2003-05-12 | 7 | -25/+24 |
| | |||||
* | Effectively renamed tokenize_tests.py to have a txt extension instead. | Tim Peters | 2003-05-12 | 3 | -1/+7 |
| | | | | | | | | | This file isn't meant to be executed, it's data input for test_tokenize.py. The problem with the .py extension is that it uses "non-standard" indentation, and it's good to test that, but reindent.py keeps wanting to fix it. But fixing the indentation causes the expected-output file to change, since exact line and column numbers are part of the tokenize.tokenize() output getting tested. | ||||
* | Close the file after tokenizing it. Because the open file object was | Tim Peters | 2003-05-12 | 1 | -2/+5 |
| | | | | | bound to a module global, the file object remained opened throughout the test suite run. | ||||
* | cmp_type(): The grammar stopped allowing '=' as a comparison operator | Tim Peters | 2003-05-12 | 1 | -3/+2 |
| | | | | | about a decade ago. Put the code still allowing for it in cmp_type() out of its lonely misery. | ||||
* | Updated simple example. This should have been checked in the other | Jim Fulton | 2003-05-12 | 1 | -45/+45 |
| | | | | day, but I missfired in CVS. | ||||
* | Add a specific mention of the term "operator overloading" and add an | Fred Drake | 2003-05-12 | 1 | -1/+4 |
| | | | | index entry. Suggested to python-docs. |