- 08 Eyl, 1997 24 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
resource files with various inheritence rules, parsers, etc. pythonprefs uses this to create a single uniform interface to all relevant python preferences.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
resulted in full recompilation every time.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
"optimize" has replaced "don't print".
-
Jack Jansen yazdı
preference handling code is in modules pythonprefs and preferences. This should finally make it easier for someone (Just?) to write a decent interface to preference setting, and it'll allow setting initial sys.path and such from ConfigurePython.
-
Jack Jansen yazdı
Added a couple of splash screens to show what we're doing
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
metaclasses, and acks.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
a shared class variable -- but each instance will attempt to clean it up entirely ob cleanup).
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
instance, use inst.__dict__.update(value) instead of a for loop with setattr() over the value.keys(). This is more consistent (the pickling doesn't use getattr() either but pickles inst.__dict__) and avoids problems with instances that have a __setattr__ hook. But it *is* a semantic change (because the setattr hook is no longer used). So beware!
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
lib-tk and lib-stdwin. (BTW this was also done in the previous checkin of (toplevel)/Makefile.in, though not noted in the checkin message.)
-
Guido van Rossum yazdı
-
- 07 Eyl, 1997 8 kayıt (commit)
-
-
Guido van Rossum yazdı
(This is necessary because when imported as test.test_rgbimg, the test directory is not on sys.path.)
-
Guido van Rossum yazdı
(This is necessary because when imported as test.test_rgbimg, the test directory is not on sys.path.)
-
Guido van Rossum yazdı
makesetup script. (Sorry Sjoerd -- I know you proposed this a while ago and I didn't think it would work then. I looked again and it does work.)
-
Guido van Rossum yazdı
it will run as package test, e.g. this will run the test suite: import test.regrtest test.regrtest.main()
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
- traceback should go to stdout! - don't import ni, import t1! - nicer support for command line options, only if run as __main__
-
Guido van Rossum yazdı
(i.e. when using ni, the old __init__.py semantics prevail!)
-
Guido van Rossum yazdı
-
- 06 Eyl, 1997 6 kayıt (commit)
-
-
Guido van Rossum yazdı
dummy entry to sys.modules, marking the absence of a submodule by the same name. Thus, if module foo.bar executes the statement "import time", sys.modules['foo.time'] will be set to None, once the absence of a module foo.time is confirmed (by looking for it in foo's path). The next time when foo.bar (or any other submodule of foo) executes "import time", no I/O is necessary to determine that there is no module foo.time. (Justification: It may seem strange to pollute sys.modules. However, since we're doing the lookup anyway it's definitely the fastest solution. This is the same convention that 'ni' uses and I haven't heard any complaints.)
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
right thing. Still to do: - Make reload() of a submodule work. - Performance tweaks -- currently, a submodule that tries to import a global module *always* searches the package directory first, even if the global module was already imported. Not sure how to solve this one; probably need to record misses per package. - Documentation!
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 05 Eyl, 1997 2 kayıt (commit)
-
-
Guido van Rossum yazdı
a core dump when __str__() returns a non-string, and plugs a memory leak as well: the result of PyObject_Str() was never DECREFed.
-
Guido van Rossum yazdı
errors are handled (these gave ``TypeError: not enough arguments''). Also changed its __str__() to correct a typo (missing self.) and return str(self.msg) to ensure the result is always string. Also changed the default __str__ to simply return str(self.args).
-