- 05 Jan, 2001 3 commits
-
-
Fred Drake authored
the urljoin() function, which exercises the urlparse() and urlunparse() functions as side effects. (Moshe, why did we have perfectly empty tests checked in for this?)
-
Fred Drake authored
urljoin(): Make this conform to RFC 1808 for all examples given in that RFC (both "Normal" and "Abnormal"), so long as that RFC does not conflict the older RFC 1630, which also specified relative URL resolution. This closes SF bug #110832 (Jitterbug PR#194).
-
Tim Peters authored
has type int in C.
-
- 04 Jan, 2001 27 commits
-
-
Fred Drake authored
an empty keywords dictionary (via apply() or the extended call syntax), the keywords dict should be ignored. If the keywords dict is not empty, TypeError should be raised. (Between the restructuring of the call machinery and this patch, an empty dict in this situation would trigger a SystemError via PyErr_BadInternalCall().) Added regression tests to detect errors for this.
-
Martin v. Löwis authored
Patch #103067 with modifications as discussed in email.
-
Fred Drake authored
"previous" and "next_page" to "next". This way the proper icons are found.
-
Fred Drake authored
supported as of Python 2.1. We still need to have an entry for this since it is reasonable for users to want to understand existing code. This closes SF bug #122715.
-
Fred Drake authored
being "for backward compatibility." Also revert to using bisect() in the example, since Guido thinks that is the best recommendation for typical usage.
-
Fred Drake authored
Other minor markup nits fixed. Make reference to PyErr_Warn() a hyperlink.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
and seek() in the description of seek(). This closes SF bug #126850.
-
Fred Drake authored
-
Fred Drake authored
explicitly-named bisect_right() in the example code. This closes SF bug #127055.
-
Fred Drake authored
*decimal*. This closes SF bug #127273.
-
Neil Schemenauer authored
-
Neil Schemenauer authored
longer get special treatment. The Py_NotImplemented type is here as well.
-
Neil Schemenauer authored
now as well.
-
Neil Schemenauer authored
now as well.
-
Neil Schemenauer authored
-
Neil Schemenauer authored
types no longer get special treatment from abstract.c so more number number methods have to be implemented.
-
Neil Schemenauer authored
-
Neil Schemenauer authored
-
Neil Schemenauer authored
as the left operand. I don't know if this is a feature or a bug.
-
Neil Schemenauer authored
-
Neil Schemenauer authored
part of the testsuite that breaks. The old behavior may be restored.
-
Neil Schemenauer authored
- Define type flag for new style numbers. - Add Py_NotImplemented.
-
Neil Schemenauer authored
-
Neil Schemenauer authored
-
Andrew M. Kuchling authored
The _setfpucw() function/macro doesn't seem to exist any more; instead there's an _FPU_SETCW macro.
-
- 03 Jan, 2001 10 commits
-
-
Jeremy Hylton authored
checking if it is callable. This is the only place in the test suite where an __call__ method is called.
-
Jeremy Hylton authored
More revision still needed. Much of the code that was in the mainloop was moved to a series of helper functions. PyEval_CallObjectWithKeywords was split into two parts. The first part now only does argument handling. The second part is now named call_object and delegates the call to a call_(function,method,etc.) helper. XXX The call_XXX helper functions should be replaced with tp_call functions for the respective types. The CALL_FUNCTION implementation contains three kinds of optimization: 1. fast_cfunction and fast_function are called when the arguments on the stack can be passed directly to eval_code2() without copying them into a tuple. 2. PyCFunction objects are dispatched immediately, because they are presumed to occur more often than anything else. 3. Bound methods are dispatched inline. The method object contains a pointer to the function object that will be called. The function is called from within the mainloop, which may allow optimization #1 to be used, too. The extened call implementation -- f(*args) and f(**kw) -- are implemented as a separate case in the mainloop. This allows the common case of normal function calls to execute without wasting time on checks for extended calls, although it does introduce a small amount of code duplication. Also, the unused final argument of eval_code2() was removed. This is probably the last trace of the access statement :-).
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Jeremy Hylton authored
Added test for second one.
-
Jeremy Hylton authored
-
Marc-André Lemburg authored
codec to not apply Latin-1 mappings for keys which are not found in the mapping dictionaries, but instead treat them as undefined mappings. The patch was originally written by Martin v. Loewis with some additional (cosmetic) changes and an updated test script by Marc-Andre Lemburg. The standard codecs were recreated from the most current files available at the Unicode.org site using the Tools/scripts/gencodec.py tool. This patch closes the bugs #116285 and #119960.
-
Jack Jansen authored
-
Jack Jansen authored
-
Fred Drake authored
in the docstring.
-