Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clarify comments about mailbox objects being iterable. | Fred Drake | 2001-10-01 | 1 | -2/+3 |
| | |||||
* | Docs for SF patch #462628 | Guido van Rossum | 2001-10-01 | 1 | -2/+8 |
| | |||||
* | Another SF patch contributor. | Guido van Rossum | 2001-10-01 | 1 | -0/+1 |
| | |||||
* | SF patch #462628 (Travers Naran) NNTPLib supports saving BODY to a file. | Guido van Rossum | 2001-10-01 | 1 | -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 Rossum | 2001-10-01 | 1 | -1/+1 |
| | |||||
* | Patch #426880: Implement Listbox itemcget and itemconfigure. | Martin v. Löwis | 2001-10-01 | 2 | -0/+27 |
| | |||||
* | Patch #462122: add readline startup and pre_event hooks. | Martin v. Löwis | 2001-09-30 | 7 | -33/+209 |
| | |||||
* | Patch #462190, patch #464070: Support quoted printable in the binascii module. | Martin v. Löwis | 2001-09-30 | 6 | -18/+391 |
| | | | | Decode and encode underscores for header style encoding. Fixes bug #463996. | ||||
* | Properly detect recursive structures. Adopted from patch #465298. | Martin v. Löwis | 2001-09-30 | 1 | -0/+6 |
| | |||||
* | The execfile() docs imply it acts on locals same as exec. But in truth | Tim Peters | 2001-09-30 | 1 | -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 Peters | 2001-09-30 | 1 | -2/+1 |
| | |||||
* | SF bug [#466173] unpack TypeError unclear | Tim Peters | 2001-09-30 | 4 | -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 Peters | 2001-09-30 | 5 | -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 Drake | 2001-09-29 | 1 | -6/+5 |
| | |||||
* | Fix two typos in the text about compile(), and add two caveats from | Guido van Rossum | 2001-09-29 | 1 | -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 Montanaro | 2001-09-29 | 1 | -2/+3 |
| | |||||
* | added description of StringTypes object | Skip Montanaro | 2001-09-29 | 1 | -0/+5 |
| | |||||
* | Fix up whitespace in <args> elements; reduce sequences of consecutive | Fred Drake | 2001-09-29 | 1 | -17/+15 |
| | | | | | whitespace characters to a single space. Small changes elsewhere, mostly to clean up the code a little. | ||||
* | Minor markup improvement. | Fred Drake | 2001-09-29 | 1 | -2/+2 |
| | |||||
* | For Python 2.2, do not use __getattr__(), only use computed properties. | Fred Drake | 2001-09-29 | 1 | -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() function | Fred Drake | 2001-09-29 | 1 | -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's | Tim Peters | 2001-09-29 | 1 | -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, and | Guido van Rossum | 2001-09-29 | 1 | -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 Rossum | 2001-09-29 | 1 | -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 preserve | Guido van Rossum | 2001-09-29 | 1 | -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 Rossum | 2001-09-28 | 2 | -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__, resulting | Guido van Rossum | 2001-09-28 | 1 | -1/+15 |
| | | | | in bizarre outcomes. Test forthcoming. | ||||
* | Move XML-RPC-related docs to the "Internet Protocols" chapter. | Fred Drake | 2001-09-28 | 1 | -1/+2 |
| | | | | Add entry for the SimpleXMLRPCServer module. | ||||
* | Add entry for the SimpleXMLRPCServer module. | Fred Drake | 2001-09-28 | 1 | -0/+1 |
| | |||||
* | Preliminary documentation for the SimpleXMLRPCServer module. | Fred Drake | 2001-09-28 | 1 | -0/+69 |
| | |||||
* | Post-release fiddling (prep for 2.2b1). | Tim Peters | 2001-09-28 | 2 | -4/+27 |
| | |||||
* | Minor additions and rewrites. | Andrew M. Kuchling | 2001-09-28 | 1 | -9/+15 |
| | | | | Bump version number. | ||||
* | Update the xml.dom.minidom tests to cover the DOM-compliant parts of the | Fred Drake | 2001-09-28 | 2 | -2/+31 |
| | | | | NodeList interface. | ||||
* | Install the new compiler and email packages | Andrew M. Kuchling | 2001-09-28 | 1 | -0/+1 |
| | |||||
* | Tighten up the new NodeList implementation. | Fred Drake | 2001-09-28 | 1 | -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 Drake | 2001-09-28 | 1 | -1/+1 |
| | |||||
* | regrtest's -g option stopped working, during the changes to improve | Tim Peters | 2001-09-28 | 1 | -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 Drake | 2001-09-28 | 1 | -9/+33 |
| | |||||
* | Be more rigorous about making pathnames absolute, to address SF bug | Guido van Rossum | 2001-09-28 | 1 | -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 avoids | Fred Drake | 2001-09-28 | 1 | -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 Rossum | 2001-09-28 | 1 | -12/+14 |
| | |||||
* | Add complex to the dispatch tables, to avoid going through the whole | Guido van Rossum | 2001-09-28 | 1 | -0/+8 |
| | | | | rigmarole of __reduce__. | ||||
* | Changes to copy() and deepcopy() in copy.py to support __reduce__ as a | Guido van Rossum | 2001-09-28 | 3 | -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 Drake | 2001-09-28 | 3 | -663/+0 |
| | |||||
* | PY_RELEASE_SERIAL => 4 | Barry Warsaw | 2001-09-28 | 1 | -2/+2 |
| | | | | PY_VERSION => "2.2a4+" | ||||
* | Convert to string methods. | Fred Drake | 2001-09-28 | 1 | -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 Warsaw | 2001-09-28 | 1 | -1/+1 |
| | |||||
* | Use consistent version annotations instead of something ad hoc. | Fred Drake | 2001-09-28 | 1 | -4/+7 |
| | |||||
* | Convert most uses of the string module to string methods. | Fred Drake | 2001-09-28 | 3 | -16/+15 |
| | | | | (string.join() lives!) | ||||
* | Added note about non-support of UNC paths on Windows. | Fred Drake | 2001-09-28 | 2 | -1/+6 |
| | | | | This fixes SF bug #465447. |