summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Exception__str__(): In case 1, be sure to decref the tmp localBarry Warsaw2000-07-091-4/+8
| | | | | variable. This crushes another memory leak. Slight rewrite included.
* Use TQSQ (triple quoted single quote) module docstring for betterBarry Warsaw2000-07-091-2/+2
| | | | font-locking. This complets the merge with Mailman's version.
* - changed 1.5 to 2.0 in the help textFredrik Lundh2000-07-091-7/+3
| | | | | | | (the PYTHONHOMEHELP define) - ANSI-fication (patch #100794 by Peter Schneider-Kamp)
* - ANSI-ficationFredrik Lundh2000-07-091-3/+1
| | | | (patch #100805 by Peter Schneider-Kamp)
* Update to use the new standard webbrowser module if available, otherwiseFred Drake2000-07-091-2/+8
| | | | | | | uses the BrowserControl module. BrowserControl is not removed to allow IDLE to be distributed separately and still be used with Python 1.5.2.
* - added popen.popen2/popen3/popen4 support forFredrik Lundh2000-07-092-22/+46
| | | | | | | | | | | | windows. - added optional mode argument to popen2/popen3 for unix; if the second argument is an integer, it's assumed to be the buffer size. - changed nt.popen2/popen3/popen4 return values to match the popen2 module (stdout first, not stdin).
* - added optional bufsize argument to new popen methods.Fredrik Lundh2000-07-091-7/+30
| | | | | for the moment, this argument must be left out or set to -1 (only the default bufsize is supported, that is)
* - merged setlocale and set_locale. the internal setlocaleFredrik Lundh2000-07-091-92/+159
| | | | | | | | | | | | | | | | | | function is overridden by a python version which accepts *either* a string (old behaviour) or a locale tuple. - renamed a few methods (for consistency): get_locale => getlocale get_default_locale => getdefaultlocale set_to_default => resetlocale (!) - the _locale implementation module can now implement an optional _getdefaultlocale function. if that function isn't available, a POSIX-based approach is used (checking LANG and other environment variables, as usual). (patch #100765)
* New module to control Web browsers; see the documentation forFred Drake2000-07-091-0/+229
| | | | more information.
* Make tabnanny happy.Fred Drake2000-07-092-254/+254
| | | | mailbox.py: Convert to 4-space indents.
* needs a spaceGreg Stein2000-07-091-1/+1
|
* ANSI-fication of the sources.Fred Drake2000-07-091-105/+46
|
* ANSI-fication of the sources.Fred Drake2000-07-092-214/+83
|
* - ANSI-ficationFredrik Lundh2000-07-091-5/+1
| | | | (patch #100784 by Peter Schneider-Kamp)
* - ANSI-ificationFredrik Lundh2000-07-091-94/+47
| | | | (patch #100770 by Peter Schneider-Kamp)
* Document addition of webbrowser.pyAndrew M. Kuchling2000-07-091-0/+14
| | | | Mention the ANSIfication of the source.
* - improved os.popen support for windows, based on win32pipeFredrik Lundh2000-07-091-6/+462
| | | | | | | by Bill Tutt. note: to run this on Windows 95/98, you need to have the w9xpopen.exe helper in the same directory as the python DLL.
* Remove setup of HAVE_OLD_CPP; it is no longer used in the Python sources.Fred Drake2000-07-094-455/+451
| | | | | The actual test for it is only commented out in configure.in, so it can be re-enabled if we ever run across the need for it again.
* Remove use of HAVE_OLD_CPP to support non-ANSI preprocessors.Fred Drake2000-07-091-4/+0
|
* Patch from Peter Schneider-Kamp: convert curses module to ANSI prototypes,Andrew M. Kuchling2000-07-091-377/+221
| | | | and substitute the conventional "args" instead of "arg".
* Remove legacy use of __SC__; no longer needed now that ANSI source isFred Drake2000-07-091-4/+0
| | | | the standard for Python implementation.
* - added (long) casts to a couple of Py_BuildValue calls,Fredrik Lundh2000-07-091-7/+7
| | | | | | | | | | just for the sake of it. note that this only covers the unlikely case that size_t is smaller than a long; it's probably more likely that there are platforms out there where size_t is *larger* than a long, and mmapmodule cannot really deal with that today.
* - fixed pointer size test in spawn functions. also addedFredrik Lundh2000-07-091-6/+6
| | | | | | | cast to make sure Py_BuildValue gets the right thing. this change eliminates bogus return codes from successful spawn calls (e.g. 2167387144924954624 instead of 0).
* - win95/98 helper for new os.popen codeFredrik Lundh2000-07-091-0/+60
| | | | | | this should be built as a console application (link with USER32.LIB), and installed in the same directory as the Python DLL.
* Somebody started playing with const, so of course the outcomeTim Peters2000-07-091-8/+8
| | | | | | | | | | | | | was cascades of warnings about mismatching const decls. Overall, I think const creates lots of headaches and solves almost nothing. Added enough consts to shut up the warnings, but this did require casting away const in one spot too (another usual outcome of starting down this path): the function mymemreplace can't return const char*, but sometimes wants to return its first argument as-is, which latter must be declared const char* in order to avoid const warnings at mymemreplace's call sites. So, in the case the function wants to return the first arg, that arg's declared constness must be subverted.
* ANSI-fication of the sources.Fred Drake2000-07-093-252/+102
|
* ANSI-fication of the sources.Fred Drake2000-07-093-60/+22
|
* ANSI-fication of the sources.Fred Drake2000-07-093-79/+33
|
* ANSI-fication of the sources.Fred Drake2000-07-091-27/+10
|
* Remove legacy use of __SC__; no longer needed now that ANSI source isFred Drake2000-07-091-5/+0
| | | | the standard for Python implementation.
* ANSI-fication of the sources.Fred Drake2000-07-092-155/+59
|
* EnvironmentError__init__(): The two case clauses were missingBarry Warsaw2000-07-091-3/+9
| | | | | | | | `break's. This first missing break caused a memory leak when case 3 fell through case 2 in the following example: import os os.chmod('/missing', 0600)
* ANSI-fication of the sources.Fred Drake2000-07-091-98/+48
|
* type_error(): Added "const" to signature to eliminate warning with -Wall.Fred Drake2000-07-091-1/+1
|
* ANSI-fication of the source.Fred Drake2000-07-091-109/+95
| | | | Make the indentation and brace placement internally consistent.
* ANSI-fication of the sources.Fred Drake2000-07-093-360/+135
|
* Remove the only Py_PROTO in the docs.Fred Drake2000-07-091-1/+1
|
* Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.Tim Peters2000-07-0953-304/+296
|
* Get rid of unused vars in builtin_unicode (they were causingTim Peters2000-07-091-2/+0
| | | | legit warnings).
* ANSI-fication and Py_PROTO extermination.Fred Drake2000-07-0910-173/+166
|
* ANSI-fication and Py_PROTO extermination.Fred Drake2000-07-0914-338/+340
|
* ANSI-fication and Py_PROTO extermination.Fred Drake2000-07-0812-174/+176
|
* this one's a bit risky, but I've spent some considerable timeFredrik Lundh2000-07-081-340/+132
| | | | | | | | | | staring at the diffs before checking this one in. let me know asap if it breaks things on your platform. -- ANSI-fying (patch #100763 by Peter Schneider-Kamp, minus the indentation changes and minus the changes the broke the windows build)
* -- ANSI-fying, namesFredrik Lundh2000-07-081-82/+61
| | | | | | | (patch #100762 by Peter Schneider-Kamp, minus the indentation changes) -- added INT_PTR workaround to make it build under VC 5.0
* - removed barry's workaround, to make room forFredrik Lundh2000-07-081-30/+0
| | | | bill's more complete solution.
* - _getdefaultlocale shouldn't accept argumentsFredrik Lundh2000-07-081-8/+11
| | | | - some more spacification...
* - added _getdefaultlocale implementation for WIN32Fredrik Lundh2000-07-081-269/+351
| | | | - ansified, reindentified, spacified, nullified
* - this is a tentative checkin of the #100764 patch (byFredrik Lundh2000-07-081-5/+37
| | | | | | | | Barry Scott). it appears to solve the problem on NT and 2000, but not on Windows 95. in other words, it's better than before, but not per- fect. I'll leave the patch open for now.
* - changed __repr__ to use "unicode escape" encoding for unicodeFredrik Lundh2000-07-081-1/+1
| | | | | strings, instead of the default encoding. (see "minidom" thread for discussion, and also patch #100706)
* ANSI-fication of the sources -- remove Py_PROTO!Fred Drake2000-07-082-35/+39
|