- 01 Eki, 2001 3 kayıt (commit)
-
-
Guido van Rossum yazdı
I modified nntplib so the body method can accept an optional second parameter pointing to a filehandle or filename (string). This way, really long body articles can be stored to disk instead of kept in memory. The way I made the modification should make it easy to extend this functionality to other extended return methods.
-
Guido van Rossum yazdı
-
Martin v. Löwis yazdı
-
- 30 Eyl, 2001 7 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
Decode and encode underscores for header style encoding. Fixes bug #463996.
-
Martin v. Löwis yazdı
-
Tim Peters yazdı
it acts more like assigning to keys in locals(), i.e. modifications to function locals aren't reflected in the locals when execfile() returns.
-
Tim Peters yazdı
-
Tim Peters yazdı
Replaced 3 instances of "iter() of non-sequence" with "iteration over non-sequence". Restored "unpack non-sequence" for stuff like "a, b = 1".
-
Tim Peters yazdı
Generalize PyLong_AsLongLong to accept int arguments too. The real point is so that PyArg_ParseTuple's 'L' code does too. That code was undocumented (AFAICT), so documented it.
-
- 29 Eyl, 2001 12 kayıt (commit)
-
-
Fred Drake yazdı
-
Guido van Rossum yazdı
recent user feedback: you must end the input with \n and you must use \n, not \r\n to represent line endings.
-
Skip Montanaro yazdı
-
Skip Montanaro yazdı
-
Fred Drake yazdı
whitespace characters to a single space. Small changes elsewhere, mostly to clean up the code a little.
-
Fred Drake yazdı
-
Fred Drake yazdı
This is probably a little bit faster, but mostly is just cleaner code. The old-style support is still used for Python versions < 2.2 so this source file can be shared with PyXML.
-
Fred Drake yazdı
every time this gets called; move it out as a global helper function. Simplify the call to the _dispatch() method of the registered instance.
-
Tim Peters yazdı
never been true, and in particular implies cmp() can't be used(!). Get closer to the truth.
-
Guido van Rossum yazdı
rewrite the code a bit to avoid calling the same slot more than once.
-
Guido van Rossum yazdı
Jeremy had seen the warning but not realized what he should do about it. Add the hint "Usually, copying Setup.dist to Setup will work."
-
Guido van Rossum yazdı
staticness when __dynamic__ = 1 becomes the default: - Some classes which are used to test the difference between static and dynamic. - Subclasses of complex: complex uses old-style numbers and the slot wrappers used by dynamic classes only support new-style numbers. (Ideally, the complex type should be fixed, but that looks like a labor-intensive job.)
-
- 28 Eyl, 2001 18 kayıt (commit)
-
-
Guido van Rossum yazdı
__rop__ now takes precendence over __op__. Those circumstances are: - Both arguments are new-style classes - Both arguments are new-style numbers - Their implementation slots for tp_op differ - Their types differ - The right argument's type is a subtype of the left argument's type Also did this for the ternary operator (pow) -- only the binary case is dealt with properly though, since __rpow__ is not supported anyway.
-
Guido van Rossum yazdı
in bizarre outcomes. Test forthcoming.
-
Fred Drake yazdı
Add entry for the SimpleXMLRPCServer module.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Tim Peters yazdı
-
Andrew M. Kuchling yazdı
Bump version number.
-
Fred Drake yazdı
NodeList interface.
-
Andrew M. Kuchling yazdı
-
Fred Drake yazdı
Clean up a little; do not create an alias that is only used once, or store attributes with constant values in an instance.
-
Fred Drake yazdı
-
Tim Peters yazdı
error-reporting for the classic compare-expected-output tests. Curiously, the bug consisted of not simplifying the logic enough!
-
Fred Drake yazdı
-
Guido van Rossum yazdı
#424002. Refactor init_path_from_argv0() and rename to copy_absolute(); add absolutize() which does the same in-place. Clean up whitespace (leading tabs -> spaces, delete trailing spaces/tabs).
-
Fred Drake yazdı
depending on the cycle detector code in the library implementation. This is a *slightly* different patch than SF patch #417795, but takes the same approach. (This version avoids calling the __len__() method of the dict in the remove() functions.) This closes SF patch #417795.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
rigmarole of __reduce__.
-
Guido van Rossum yazdı
fallback for objects that are neither supported by our dispatch table nor have a __copy__ or __deepcopy__ method. Changes to _reduce() in copy_reg.py to support reducing objects that don't have a __dict__ -- copy.copy(complex()) now invokes _reduce(). Add tests for copy.copy() and copy.deepcopy() to test_regrtest.py.
-