| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Use PyObject_Call() instead of PyEval_CallObject(), saves several
layers of calls and checks.
- Pre-allocate the argument tuple rather than calling Py_BuildValue()
each time round the loop.
- For filter(None, seq), avoid an INCREF and a DECREF.
|
|
|
|
| |
to inner scope, too.
|
|
|
|
|
|
| |
Loosened the acceptable 'start' and 'stop' arguments so that any
Python (bounded) ints can be used. So, e.g., randrange(-sys.maxint-1,
sys.maxint) no longer blows up.
|
|
|
|
| |
Karatsuba's better cache behavior with extremely large multiplicands.
|
| |
|
|
|
|
|
|
| |
warning for 'global None', but that's either accompanied by an
assignment to None, which will trigger a warning, or not, in which
case it's harmless. :-)
|
|
|
|
|
| |
LINE events when not __debug__. But we get them anyway under -O now,
so just stop special-casing non-__debug__ mode.
|
|
|
|
|
| |
Still to do: function definition arguments (including *None and
**None).
|
|
|
|
|
| |
named 'None'. Still to do: function definition parameter lists, and
function call keyword arguments.
|
|
|
|
|
|
| |
argument should be called 'c', like everywhere else. Renamed a
complex variable 'c' to 'z' and moved it inside the only scope where
it's used.
|
|
|
|
|
| |
exception. The bug fix for SF #430849 wasn't quite right. This
closes SF bug #595671. I'll backport this to Python 2.2.
|
|
|
|
|
|
| |
them.
The FutureWarnings are still there, until a way has been found to
say "I know what I'm doing here when I say 0xff000000".
|
|
|
|
| |
we catch errors during the build process in stead of later during runtime.
|
|
|
|
|
| |
unix cvs. In this case the resource files are actual resource files
in stead of AppleSingle encoded files.
|
| |
|
|
|
|
|
|
|
| |
rigorous instead of hoping for testing not to turn up counterexamples.
Call me heretical, but despite that I'm wholly confident in the proof,
and have done it two different ways now, I still put more faith in
testing ...
|
|
|
|
|
| |
normalized result, so no point to normalizing it again. The number
of test+branches was also excessive.
|
|
|
|
|
|
|
|
| |
[ 587993 ] SET_LINENO killer
Remove SET_LINENO. Tracing is now supported by inspecting co_lnotab.
Many sundry changes to document and adapt to this change.
|
| |
|
|
|
|
| |
--with-universal-newline.
|
|
|
|
|
|
|
|
|
| |
Push /usr/... further down the list - always check /usr/local/... before
/usr/...
Doubt this will help with http://python.org/sf/589427 or not, but these
changes were prompted by my investigation of that bug report. I wasn't able
to reproduce that problem though
|
|
|
|
| |
see patch 586561
|
|
|
|
|
| |
single-quoted strings or end-of-file in triple-quoted strings.
closes patch 586561.
|
|
|
|
|
| |
Revise sentence
Add two reminders
|
| |
|
| |
|
|
|
|
|
| |
argument. This makes sense now that extension types can support
__init__ directly rather than requiring function constructors.
|
|
|
|
|
| |
sense now that extension types can support __init__ directly rather
than requiring function constructors.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
FutureWarning.
|
| |
|
| |
|
|
|
|
| |
copy the metatype from the base, the base actually has one!
|
|
|
|
| |
al*bl "always fit": it's actually trivial given what came before.
|
| |
|
| |
|
|
|
|
|
|
| |
ah*bh and al*bl. This is much easier than explaining why that's true
for (ah+al)*(bh+bl), and follows directly from the simple part of the
(ah+al)*(bh+bl) explanation.
|
|
|
|
| |
Tim predicts that we might as well call this CassandraWarning.
|
| |
|
|
|
|
|
| |
the future. Changed PEP 237 hex constant warnings from
DeprecationWarning to FutureWarning. Updated the documentation.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
binary=True
to
text=False
by BDFL Pronouncement. All other changes follow from this. The change
to the docs is ready to go, but blocked by another JackMacLock in the
doc directory.
|
|
|
|
|
| |
simply not relevant any more.
Closes SF bug #595032.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Although Cygwin attempts to be as Posix compliant
as possible, it has difficulties unlinking open
files. This is not surprising given that Cygwin is
dependent on Win32 which in turn has this problem
itself.
The attached tempfile patch acknowledges this
Cygwin limitation. Without this patch, Cygwin
fails test_tempfile (i.e., test_has_no_name) as
follows:
$ ./python -E -tt ../Lib/test/regrtest.py -l test_tempfile
test_tempfile
test test_tempfile failed -- Traceback (most recent call last):
File "/home/jt/src/PythonCvs/Lib/test/test_tempfile.py", line 689, in test_has_no_name
self.failOnException("rmdir", ei)
File "/home/jt/src/PythonCvs/Lib/test/test_tempfile.py", line 33, in failOnException
self.fail("%s raised %s: %s" % (what, ei[0], ei[1]))
File "/home/jt/src/PythonCvs/Lib/unittest.py", line 260, in fail
raise self.failureException, msg
AssertionError: rmdir raised exceptions.OSError: [Errno 90] Directory not empty: '/mnt/c/DOCUME~1/jatis/LOCALS~1/Temp/tmpM_z8nj'
|
|
|
|
| |
high-bit-set hex constants.
|