summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* M PyShell.pyKurt B. Kaiser2002-12-213-23/+24
| | | | | | | | | | | | | M idle M setup.py To be able to run from the source directory or from an installed version of IDLE, and also to allow the subprocess to find run(), Python needs to have the idlelib package on its path. 1. Modify setup.py to supply a .pth file living at same level as idlelib 2. Move boolcheck to PyShell.py 3. Remove boolcheck and path setting code from the "idle" script
* Use wcscoll for _locale.strcoll if available.Martin v. Löwis2002-12-215-8/+92
|
* Added test to ensure that non-string result from dst() raises TypeError.Tim Peters2002-12-211-0/+6
|
* Changes sufficient so that pickles written by the Python implementationTim Peters2002-12-211-9/+15
| | | | can be read by the C implementation. I don't really understand this.
* Update the setup file:Kurt B. Kaiser2002-12-201-34/+42
| | | | | | | | | 1. Make it easier to change the package and script installation names. 2. Update the text files transferred to include the .def and new .txt files. 3. Update the description and long description, change email to python-dev, update the url to point at sourceforge. 4. Rename the build and install classes for clarity.
* Fix an error message in the _winreg module. The error message referredThomas Heller2002-12-201-1/+1
| | | | | | | to a constant in the 'win32con' module, but this constant is also defined in the _winreg module itself. Bugfix candidate.
* Remove debugging statement checked in by accident, ah, carelessness.Kurt B. Kaiser2002-12-201-1/+0
|
* "'foo' in str" not implemented in Python 2.2, only single character lookupKurt B. Kaiser2002-12-201-1/+2
|
* Fixed longstanding bug in the description of strftime's %W code.Tim Peters2002-12-201-1/+1
|
* *** empty log message ***Tony Lownds2002-12-201-1/+1
|
* 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
|