summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* SF patch #497420 (Eduardo Pérez): ftplib: ftp anonymous passwordGuido van Rossum2001-12-281-0/+4
| | | | | | Instead of sending the real user and host, use "anonymous@" (i.e. no host name at all!) as the default anonymous FTP password. This avoids privacy violations.
* SF patch #497420 (Eduardo Pérez): ftplib: ftp anonymous passwordGuido van Rossum2001-12-281-0/+1
| | | | | | Instead of sending the real user and host, use "anonymous@" (i.e. no host name at all!) as the default anonymous FTP password. This avoids privacy violations.
* Added someone.Jack Jansen2001-12-271-0/+1
|
* SF bug #495548: troublesome #define in pyport.hTim Peters2001-12-251-0/+5
| | | | | | | | | Removed the ancient "#define ANY void". Bugfix candidate? Hard call. The bug report claims the existence of this #define creates conflicts with other packages, which is easy to believe. OTOH, some extension authors may still be relying on its presence. I'm afraid you can't win on this one.
* Added 2.3a1 section.Tim Peters2001-12-211-0/+30
|
* Merge of the release22 branch changes back into the trunk.Barry Warsaw2001-12-211-0/+41
|
* ZZZ.Guido van Rossum2001-12-201-0/+1
|
* Another contributor.Guido van Rossum2001-12-201-0/+1
|
* Fix for SF bug #494904: Cannot pickle a class with a metaclass,Guido van Rossum2001-12-191-0/+1
| | | | reported by Dan Parisien.
* SF bug #494738: binascii_b2a_base64 overwrites memory.Tim Peters2001-12-191-0/+1
| | | | | | | | binascii_b2a_base64(): We didn't allocate enough buffer space for very short inputs (e.g., a 1-byte input can produce a 5-byte output, but we only allocated 2 bytes). I expect that malloc overheads absorbed the overrun in practice, but computing a correct upper bound is a very simple change.
* Post-release fiddling -- prep for 2.2 final.Tim Peters2001-12-141-0/+27
|
* Merge last minute 2.2c1 changes from branch to trunk.Barry Warsaw2001-12-141-0/+30
|
* Note the tighter complex() parameter checking.Fred Drake2001-12-141-0/+4
|
* For the exec-free var bug.Jeremy Hylton2001-12-131-0/+1
|
* Update Windows buildno for 2.2c1.Tim Peters2001-12-131-2/+2
| | | | Update 2.2c1 release data in NEWS.
* Added -Qnew news about the test_coercion.py failure. That's the only testTim Peters2001-12-111-0/+4
| | | | | | that still fails under -Qnew, and is so tied to details of current behavior that fixing it before new division becomes the default is impractical.
* SF bug #491415 PyDict_UpdateFromSeq2() unusedTim Peters2001-12-111-1/+5
| | | | | | | PyDict_UpdateFromSeq2(): removed it. PyDict_MergeFromSeq2(): made it public and documented it. PyDict_Merge() docs: updated to reveal <wink> that the second argument can be any mapping object.
* New fodder.Guido van Rossum2001-12-101-0/+1
|
* Patch supplied by Burton Radons for his own SF bug #487390: ModifyingGuido van Rossum2001-12-081-0/+1
| | | | | | | | | | | | | type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment.
* SF patch #489173: Make os.spawnv not block the interpreter, fromTim Peters2001-12-072-0/+8
| | | | | | | | | | | | Anthony Roach. Release the global interpreter lock around platform spawn calls. Bugfix candidate? Hard to say; I favor "yes, bugfix". These clearly *should* have been releasing the GIL all along, if for no other reason than compatibility with the similar os.system(). But it's possible some program out there is (a) multithreaded, (b) calling a spawn function with P_WAIT, and (c) relying on the spawn call to block all their threads until the spawned program completes. I think it's very unlikely anyone is doing that on purpose, but someone may be doing so by accident.
* Test wether we are building on a case-insensitive filesystem (suchJack Jansen2001-12-061-0/+4
| | | | | as OSX HFS+) and if so add an extension to the python executable, but only in the build directory, not on the installed python.
* sys.platform is now "darwin" without digits appended.Jack Jansen2001-12-061-0/+2
|
* SF bug #488514: -Qnew needs workTim Peters2001-12-061-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Big Hammer to implement -Qnew as PEP 238 says it should work (a global option affecting all instances of "/"). pydebug.h, main.c, pythonrun.c: define a private _Py_QnewFlag flag, true iff -Qnew is passed on the command line. This should go away (as the comments say) when true division becomes The Rule. This is deliberately not exposed to runtime inspection or modification: it's a one-way one-shot switch to pretend you're using Python 3. ceval.c: when _Py_QnewFlag is set, treat BINARY_DIVIDE as BINARY_TRUE_DIVIDE. test_{descr, generators, zipfile}.py: fiddle so these pass under -Qnew too. This was just a matter of s!/!//! in test_generators and test_zipfile. test_descr was trickier, as testbinop() is passed assumptions that "/" is the same as calling a "__div__" method; put a temporary hack there to call "__truediv__" instead when the method name is "__div__" and 1/2 evaluates to 0.5. Three standard tests still fail under -Qnew (on Windows; somebody please try the Linux tests with -Qnew too! Linux runs a whole bunch of tests Windows doesn't): test_augassign test_class test_coercion I can't stay awake longer to stare at this (be my guest). Offhand cures weren't obvious, nor was it even obvious that cures are possible without major hackery. Question: when -Qnew is in effect, should calls to __div__ magically change into calls to __truediv__? See "major hackery" at tail end of last paragraph <wink>.
* SF patch #489680 (David Abrahams): h2py uses nonexistent method splitfields()Guido van Rossum2001-12-061-0/+1
|
* Fix SF bug #489581: __slots__ leak.Guido van Rossum2001-12-051-0/+3
| | | | | | It was easier than I thought, assuming that no other things contribute to the instance size besides slots -- a pretty good bet. With a test suite, no less!
* At the PythonLabs meeting someone mentioned it would make Jim reallyGuido van Rossum2001-12-051-0/+4
| | | | | | | | | happy if one could delete the __dict__ attribute of an instance. I love to make Jim happy, so here goes... - New-style objects now support deleting their __dict__. This is for all intents and purposes equivalent to assigning a brand new empty dictionary, but saves space if the object is not used further.
* Another no-longer-nameless contributor...Guido van Rossum2001-12-041-0/+1
|
* Add note about fixed hash() of mutable objects.Guido van Rossum2001-12-041-0/+5
|
* New about super.Guido van Rossum2001-12-031-0/+15
|
* Add Greg Chapman.Guido van Rossum2001-12-031-0/+1
|
* Fix for SF bug #485678.Guido van Rossum2001-12-031-0/+6
| | | | | | | | slot_tp_descr_set(): When deleting an attribute described by a descriptor implemented in Python, the descriptor's __del__ method is called by the slot_tp_descr_set dispatch function. This is bogus -- __del__ already has a different meaning. Renaming this use of __del__ is renamed to __delete__.
* Patch #487275: windows-1251 charset alias.Martin v. Löwis2001-12-021-0/+2
|
* SF bug 486278 SystemError: Python/getargs.c:1086: bad.Tim Peters2001-11-291-1/+8
| | | | | | | | | | vgetargskeywords(): Now that this routine is checking for bad input (rather than dump core in some cases), some bad calls are raising errors that previously "worked". This patch makes the error strings more revealing, and changes the exceptions from SystemError to RuntimeError (under the theory that SystemError is more of a "can't happen!" assert- like thing, and so inappropriate for bad arguments to a public C API function).
* SF bug 485175: buffer overflow in traceback.c.Tim Peters2001-11-271-0/+1
| | | | | | | Bugfix candidate. tb_displayline(): the sprintf format was choking off the file name, but used plain %s for the function name (which can be arbitrarily long). Limit both to 500 chars max.
* Properly set static options for tixBalloon and tixResizeHandle.Martin v. Löwis2001-11-251-0/+2
| | | | | Expose Tix.ResizeHandle.{detach_widget,hide,show}. Update Tix demos.
* Patch #484847: Default to netscape.exe on OS/2.Martin v. Löwis2001-11-251-0/+2
|
* Rename get_referents to get_referrers. Fixes #483815.Martin v. Löwis2001-11-241-0/+4
|
* Add skeleton for 2.2c1 news.Tim Peters2001-11-171-0/+27
|
* Merged in NEWS changes from the r22b2 branch.Barry Warsaw2001-11-161-3/+57
|
* Group dict[ionary] news together; and use dict() instead ofGuido van Rossum2001-11-151-5/+4
| | | | dictionary().
* Correct the description of mixed multiple inheritance: the codeGuido van Rossum2001-11-151-5/+3
| | | | | | | special-cases classic classes, it doesn't do anything about other cases where different metaclasses are involved (except for the trivial case where one metaclass is a subclass of the others). Also note that it's metaclass, not metatype.
* News about mixing classic and new-style classes in MI.Tim Peters2001-11-151-1/+14
|
* CVS patch #477161: New "access" keyword for mmap, from Jay T Miller.Tim Peters2001-11-131-1/+8
| | | | | | | | | | This gives mmap() on Windows the ability to create read-only, write- through and copy-on-write mmaps. A new keyword argument is introduced because the mmap() signatures diverged between Windows and Unix, so while they (now) both support this functionality, there wasn't a way to spell it in a common way without introducing a new spelling gimmick. The old spellings are still accepted, so there isn't a backward- compatibility issue here.
* Add note about assignment to __debug__ being an error.Jeremy Hylton2001-11-091-0/+4
|
* Patch #478654: Expose tk_chooseDirectory.Martin v. Löwis2001-11-071-0/+3
| | | | Also delegate kw arguments through ** calls.
* News about OS/2 Visual Age C++ patches.Tim Peters2001-11-051-0/+3
|
* Finish SF patch 477059: __del__ on new classes vs. GC.Tim Peters2001-11-031-0/+5
| | | | Just doc and NEWS here, about the change in gc.garbage meaning.
* Improved error msg when a symbolic group name is redefined. Added docsTim Peters2001-11-031-0/+6
| | | | | | and NEWS. Bugfix candidate? That's a dilemma for Anthony <wink>: /F did fix a longstanding bug here, but the fix can cause code to raise an exception that previously worked by accident.
* Patch #471120: Improved doc strings and new wrappers.Martin v. Löwis2001-11-021-0/+5
|
* Move a name into correct position.Tim Peters2001-10-311-1/+1
|