summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Clarify comments about mailbox objects being iterable.Fred Drake2001-10-011-2/+3
|
* Docs for SF patch #462628Guido van Rossum2001-10-011-2/+8
|
* Another SF patch contributor.Guido van Rossum2001-10-011-0/+1
|
* SF patch #462628 (Travers Naran) NNTPLib supports saving BODY to a file.Guido van Rossum2001-10-011-19/+37
| | | | | | | | | | 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.
* Fix typo found by doerwalter.Guido van Rossum2001-10-011-1/+1
|
* Patch #426880: Implement Listbox itemcget and itemconfigure.Martin v. Löwis2001-10-012-0/+27
|
* Patch #462122: add readline startup and pre_event hooks.Martin v. Löwis2001-09-307-33/+209
|
* Patch #462190, patch #464070: Support quoted printable in the binascii module.Martin v. Löwis2001-09-306-18/+391
| | | | Decode and encode underscores for header style encoding. Fixes bug #463996.
* Properly detect recursive structures. Adopted from patch #465298.Martin v. Löwis2001-09-301-0/+6
|
* The execfile() docs imply it acts on locals same as exec. But in truthTim Peters2001-09-301-0/+7
| | | | | it acts more like assigning to keys in locals(), i.e. modifications to function locals aren't reflected in the locals when execfile() returns.
* Correct docs for long(float).Tim Peters2001-09-301-2/+1
|
* SF bug [#466173] unpack TypeError unclearTim Peters2001-09-304-4/+8
| | | | | | Replaced 3 instances of "iter() of non-sequence" with "iteration over non-sequence". Restored "unpack non-sequence" for stuff like "a, b = 1".
* SF [#466125] PyLong_AsLongLong works for any integer.Tim Peters2001-09-305-1/+67
| | | | | | 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.
* Handle PEP references the same way RFC references.Fred Drake2001-09-291-6/+5
|
* Fix two typos in the text about compile(), and add two caveats fromGuido van Rossum2001-09-291-2/+9
| | | | | recent user feedback: you must end the input with \n and you must use \n, not \r\n to represent line endings.
* forgot to mark use of StringType and UnicodeType in the text.Skip Montanaro2001-09-291-2/+3
|
* added description of StringTypes objectSkip Montanaro2001-09-291-0/+5
|
* Fix up whitespace in <args> elements; reduce sequences of consecutiveFred Drake2001-09-291-17/+15
| | | | | whitespace characters to a single space. Small changes elsewhere, mostly to clean up the code a little.
* Minor markup improvement.Fred Drake2001-09-291-2/+2
|
* For Python 2.2, do not use __getattr__(), only use computed properties.Fred Drake2001-09-291-31/+61
| | | | | | 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.
* _dispatch(): Do no re-define the resolve_dotted_atttribute() functionFred Drake2001-09-291-21/+17
| | | | | every time this gets called; move it out as a global helper function. Simplify the call to the _dispatch() method of the registered instance.
* The list.sort() docs require a function that returns -1, 0 or +1. That'sTim Peters2001-09-291-1/+1
| | | | | never been true, and in particular implies cmp() can't be used(!). Get closer to the truth.
* The changes to ternary_op could cause a core dump. Fix this, andGuido van Rossum2001-09-291-55/+44
| | | | rewrite the code a bit to avoid calling the same slot more than once.
* Clarify the warning about the relative dates of Setup.dist and Setup;Guido van Rossum2001-09-291-0/+1
| | | | | 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."
* Add a few ``__dynamic__ = 0'' lines in classes that need to preserveGuido van Rossum2001-09-291-3/+7
| | | | | | | | | | | | 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.)
* It's a fact: for binary operators, *under certain circumstances*,Guido van Rossum2001-09-282-29/+84
| | | | | | | | | | | | | __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.
* Ouch. The wrapper for __rpow__ was the same as for __pow__, resultingGuido van Rossum2001-09-281-1/+15
| | | | in bizarre outcomes. Test forthcoming.
* Move XML-RPC-related docs to the "Internet Protocols" chapter.Fred Drake2001-09-281-1/+2
| | | | Add entry for the SimpleXMLRPCServer module.
* Add entry for the SimpleXMLRPCServer module.Fred Drake2001-09-281-0/+1
|
* Preliminary documentation for the SimpleXMLRPCServer module.Fred Drake2001-09-281-0/+69
|
* Post-release fiddling (prep for 2.2b1).Tim Peters2001-09-282-4/+27
|
* Minor additions and rewrites.Andrew M. Kuchling2001-09-281-9/+15
| | | | Bump version number.
* Update the xml.dom.minidom tests to cover the DOM-compliant parts of theFred Drake2001-09-282-2/+31
| | | | NodeList interface.
* Install the new compiler and email packagesAndrew M. Kuchling2001-09-281-0/+1
|
* Tighten up the new NodeList implementation.Fred Drake2001-09-281-7/+7
| | | | | Clean up a little; do not create an alias that is only used once, or store attributes with constant values in an instance.
* Remove an infelicitous space.Fred Drake2001-09-281-1/+1
|
* regrtest's -g option stopped working, during the changes to improveTim Peters2001-09-281-1/+1
| | | | | error-reporting for the classic compare-expected-output tests. Curiously, the bug consisted of not simplifying the logic enough!
* Reflect recent refinements of the regression testing framework.Fred Drake2001-09-281-9/+33
|
* Be more rigorous about making pathnames absolute, to address SF bugGuido van Rossum2001-09-281-53/+58
| | | | | | | | | | #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).
* Clean up circular references in the Weak*Dictionary classes; this avoidsFred Drake2001-09-281-11/+14
| | | | | | | | 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.
* Reorder Still To Do items (highest priority on top), add one.Guido van Rossum2001-09-281-12/+14
|
* Add complex to the dispatch tables, to avoid going through the wholeGuido van Rossum2001-09-281-0/+8
| | | | rigmarole of __reduce__.
* Changes to copy() and deepcopy() in copy.py to support __reduce__ as aGuido van Rossum2001-09-283-9/+91
| | | | | | | | | | 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.
* Removed files no longer needed.Fred Drake2001-09-283-663/+0
|
* PY_RELEASE_SERIAL => 4Barry Warsaw2001-09-281-2/+2
| | | | PY_VERSION => "2.2a4+"
* Convert to string methods.Fred Drake2001-09-281-36/+59
| | | | | | | | | | | For the real document element, make sure the prolog is migrated into the document element so it isn't left stranded. Make fixup_trailing_whitespace() whitespace do what was really intended. Add the *desc environments used in the C API manual to the list of things that can exist at the paragraph level so they don't get wrapped in <para>...</para>.
* Fixed a minor typo.Barry Warsaw2001-09-281-1/+1
|
* Use consistent version annotations instead of something ad hoc.Fred Drake2001-09-281-4/+7
|
* Convert most uses of the string module to string methods.Fred Drake2001-09-283-16/+15
| | | | (string.join() lives!)
* Added note about non-support of UNC paths on Windows.Fred Drake2001-09-282-1/+6
| | | | This fixes SF bug #465447.