summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update way a subprocess is launched for Mac OS X.Tony Lownds2002-12-205-16/+107
| | | | | | | | | | Another applet mechanism has been developed for Python on Mac OS X and trying to use the -c "__import__('run').main()" trick is just not working. macosx_main.py is a new file which should be used as the startup file for Mac OS X applet bundles. This startup file understands a -p option, which when seen will start run.main(). When running as an applet, this seems like the best approach.
* Fix what I believe is a bug: when removing all previous handlers,Guido van Rossum2002-12-201-2/+2
| | | | should copy the handlers list because it's being modified by the loop.
* format_utcoffset(): The natural type of the buflen arg is size_t, soTim Peters2002-12-202-19/+24
| | | | | | | | | | used that. wrap_strftime(): Removed the most irritating uses of buf. TestDate.test_ordinal_conversions(): The C implementation is fast enough that we can afford to check the endpoints of every year. Also added tm_yday tests at the endpoints.
* Panel Bar on the Bottom is Probably More CommonKurt B. Kaiser2002-12-201-2/+4
|
* Updated.Kurt B. Kaiser2002-12-201-11/+24
|
* Always use self->ob_type->tp_free when freeing an object.Jack Jansen2002-12-191-1/+1
|
* The extension module macfs has been replaced by a pure Python version.Jack Jansen2002-12-192-1198/+0
|
* Added the last missing bits of functionality, and fixed a nasty bug where weJack Jansen2002-12-192-129/+385
| | | | could overwrite memory.
* A replacement for the macfs extension module, implemented with normalJack Jansen2002-12-191-20/+26
| | | | | | (generated) Carbon module functionality. Not 100% complete yet, but at least the IDE doesn't crash on startup.
* Gone: the constants have been moved to macfs.py (which, upon import, alsoJack Jansen2002-12-191-106/+0
| | | | poses as MACFS for backward compatibility).
* Regenerated with inheritance-aware xxxx_Check() macros.Jack Jansen2002-12-1922-50/+50
|
* Always output an inheritance-aware version of the xxxx_Check() macro. AlsoJack Jansen2002-12-191-5/+1
| | | | fixed that macro to actually work:-)
* Fix if-then-else-fi structure.Martin v. Löwis2002-12-192-3/+5
|
* Fix bug introduced by SF patch #643835, Set Next Statement for Python debuggersNeal Norwitz2002-12-191-4/+12
| | | | | | blockstack_top could be 0 when blockstack[blockstack_top-1] was referenced (ie blockstack[-1]) which crashed on hpux. Patch & fix by Richie Hindle
* Unsupport --without-universal-newlines.Martin v. Löwis2002-12-193-4/+9
|
* Update/correct commentNeal Norwitz2002-12-191-1/+1
|
* Provide mechanism to deprecate functions, types, and struct members.Neal Norwitz2002-12-191-0/+13
| | | | It would be nice to support other compilers besides gcc.
* If Edit window has not been saved, offer to save if user tries to Run orKurt B. Kaiser2002-12-191-14/+21
| | | | Check the module.
* Fix another long vs int mismatch. test_datetime now passes on alphaNeal Norwitz2002-12-191-3/+3
|
* Fixed typo in string.Tim Peters2002-12-191-5/+20
|
* Fix crash on alphas due to mismatch between 'l' format and int variables.Neal Norwitz2002-12-191-1/+1
|
* Undefine MIN and MAX before definingNeal Norwitz2002-12-181-0/+2
| | | | Some systems (HPUX at least) already define MIN/MAX for us
* SF # 654974, fix unchecked return values in structseqNeal Norwitz2002-12-181-2/+6
| | | | | | | Check return values after memory allocation. Also use Py_True instead of PyInt_FromLong(1) for bool value. Backport candidate.
* - Added rawdata initializersJack Jansen2002-12-183-124/+339
| | | | | - Added support for optional FSSpecs and FSRefs to the Alias routines. NewAlias and friends are still functions, though, not methods.
* delta_str(): Purged last uses of sprintf (in favor of PyOS_snprintf).Tim Peters2002-12-181-10/+25
|
* Expand log() tests to include long integers.Raymond Hettinger2002-12-181-0/+2
|
* Check in current, unfinished, draft of datetime docsAndrew M. Kuchling2002-12-181-0/+1139
| | | | (Fred, don't bother to add to lib.tex or to proofread this yet.)
* Fix some small markup nits.Fred Drake2002-12-181-5/+5
|
* Fix typo spotted by Richie HindleNeal Norwitz2002-12-181-1/+1
|
* SF # 654960, remove unnecessary static variableNeal Norwitz2002-12-181-9/+3
| | | | | The static variable (implicit) was not necessary. The c_globals can be None or True now.
* Fixed silly typo.Jack Jansen2002-12-172-4/+9
| | | | Added comment (to myself) on what still needs to be done.
* This module will shortly replace the builtin module macfs. It is notJack Jansen2002-12-171-0/+90
| | | | | complete yet, but it should work. It will be finished (and renamed) shortly.
* Two more typo fixes.Greg Ward2002-12-171-2/+2
|
* Include Finder.h too in the list of header files to parse: the finderJack Jansen2002-12-171-1/+2
| | | | constants have tradiationally been in MACFS.py.
* This now contains constants from Files.h, Aliases.h and Finder.h.Jack Jansen2002-12-171-0/+83
|
* - Added as_pathname and as_tuple methodsJack Jansen2002-12-172-19/+205
| | | | | | | - Added access to the "data" attribute - Fixed the FSRef tp_init routine to accept pathnames on OSX - Changed the FSSpec tp_repr to return something resembling what macfs returns.
* Added an optional longname argument to Module, which gives the full,Jack Jansen2002-12-171-2/+7
| | | | | | externally visible name of the module. This is so that type names can be shown as "Carbon.File.FSSpec" even though the real name of the module is "_File".
* M ColorDelegator.pyKurt B. Kaiser2002-12-173-22/+40
| | | | | | | | | | | | | M PyShell.py M ScriptBinding.py 1. Update ScriptBinding.py to highlight a syntax error in the Edit window, and place the cursor on the error. Add a syntax check to the Run Script event instead of waiting until the script tries to run and raises a syntax error in the shell, forcing the user to navigate back to the Edit window to fix it. 2. Modify tag_config's appropriately in PyShell.py and ColorDelegator.py 3. Some minor clean-up in ScriptBinding.py
* "time_second" is apparently a #define on MacOSX. Renamed the (static)Jack Jansen2002-12-171-2/+2
| | | | routine to py_time_second.
* No point in warning about needing re module; remove helpful messageAndrew M. Kuchling2002-12-171-4/+1
|
* Fix comment typoAndrew M. Kuchling2002-12-171-1/+1
|
* Typo fix.Greg Ward2002-12-171-1/+1
|
* * Objects/fileobject.cGustavo Niemeyer2002-12-171-1/+1
| | | | | (file_read): Replaced assertion with mixed sign operation by a simple comment (thank you Raymond). The algorithm is clear enough in that point.
* This is J. Lewis Muir's patch:Michael W. Hudson2002-12-171-1/+42
| | | | | | | | | | | [ 629278 ] install lib-dynload .so files mode 555 fixing [ 583206 ] lib-dynload/*.so wrong permissions [ 425007 ] Python 2.1 installs shared libs with mode 0700 Phew.
* This is Richie Hindle's patchMichael W. Hudson2002-12-177-13/+607
| | | | | | | | [ 643835 ] Set Next Statement for Python debuggers with a few tweaks by me: adding an unsigned or two, mentioning that not all jumps are allowed in the doc for pdb, adding a NEWS item and a note to whatsnew, and AuCTeX doing something cosmetic to libpdb.tex.
* Update doc for getboolean() to match code (ie, returning True/False)Neal Norwitz2002-12-171-8/+8
| | | | Convert remaining uses of 1/0 to True/False
* Add markup for base parameterNeal Norwitz2002-12-171-2/+2
|
* Fix SF # 641111, Undocumented side effect of evalNeal Norwitz2002-12-171-1/+6
| | | | | | | | Try to clear up confusion about the current globals being copied into a globals dict passed to eval(). This wording (more or less) was suggested in bug report. It should probably be made clearer. Backport candidate.
* Fix SF #642742, property() builtin not documentedNeal Norwitz2002-12-171-0/+78
| | | | | | | | Added doc for functions new to 2.2: classmethod property staticmethod super Taken from docstrings. Could use review. Hope there wasn't a reason why these shouldn't have been added. Backport candidate.
* Fix SF # 626275, missing DECREF's in embedding exampleNeal Norwitz2002-12-171-3/+8
| | | | | | | Tested w/valgrind, all paths except the return on PyInt_AsLong() failure I think I got all of these right. Backport candidate.