summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change two occurrences of type(x) <> types.CodeType intoGuido van Rossum2000-01-191-2/+2
| | | | | | isinstance(x, types.CodeType). Suggested by Finn Bock.
* Made all textfields in message and question boxes minimal height and ↵Jack Jansen2000-01-182-0/+10
| | | | invisible, and use AutoSizeDialog() and ShowWindow() before doing interaction.
* Fix indentation bug.Greg Ward2000-01-171-2/+2
|
* Catch OSError from 'spawnv()' in '_spawn_nt()'.Greg Ward2000-01-171-5/+12
| | | | Tweaked error messages in '_spawn_posix()'.
* Removed /GD switch -- currently ignored by MSVC.Greg Ward2000-01-171-1/+1
|
* Added compiler flags suggested by Thomas Heller: optimize, use multi-threadedGreg Ward2000-01-171-1/+1
| | | | RT library.
* Added missing import.Greg Ward2000-01-171-8/+23
| | | | Fixed 'make_release_tree()' to copy files if 'os.link()' doesn't exist.
* Added code to use Jim Ahlstrom's zipfile.py module if the external zipGreg Ward2000-01-171-5/+32
| | | | | command wasn't found or failed. (Code supplied by Thomas Heller <thomas.heller@ion-tof.com>.)
* Fix library filename methods -- there is no 'lib' prefix under DOS/Windows.Greg Ward2000-01-171-5/+2
|
* Always run sys.prefix and sys.exec_prefix through 'os.path.normpath()'Greg Ward2000-01-171-4/+4
| | | | before storing or using.
* Ditch unneeded imports.Greg Ward2000-01-171-1/+0
|
* Fix by Nick Russo in processing of timezone in test program; theGuido van Rossum2000-01-171-2/+4
| | | | ParsedDate didn't have the correct day of week.
* According to Ron Bickers, and with apparent approval of ChrisGuido van Rossum2000-01-141-1/+1
| | | | | | Herborth, the code in list2set() that sets max unconditionally to 0 should not be used on BeOS. So be it. Anybody using BeOS, please test!
* - Actually _implemented_ SetFolder()Jack Jansen2000-01-131-3/+27
| | | | | - Fixed StandardPutFile: prompt, default - Check explicitly for userCanceledErr, pass other Nav.error exceptions through.
* Handling of defaultLocation argument was wrong, causing a crash when used. ↵Jack Jansen2000-01-131-1/+16
| | | | Fixed.
* List objects obtained through as_List(resource) are not auto-disposed uponJack Jansen2000-01-132-11/+34
| | | | Python object freeing.
* Get/set sys.path initializer in new appearance way.Jack Jansen2000-01-131-3/+4
|
* Fix a bug in exec_statement() noted incidentally by Tim Peters inGuido van Rossum2000-01-121-20/+13
| | | | | | | | | PR#175 -- when exec is passed a code object, it didn't sync the locals from the dictionary back into their fast representation. Also took the time to remove some repetitive code there and to do the syncing even when an exception is raised (since a partial effect should still be synced).
* The functions asctime() and mktime() are documented to take a 9-tupleGuido van Rossum2000-01-121-4/+10
| | | | | | only. Through some mysterious interaction, they would take 9 separate arguments as well. This misfeature is now disabled (to end a difference with JPython).
* On Linux, one sometimes sees spurious errors after interruptingGuido van Rossum2000-01-121-0/+1
| | | | | previous output. Call clearerr() to prevent past errors affecting our ferror() test later, in PyObject_Print(). Suggested by Marc Lemburg.
* 'newer_group()' can now deal with missing files, in a way specified byGreg Ward2000-01-091-2/+17
| | | | the 'missing' parameter.
* Abstracted '_fix_link_args()' out of 'link_shared_object()'.Greg Ward2000-01-091-37/+133
| | | | | | | | | | | | | | Added 'link_static_lib()' method, and 'archiver' and 'archiver_options' class attributes to support it. Added 'link_executable()' method, and 'ld_exec' instance attribute to support it. 'newer_group()' is now able to handle missing files, so we don't have to kludge it by catching OSError when calling it. 'object_filenames()' and 'shared_object_filename()' now take 'keep_dir' flag parameters. 'library_filename()' and 'shared_library_filename()' now respect a directory component in the library name. Various comment updates/deletions.
* Removed a bunch of irrelevant parameters from 'link_static_lib()' signature.Greg Ward2000-01-091-8/+18
| | | | Added 'link_executable()' signature.
* Typo fix: 'file.warn' should have been 'manifest.warn' in a couple of places.Greg Ward2000-01-091-5/+5
|
* Two constants were missing.Jack Jansen2000-01-071-0/+2
|
* Added initializer routine optionally to be used as PEF fragment ↵Jack Jansen2000-01-071-0/+34
| | | | initialization routine, which allows us to get at our own resource fork even if some shared library init routine opens other resource files.
* The correct RFC to reference is RFC-1521 (MIME part one), not 1421 (PEM).Guido van Rossum2000-01-031-4/+1
|
* redesign/rebuild around the ImportManager concept.Greg Stein2000-01-031-149/+291
|
* CW Pro 5.3 projects.Jack Jansen2000-01-0131-0/+0
|
* setup_confname_table(): Use size_t instead of int for an index whenFred Drake1999-12-301-1/+1
| | | | | | | building the dicts used to inform the user about the defined constants when using the *conf*() APIs. Thanks to Mark Hammond <mhammond@skippinet.com.au>.
* Nasty error: handle parameters are passed by _address_ to SetControlData.Jack Jansen1999-12-292-2/+2
|
* Renamed USE_MAC_DYNAMIC_LOADING to HAVE_DYNAMIC_LOADINGJack Jansen1999-12-291-1/+1
|
* Modified for new dll import source organisation by Greg.Jack Jansen1999-12-246-2/+2
|
* Modified for appearance.Jack Jansen1999-12-241-2/+2
|
* Oops, forgot & in ParseTuple argument in ControlGetDataHandle.Jack Jansen1999-12-232-2/+2
|
* skip CVS folders when building the Scripts menu -- jvrJust van Rossum1999-12-231-1/+7
|
* updated copyright stringJust van Rossum1999-12-231-1/+1
|
* Implement the other easy thing: repr() of a float now uses %.17g,Guido van Rossum1999-12-231-6/+43
| | | | while str() uses %.12g as before.
* Added item about specific missing entries in the C API manual.Fred Drake1999-12-231-0/+5
|
* changed the "method find" algorithm so the function/class/method popup menu ↵Just van Rossum1999-12-231-3/+8
| | | | also works with space-indented source files -- jvr
* long_format(): Now takes a third parameter, addL; iff true, aFred Drake1999-12-231-9/+19
| | | | | | | | | | | | | | | trailing 'L' is appended to the representation, otherwise not. All existing call sites are modified to pass true for addL. Remove incorrect statement about external use of this function from elsewhere; it's static! long_str(): Handler for the tp_str slot in the type object. Identical to long_repr(), but passes false as the addL parameter of long_format().
* Revise tests to support str(<long int object>) not appending "L".Fred Drake1999-12-233-15/+21
|
* Added a reference to oldPICTbrowse.py.Jack Jansen1999-12-231-1/+3
|
* Converted to Appearance and using a List control in stead of manually ↵Jack Jansen1999-12-237-90/+185
| | | | creating the List and putting it in a useritem. The old version is in oldPICTbrowse, for documentary purposes.
* Partially converted to Appearance, the dialog still has the old ugly layout andJack Jansen1999-12-232-15/+17
| | | | interaction.
* Converted to Appearance.Jack Jansen1999-12-232-2/+2
|
* Unified handle-conversion scheme toJack Jansen1999-12-2310-27/+120
| | | | | | | handle = Ctl.as_Resource(ctl) ctl = Ctl.as_Control(handle) and similarly for List, Menu, TE. The old handle.as_Control() methods are still there for backward compatability.
* Adjusted apply() docstring based on comments from Gerrit HollFred Drake1999-12-231-3/+4
| | | | <gerrit.holl@pobox.com>.
* Don't call len() if the value is already cached! Caught by GerritFred Drake1999-12-221-1/+1
| | | | Holl <gerrit.holl@pobox.com>.
* For ZlibError and ZLIB_VERSION, only attempt to add entry to theFred Drake1999-12-221-3/+6
| | | | | module dict if the inserted object isn't NULL (basic defensive programming!).