Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update way a subprocess is launched for Mac OS X. | Tony Lownds | 2002-12-20 | 5 | -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 Rossum | 2002-12-20 | 1 | -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, so | Tim Peters | 2002-12-20 | 2 | -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 Common | Kurt B. Kaiser | 2002-12-20 | 1 | -2/+4 |
| | |||||
* | Updated. | Kurt B. Kaiser | 2002-12-20 | 1 | -11/+24 |
| | |||||
* | Always use self->ob_type->tp_free when freeing an object. | Jack Jansen | 2002-12-19 | 1 | -1/+1 |
| | |||||
* | The extension module macfs has been replaced by a pure Python version. | Jack Jansen | 2002-12-19 | 2 | -1198/+0 |
| | |||||
* | Added the last missing bits of functionality, and fixed a nasty bug where we | Jack Jansen | 2002-12-19 | 2 | -129/+385 |
| | | | | could overwrite memory. | ||||
* | A replacement for the macfs extension module, implemented with normal | Jack Jansen | 2002-12-19 | 1 | -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, also | Jack Jansen | 2002-12-19 | 1 | -106/+0 |
| | | | | poses as MACFS for backward compatibility). | ||||
* | Regenerated with inheritance-aware xxxx_Check() macros. | Jack Jansen | 2002-12-19 | 22 | -50/+50 |
| | |||||
* | Always output an inheritance-aware version of the xxxx_Check() macro. Also | Jack Jansen | 2002-12-19 | 1 | -5/+1 |
| | | | | fixed that macro to actually work:-) | ||||
* | Fix if-then-else-fi structure. | Martin v. Löwis | 2002-12-19 | 2 | -3/+5 |
| | |||||
* | Fix bug introduced by SF patch #643835, Set Next Statement for Python debuggers | Neal Norwitz | 2002-12-19 | 1 | -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öwis | 2002-12-19 | 3 | -4/+9 |
| | |||||
* | Update/correct comment | Neal Norwitz | 2002-12-19 | 1 | -1/+1 |
| | |||||
* | Provide mechanism to deprecate functions, types, and struct members. | Neal Norwitz | 2002-12-19 | 1 | -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 or | Kurt B. Kaiser | 2002-12-19 | 1 | -14/+21 |
| | | | | Check the module. | ||||
* | Fix another long vs int mismatch. test_datetime now passes on alpha | Neal Norwitz | 2002-12-19 | 1 | -3/+3 |
| | |||||
* | Fixed typo in string. | Tim Peters | 2002-12-19 | 1 | -5/+20 |
| | |||||
* | Fix crash on alphas due to mismatch between 'l' format and int variables. | Neal Norwitz | 2002-12-19 | 1 | -1/+1 |
| | |||||
* | Undefine MIN and MAX before defining | Neal Norwitz | 2002-12-18 | 1 | -0/+2 |
| | | | | Some systems (HPUX at least) already define MIN/MAX for us | ||||
* | SF # 654974, fix unchecked return values in structseq | Neal Norwitz | 2002-12-18 | 1 | -2/+6 |
| | | | | | | | Check return values after memory allocation. Also use Py_True instead of PyInt_FromLong(1) for bool value. Backport candidate. | ||||
* | - Added rawdata initializers | Jack Jansen | 2002-12-18 | 3 | -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 Peters | 2002-12-18 | 1 | -10/+25 |
| | |||||
* | Expand log() tests to include long integers. | Raymond Hettinger | 2002-12-18 | 1 | -0/+2 |
| | |||||
* | Check in current, unfinished, draft of datetime docs | Andrew M. Kuchling | 2002-12-18 | 1 | -0/+1139 |
| | | | | (Fred, don't bother to add to lib.tex or to proofread this yet.) | ||||
* | Fix some small markup nits. | Fred Drake | 2002-12-18 | 1 | -5/+5 |
| | |||||
* | Fix typo spotted by Richie Hindle | Neal Norwitz | 2002-12-18 | 1 | -1/+1 |
| | |||||
* | SF # 654960, remove unnecessary static variable | Neal Norwitz | 2002-12-18 | 1 | -9/+3 |
| | | | | | The static variable (implicit) was not necessary. The c_globals can be None or True now. | ||||
* | Fixed silly typo. | Jack Jansen | 2002-12-17 | 2 | -4/+9 |
| | | | | Added comment (to myself) on what still needs to be done. | ||||
* | This module will shortly replace the builtin module macfs. It is not | Jack Jansen | 2002-12-17 | 1 | -0/+90 |
| | | | | | complete yet, but it should work. It will be finished (and renamed) shortly. | ||||
* | Two more typo fixes. | Greg Ward | 2002-12-17 | 1 | -2/+2 |
| | |||||
* | Include Finder.h too in the list of header files to parse: the finder | Jack Jansen | 2002-12-17 | 1 | -1/+2 |
| | | | | constants have tradiationally been in MACFS.py. | ||||
* | This now contains constants from Files.h, Aliases.h and Finder.h. | Jack Jansen | 2002-12-17 | 1 | -0/+83 |
| | |||||
* | - Added as_pathname and as_tuple methods | Jack Jansen | 2002-12-17 | 2 | -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 Jansen | 2002-12-17 | 1 | -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.py | Kurt B. Kaiser | 2002-12-17 | 3 | -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 Jansen | 2002-12-17 | 1 | -2/+2 |
| | | | | routine to py_time_second. | ||||
* | No point in warning about needing re module; remove helpful message | Andrew M. Kuchling | 2002-12-17 | 1 | -4/+1 |
| | |||||
* | Fix comment typo | Andrew M. Kuchling | 2002-12-17 | 1 | -1/+1 |
| | |||||
* | Typo fix. | Greg Ward | 2002-12-17 | 1 | -1/+1 |
| | |||||
* | * Objects/fileobject.c | Gustavo Niemeyer | 2002-12-17 | 1 | -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. Hudson | 2002-12-17 | 1 | -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 patch | Michael W. Hudson | 2002-12-17 | 7 | -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 Norwitz | 2002-12-17 | 1 | -8/+8 |
| | | | | Convert remaining uses of 1/0 to True/False | ||||
* | Add markup for base parameter | Neal Norwitz | 2002-12-17 | 1 | -2/+2 |
| | |||||
* | Fix SF # 641111, Undocumented side effect of eval | Neal Norwitz | 2002-12-17 | 1 | -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 documented | Neal Norwitz | 2002-12-17 | 1 | -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 example | Neal Norwitz | 2002-12-17 | 1 | -3/+8 |
| | | | | | | | Tested w/valgrind, all paths except the return on PyInt_AsLong() failure I think I got all of these right. Backport candidate. |