- 23 Mar, 2004 5 commits
-
-
Fred Drake authored
keyword args) - format multi-line calls to distutils.core.setup() consistently, and in line with general practice (one keyword arg per line, comma/newline after the last - fix a few typos
-
Nicholas Bastin authored
and one for sort order when using stdout. Uses optparse.
-
Fred Drake authored
author's documentation
-
Martin v. Löwis authored
-
Martin v. Löwis authored
Backported to 2.3.
-
- 22 Mar, 2004 13 commits
-
-
Anthony Baxter authored
requires and provides. requires is a sequence of strings, of the form 'packagename-version'. The dependency checking so far merely does an '__import__(packagename)' and checks for packagename.__version__ You can also leave off the version, and any version of the package will be installed. There's a special case for the package 'python' - sys.version_info is used, so requires= ( 'python-2.3', ) just works. Provides is of the same format as requires - but if it's not supplied, a provides is generated by adding the version to each entry in packages, or modules if packages isn't there. Provides is currently only used in the PKG-INFO file. Shortly, PyPI will grow the ability to accept these lines, and register will be updated to send them. There's a new command 'checkdep' command that runs these checks. For this version, only greater-than-or-equal checking is done. We'll add the ability to specify an optional operator later.
-
Martin v. Löwis authored
-
Fred Drake authored
-
Armin Rigo authored
-
Nicholas Bastin authored
-
Armin Rigo authored
single-line loops.
-
Armin Rigo authored
-
Nicholas Bastin authored
-
Nicholas Bastin authored
-
Nicholas Bastin authored
-
Armin Rigo authored
def f(a): if a: print 5 else: pass
-
Hye-Shik Chang authored
This fixes a problem that math.sqrt(-1) doesn't raise math.error.
-
Anthony Baxter authored
-
- 21 Mar, 2004 22 commits
-
-
Nicholas Bastin authored
Fixes SF Bug #850981
-
Tim Peters authored
It's possible to create insane datetime objects by using the constructor "backdoor" inserted for fast unpickling. Doing extensive range checking would eliminate the backdoor's purpose (speed), but at least a little checking can stop honest mistakes. Bugfix candidate.
-
Armin Rigo authored
-
Brett Cannon authored
when keep_blank_values is true.
-
Andrew M. Kuchling authored
-
Tim Peters authored
off a new compiler wng under MSVC6).
-
Nicholas Bastin authored
-
Armin Rigo authored
the newly created tuples, but tuples added in the freelist are now cleared in tupledealloc already (which is very cheap, because we are already Py_XDECREF'ing all elements anyway). Python should have a standard Py_ZAP macro like ZAP in pystate.c.
-
Nicholas Bastin authored
Fixes SF Bug #773356
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
[Part of patch #909005] Repeating exception changed from 'raise socket.error, why' to just raise. Make use of connect_ex() raise socket.error with 2-tuple instead of just error code
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Hye-Shik Chang authored
(Reported by Matthias Klose)
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Nicholas Bastin authored
-