summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed parameters to a few time and timebase calls: InOut parameters wereJack Jansen2000-03-032-12/+25
| | | | inadvertantly seen as out-only.
* Added PutPixMapBytes() and GetPixMapBytes() functions that allow getting atJack Jansen2000-03-032-0/+96
| | | | | | pixmap data. Added an as_GrafPort() method to be able to use a GWorld as argument to routines that expect a GrafPort.
* Added methods getdata() and putdata() to obtain the data in a bitmap.Jack Jansen2000-03-032-0/+68
|
* Patch by Tim Peters:Guido van Rossum2000-03-031-9/+11
| | | | | | | | | | | | | | | | Changes the one regexp in PyParse capable of making the re module blow the C stack when passed unreasonable <0.9 wink> program text. Jeremy Hylton provoked this with a program of the form: x = (1, 2, ... # 9997 lines deleted here 10000, ) Programs "like this" will no longer (no matter how many lines they contain) trigger re death. OTOH, you can now make another class of unreasonable program that will take much longer to parse.
* Typo fix.Greg Ward2000-03-031-1/+1
|
* Fixed 'mkpath()' to accept empty string silently (it's just the current dir).Greg Ward2000-03-031-9/+11
| | | | Fixed all DistutilsFileError messages to wrap file/dir names in quotes.
* paren matching extension. warning: in current version of IDLE, canJeremy Hylton2000-03-021-0/+193
| | | | not run this extension and CallTips extension at the same time.
* A module to parse/generate MediaDescription handles as used by QuickTime. OnlyJack Jansen2000-03-021-0/+97
| | | | generic, video and audio implemented for now.
* Mark discovered a bug in his patch: he didn't *use* PyExc_WindowsErrorGuido van Rossum2000-03-021-1/+1
| | | | in PyErr_SetFromWindowsErrWithFilename() like he intended to... :-)
* Renamed 'build_lib' command to 'build_clib':Greg Ward2000-03-024-209/+7
| | | | | | * replaced build_lib.py with build_clib.py * renamed the class in build_clib.py * changed all references to 'build_lib' command in other command classes
* Changed '__rcsid__' to '__revision__'.Greg Ward2000-03-0220-20/+20
|
* If the "build_lib" command built any C libraries, link with them allGreg Ward2000-03-021-3/+12
| | | | | | | when building extensions (uses build_lib's 'get_library_names()' method). Ensure that the relative structure of source filenames is preserved in the temporary build tree, eg. foo/bar.c compiles to build/temp.<plat>/foo/bar.o.
* Added command description.Greg Ward2000-03-022-28/+96
| | | | | | | | | | | | Added 'build_clib' and 'build_temp' options (where to put C libraries and where to put temporary compiler by-products, ie. object files). Moved the call to 'check_library_list()' from 'run()' to 'finalize_options()' -- that way, if we're going to crash we do so earlier, and we guarantee that the library list is valid before we do anything (not just run). Disallow directory separators in library names -- the compiled library always goes right in 'build_clib'. Added 'get_library_names()', so the "build_ext" command knows what libraries to link every extension with.
* In the 'compile()' method: preserve the directory portion of sourceGreg Ward2000-03-021-2/+7
| | | | | | filenames when constructing object filenames, even if output_dir given -- eg. "foo/bar.c" will compile to "foo/bar.o" without an output_dir, and to "temp/foo/bar.o" if output_dir is "temp".
* Second attempt to fix the ctermid_r/tmpnam_r warnings: define USE_CTERMID_RGreg Ward2000-03-011-3/+13
| | | | | and USE_TMPNAM_R at the top of the file and refer to them later; this catches a second reference to 'tmpnam_r' that I didn't spot first time around.
* Fix compiler warning: only use "_r" form of 'ctermid()' and 'tmpnam()' whenGreg Ward2000-03-011-2/+2
| | | | building a threaded Python.
* Got rid of silly "123456789-..." lines in comments.Guido van Rossum2000-03-015-22/+0
|
* In compile/link methods: ensure that the directory we expect to be writing toGreg Ward2000-03-011-1/+6
| | | | exists before calling the compiler/linker.
* Added 'mkpath()' method: convenience wrapper around 'util.mkpath()' that addsGreg Ward2000-03-011-1/+4
| | | | the compiler objects 'verbose' and 'dry_run' flags.
* Added call to 'ensure_ready()' on the command object inGreg Ward2000-03-011-0/+1
| | | | 'Distribution.find_command_obj()'.
* Added 'get_platform()' to construct a string that identifies the currentGreg Ward2000-03-011-1/+19
| | | | platform, using 'os.uname()' or 'sys.platform'.
* Build reorg:Greg Ward2000-03-011-16/+41
| | | | | | | | | | | | | | * 'build_dir' -> 'build_lib', which by default takes its value straight from 'build_lib' in the 'build' command * added 'build_temp' and 'inplace' options * change 'build_extensions()' to put object files (compiler turds) in 'build_temp' dir * complicated the name-of-extension-file shenanigans in 'build_extensions()' to support "in-place" extension building, i.e. put the extension right into the source tree (handy for developers) * added 'get_ext_fullname()', renamed 'extension_filename()' to 'get_ext_filename()', and tweaked the latter a bit -- all to support the new filename shenanigans
* Build reorg:Greg Ward2000-03-011-12/+43
| | | | | | * 'build_lib' -> 'build_purelib' * new 'build_lib' and 'build_temp' options * use 'get_platform()' to initialize 'build_platlib' and 'build_temp'
* Build reorg: change 'build_dir' option to 'build_lib'.Greg Ward2000-03-011-8/+8
|
* Patch by Fred Gansevles (the module's original author).Guido van Rossum2000-02-292-28/+58
| | | | | | | | | | | This patch fixes 3 small problems. 1) If a map is used which is generated with 'makedbm -a', the trailing '\0' is now handled correctely. 2) The nis.maps() function skipped the first map in the output list. 3) The library '-lnsl' is added in Setup.in (needed on Linux glibc2 and Solaris systems. Maybe on other systems too?) [I note that this still doesn't work when you are using NIS+ --GvR]
* Massive patch by Skip Montanaro to add ":name" to as manyGuido van Rossum2000-02-2937-272/+272
| | | | PyArg_ParseTuple() format string arguments as possible.
* Remove some redundant logic from walk() -- there's no need to checkGuido van Rossum2000-02-291-2/+0
| | | | for "." and "..", since listdir() no longer returns those.
* Correct type error in getopt.error handling code.Guido van Rossum2000-02-291-1/+1
|
* Script by Tim Peters to discover illegal append() calls.Guido van Rossum2000-02-291-0/+168
|
* Fix multi-arg append().Guido van Rossum2000-02-291-1/+1
|
* Update portability information for the spawn*() functions and relatedFred Drake2000-02-291-4/+11
| | | | | constants. Someone will need to fill in information on the spawn*() functions that aren't listed.
* Fix a typo in a commentAndrew M. Kuchling2000-02-291-1/+1
|
* Fix comments relating to the specific regexs used to parse section andFred Drake2000-02-281-2/+2
| | | | option names; errors noted by Greg Stein <gstein@lyra.org>.
* Patch by Piers Lauder, who writes:Guido van Rossum2000-02-281-5/+6
| | | | | | | | This patch is re: Lucas.Dejonge@awtpl.com.au: [Python-bugs-list] imaplib - not complying with RFC (PR#218) Lucas de Jonge reported that the code in imaplib that detects a read-write to read-only change doesn't comply with RFC 2060.
* (Finally!) Changes related to the ConfigParser/INI-file topicsFred Drake2000-02-281-5/+11
| | | | | | | discussed on c.l.py last January. Specifically: - more characters allowed in section & option names - if '=' is used to separate the option & value, the value can be followed by a comment of the form '\s;'
* Drop the support level for stdwin a notch -- the contents ofGuido van Rossum2000-02-281-1/+1
| | | | | | | | | | lib-stdwin is no longer installed. Increase the support level for other obsolete modules a bit: install lib-old by default. It still isn't in the path by default, but at least it's easier to add to your $PYTHONPATH this way. (This makes sense because in 1.6 we're much more aggressive with declaring modules obsolete.)
* Fix use of list.append() with multiple argumentsAndrew M. Kuchling2000-02-281-1/+1
|
* Simple changes by Gerrit Holl - move author acknowledgements out ofGuido van Rossum2000-02-289-43/+46
| | | | docstrings into comments.
* Patch by Mozhe Zadka, for __contains__ (overloading 'in'). This addsGuido van Rossum2000-02-281-0/+56
| | | | | | an instance method instance_contains as sq_contains. It looks for __contains__ and if not found falls back to previous behaviour. Done.
* Patch by Mozhe Zadka, for __contains__ (overloading 'in'). ThisGuido van Rossum2000-02-281-1/+8
| | | | | patches PySequence_Contains() to check for a valid sq_contains field. More to follow.
* Patch by Mozhe Zadka, for __contains__ (overloading 'in'). This addsGuido van Rossum2000-02-281-1/+7
| | | | | | a new proc type (objobjproc), a new slot sq_contains to PySequenceMethods, and a new flag Py_TPFLAGS_HAVE_SEQUENCE_IN to Py_TPFLAGS_DEFAULT. More to follow.
* Patch by Gerrit Holl to avoid doing two stat() calls in a row in walk().Guido van Rossum2000-02-281-1/+2
|
* Fix a typo in Barry's checkin.Guido van Rossum2000-02-271-1/+1
| | | | Reported both by Gerrit Holl and Mark Favas.
* Fixed a multi-arg append() call, discovered by Mark Favas.Guido van Rossum2000-02-271-4/+4
| | | | Also removed some unnecessary backslases (inside parens).
* Two buglet fixes. Peter Funk caught the bug in make_escapes:Barry Warsaw2000-02-271-7/+9
| | | | | | | This will fold all ISO 8859 chars from the upper half of the charset into the lower half, which is ...ummm.... unintened. The second is a typo in the reference to options.escape in main().
* Changes submitted by Peter Funk (some fixes/additions by B.Warsaw) toBarry Warsaw2000-02-261-40/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make pygettext more compatible with GNU xgettext, specifically: Added -E/--escape for allowing pass-thru of iso8859-1 characters above 7 bits. Added -o/--output option for renaming the output file from messages.pot (there's overlap with -d/--default-domain, but GNU xgettext has them both). Added -p/--output-dir for specifying the output directory for messages.pot. Added -V/--version for printing the version number. Added -w/--width for specifying the output page width (this is because now pygettext, like GNU xgettext will put several locations on the same line to cut down on vertical space). Added -x/--exclude-file for specifying a list of strings that are not to be extracted from the input files. Bumped version number to 1.0 Try to import fintl and use fintl.gettext as _ if available. Fall back is to use identity definition of _(). Moved the escape creation to a function make_escapes() so that its behavior can be controlled by the -E option. __openseen(): Support the -x option. write(): Support -w option and vertical space preserving feature. main(): Support new options.
* The "Distributing Python Modules" manual; currently empty (I'll get to itGreg Ward2000-02-261-0/+12
| | | | Real Soon Now(TM).
* Try to deal with pre-1.5.2 IOError exception objects.Greg Ward2000-02-261-2/+6
|
* Unfinished, untested implementation of the lovely baroque installation schemeGreg Ward2000-02-264-183/+118
| | | | | cooked up by Fred Drake and me. Only saved for posterity (whoever posterity is), as it is about to be ditched in favour of GvR's much simpler design.
* Better fix for mpzmodule problem reported by Peter Funk: just useAndrew M. Kuchling2000-02-251-6/+2
| | | | mp_bits_per_limb with GMP 2.0