summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Marc-Andre Lemburg: include unicodeobject.h and codecs.hGuido van Rossum2000-03-101-0/+2
|
* Marc-Andre Lemburg: add PyExc_UnicodeErrorGuido van Rossum2000-03-101-0/+1
|
* Unicode implementation by Marc-Andre Lemburg based on original code by ↵Guido van Rossum2000-03-101-0/+754
| | | | Fredrik Lundh.
* Python Codec Registry and support functions, by Marc-Andre Lemburg.Guido van Rossum2000-03-101-0/+55
|
* Part of the Unicode checkin for Marc-Andre Lemburg.Guido van Rossum2000-03-104-264/+742
| | | | Some new configuration tests and a new option, --with-wctype-functions.
* Catch up with change to CCompiler API: call 'create_static_lib()', notGreg Ward2000-03-101-3/+3
| | | | 'link_static_lib()'.
* [from 2000-02-25] Second attempt at describing an installation scheme; this isGreg Ward2000-03-101-365/+141
| | | | | the simplified scheme that Guido proposed. Also already-obsolete, and saved only for posterity.
* [from 2000-02-23] Description of the baroque and already-obsoleteGreg Ward2000-03-101-0/+534
| | | | | installation scheme that Fred Drake and I cooked up. Only saved for posterity.
* Renamed 'link_static_lib() to 'create_static_lib()', and rewrote it createGreg Ward2000-03-101-25/+15
| | | | | a static library (using lib.exe as found by '__init__()', hopefully through registry entries pointing to DevStudio).
* Renamed 'link_static_lib() to 'create_static_lib()'.Greg Ward2000-03-102-18/+19
|
* a simple client-server framework for executing code in a differentJeremy Hylton2000-03-091-0/+343
| | | | | | process not yet connected with IDLE
* There are a few places which can raise DistutilsPlatformError; makeFred Drake2000-03-091-41/+54
| | | | | | | | | | | sure it's imported! ;) Re-wrap the docstrings on get_python_inc() and get_python_lib() to be closer to the "normal" Python style. See GvR's "style guide" on the essays page (http://www.python.org/doc/essays/). There should never be a space between a function name and the '(' that opens the argument list (see the style guide again).
* Added Joe Van Andel's 'get_python_inc()', adapted by me to supplyGreg Ward2000-03-091-15/+80
| | | | | | | | | the platform-neutral include dir by default and with Mac support. Added 'get_python_lib()', inspired by 'get_python_inc()'. Rewrote 'get_config_h_filename()' and 'get_makefile_filename()' in terms of 'get_python_inc()' and 'get_python_lib()'. Changed '_init_nt()' and '_init_mac()' to use 'get_python_inc()' and 'get_python_lib()' for directory names.
* Handles were never disposed. Added an AutoDispose(onoff) method to control this.Jack Jansen2000-03-083-10/+143
| | | | Also added a Handle() function which is like Resource() but has auto-dispose on by default.
* A bunch of changes, primarily to command line argument parsingBarry Warsaw2000-03-081-64/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (inspired by Detlef Lannert). Specifically, -k/--keyword no longer takes an optional argument to clear the default keywords. Instead, use -K/--no-default-keywords to clear them. -n/--add-location also no longer takes an optional argument to set the comment style. Instead, use -S/--style to set the comment style to GNU or Solaris. -o/--output can take `-' as the filename, meaning write to standard output. The inputfile name can also be `-' meaning read from standard in. A few other changes include Kludge to mark the file docstring as translatable. Since the marking is to place _() around the docstring, and because we actually have to define the _() function before we use it, this means that we have to manually assign to __doc__ the output of _(). This doesn't seem too bad because you'll only use this idiom when translating a script's docstring (you really don't need to translate most module docstrings). Convert everything to string methods and do not import the string module. Bump the version number to 1.1
* Fixed multi-arg appends.Jack Jansen2000-03-0712-14/+15
|
* Override the Undo delegator to forbid any changes before the I/O mark.Guido van Rossum2000-03-071-0/+24
| | | | | It beeps if you try to insert or delete before the "iomark" mark. This makes the shell less confusing for newbies.
* replace : with =Jeremy Hylton2000-03-071-2/+2
|
* rename the global IdleConfParser object from IdleConf to idleconfJeremy Hylton2000-03-071-4/+4
| | | | standard usage is now from IdleConf import idleconf
* rename the global IdleConfParser object from IdleConf to idleconfJeremy Hylton2000-03-075-48/+40
| | | | | | standard usage is now from IdleConf import idleconf replace : with = in config.txt
* Tweak the goto file/line command (in the right button menu in PyShellGuido van Rossum2000-03-071-14/+25
| | | | | | | | | | | | | and output windows) so that it if it doesn't succeed with the line at the cursor, it tries the line before that. This is handy with tracebacks, where my natural tendency is to click in the displayed source line rather than in the file/line indicator just above it. Now I can indulge this tendency. I factored out a helper and changed the error handling so that a non-existing file is treated as if the line didn't match -- this is handy because some function calls (e.g. "foo.bar(1)") match the grep pattern.
* Patch by Moshe Zadka: remove the string special case inGuido van Rossum2000-03-071-18/+0
| | | | | PySequence_Contains() now that string objects have this code in their tp_contains.
* Patch by Moshe Zadka: move the string special case from abstract.cGuido van Rossum2000-03-071-0/+22
| | | | | | here. [Patch modified by GvR to keep the original exception.]
* Add tests for char in string -- including required exceptions forGuido van Rossum2000-03-071-0/+23
| | | | non-char in string.
* Sjoerd Mullender:Guido van Rossum2000-03-071-1/+1
| | | | | The (relatively) new chunk module uses seek, not setpos. One instance of the call still needed to be fixed.
* Added a bunch of TODO items that recently came up in the idle-dev list.Guido van Rossum2000-03-071-40/+94
| | | | Also removed a bunch of items
* If we're in the current input and there's only whitespace beyond theGuido van Rossum2000-03-071-0/+5
| | | | | | | cursor, erase that whitespace first. This avoids a particularly confusing case where hitting Return at the end of the command didn't do what it was expected to do -- because it wasn't considered to be at the end of the command. Now it is.
* Fixed inet_ntoa() docstring.Fred Drake2000-03-071-1/+1
|
* Patch from Corran Webster <cwebster@nevada.edu> (tweaked for style by me):Greg Ward2000-03-071-0/+11
| | | | changed 'copy_file()' to use the native Mac file copy routine.
* Patch from Corran Webster <cwebster@nevada.edu>: add '_init_mac()'.Greg Ward2000-03-071-0/+22
|
* Added 'native_path()' for use on pathnames from the setup script: split onGreg Ward2000-03-071-0/+28
| | | | slashes, and put back together again using the local directory separator.
* Added '_nt_quote_args()' to deal with whitespace in command-line argumentsGreg Ward2000-03-071-5/+22
| | | | in a rather half-assed, but probably effective, way.
* test_contains outputGuido van Rossum2000-03-061-0/+1
|
* Test cases for __contains__ code, by Moshe Zadka.Guido van Rossum2000-03-061-0/+41
|
* Sjoerd Mullender:Guido van Rossum2000-03-061-15/+21
| | | | | | | When you set a breakpoint on a function with a multi-line argument list, the breakpoint is actually set on the second line of the arguments instead of the first line of the body. This patch fixes that.
* compiler command-line interface moved here from compiler.pycodegenJeremy Hylton2000-03-061-0/+25
|
* import compile function form pycodegenJeremy Hylton2000-03-062-0/+8
|
* rename compile.py to pycodegen.pyJeremy Hylton2000-03-062-352/+50
| | | | | | | | | | fix imports remove parse functions and visitor code track name change: Classdef to Class add some comments and tweak order of visitXXX methods get rid of if __name__ == "__main__ section
* add a doc stringJeremy Hylton2000-03-062-0/+40
| | | | import some useful functions from contained modules
* fix import to refer to compiler packageJeremy Hylton2000-03-062-2/+2
|
* revise arguments for addCode method on lnotab. take several numbersJeremy Hylton2000-03-062-20/+26
| | | | that are internally converted to chars, rather than taking a string.
* change node Classdef to ClassJeremy Hylton2000-03-064-48/+50
| | | | | | | add doc string to transformer module add two helper functions: parse(buf) -> AST parseFile(path) -> AST
* factor out the tree walking/visitor code that was in compile.pyJeremy Hylton2000-03-062-0/+254
|
* Defer all the work to idle.py, which has recently become tooGuido van Rossum2000-03-061-2/+1
| | | | complicated to copy in-line here.
* Allow None as TimeBase value in TimeValue records (becomes NULL in C structure,Jack Jansen2000-03-062-10/+26
| | | | used for delta-t values by quicktime).
* string_join(): Fix memory leaks discovered by Charles Waldman (and aBarry Warsaw2000-03-061-5/+15
| | | | few other paths through the function that leaked).
* In getdef(), don't die when the section doesn't exist.Guido van Rossum2000-03-061-2/+2
|
* Don't use 1.6-isms (s.startswith()) -- we want to distribute thisGuido van Rossum2000-03-062-4/+4
| | | | before 1.6 is out so it has to be compatible with 1.5.2.
* Rewrote 'newer_pairwise(): more natural (and incompatible) interface,Greg Ward2000-03-061-12/+13
| | | | simpler implementation.
* Serious overhaul of the C compiler interface and the two classes thatGreg Ward2000-03-063-362/+400
| | | | | | | | | | | | implement it (so far): * moved filename generation methods into CCompiler base class, driven by data supplied by implementation classes * moved a bunch of common code from UnixCCompiler to convenience methods in CCompiler * overhauled MSVCCompiler's compile/link methods to look and act as much as possible like UnixCCompiler's, in order to regularize both interface and behaviour (especially by using those new convenience methods)