- 23 Ara, 2002 1 kayıt (commit)
-
-
Kurt B. Kaiser yazdı
M PyShell.py M idlever.py M setup.py 1. Update MANIFEST.in to include all non-pure Python files 2. PyShell and idlever reflect Rev 0.9a0 3. setup.py modified to install IDLE as a collection of modules with a .pth file living at the idlelib level in site-packages. This was done to make it easier to run from the source directory prior to installing IDLE. This approach may change back to the package technique depending on what happens with the Mac installation development.
-
- 22 Ara, 2002 5 kayıt (commit)
-
-
Tim Peters yazdı
be trusted with years before 1900, so now we raise ValueError if a date or datetime or datetimetz .strftime() method is called with a year before 1900.
-
Tim Peters yazdı
such that the datetime tests failed if the envar PYTHON2K was set. This is an utter mess, and the datetime module's strftime functions inherit it. I suspect that, regardless of the PYTHON2K setting, and regardless of platform limitations, the datetime strftime wrappers will end up delivering nonsense results (or bogus exceptions) for any year before 1900. I should probably just refuse to accept years earlier than that -- else we'll have to implement strftime() by hand.
-
Tim Peters yazdı
Also changed logic so that instances of user-defined subclasses of date, time, and datetime are called OFFSET_NAIVE instead of OFFSET_UNKNOWN.
-
Tim Peters yazdı
{timetz,datetimetz}.{utcoffset,dst}() now return a timedelta (or None) instead of an int (or None). tzinfo.{utcoffset,dst)() can now return a timedelta (or an int, or None). Curiously, this was much easier to do in the C implementation than in the Python implementation (which lives in the Zope3 code tree) -- the C code already had lots of hair to extract C ints from offset objects, and used C ints internally.
-
Kurt B. Kaiser yazdı
-
- 21 Ara, 2002 5 kayıt (commit)
-
-
Kurt B. Kaiser yazdı
directory becomes sys.path[0]. What is wanted is the directory from which IDLE was called. Insert the current working directory in the path if it isn't there already.
-
Kurt B. Kaiser yazdı
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
-
Martin v. Löwis yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
can be read by the C implementation. I don't really understand this.
-
- 20 Ara, 2002 11 kayıt (commit)
-
-
Kurt B. Kaiser yazdı
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.
-
Thomas Heller yazdı
to a constant in the 'win32con' module, but this constant is also defined in the _winreg module itself. Bugfix candidate.
-
Kurt B. Kaiser yazdı
-
Kurt B. Kaiser yazdı
-
Tim Peters yazdı
-
Tony Lownds yazdı
-
Tony Lownds yazdı
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.
-
Guido van Rossum yazdı
should copy the handlers list because it's being modified by the loop.
-
Tim Peters yazdı
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.
-
Kurt B. Kaiser yazdı
-
Kurt B. Kaiser yazdı
-
- 19 Ara, 2002 16 kayıt (commit)
-
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
could overwrite memory.
-
Jack Jansen yazdı
(generated) Carbon module functionality. Not 100% complete yet, but at least the IDE doesn't crash on startup.
-
Jack Jansen yazdı
poses as MACFS for backward compatibility).
-
Jack Jansen yazdı
-
Jack Jansen yazdı
fixed that macro to actually work:-)
-
Martin v. Löwis yazdı
-
Neal Norwitz yazdı
blockstack_top could be 0 when blockstack[blockstack_top-1] was referenced (ie blockstack[-1]) which crashed on hpux. Patch & fix by Richie Hindle
-
Martin v. Löwis yazdı
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
It would be nice to support other compilers besides gcc.
-
Kurt B. Kaiser yazdı
Check the module.
-
Neal Norwitz yazdı
-
Tim Peters yazdı
-
Neal Norwitz yazdı
-
- 18 Ara, 2002 2 kayıt (commit)
-
-
Neal Norwitz yazdı
Some systems (HPUX at least) already define MIN/MAX for us
-
Neal Norwitz yazdı
Check return values after memory allocation. Also use Py_True instead of PyInt_FromLong(1) for bool value. Backport candidate.
-