summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Rename PyType_InitDict() to PyType_Ready().Guido van Rossum2001-08-075-13/+16
| | | | | | - Add an explicit call to PyType_Ready(&PyList_Type) to pythonrun.c (just for the heck of it, really -- we should either explicitly ready all types, or none).
* Add the NannyNag exception class and the process_tokens() function toGuido van Rossum2001-08-071-1/+1
| | | | | | | | | __all__, to indicate these are implied as part of the public API. IDLE's "Check Module" command uses this, and it broke once already because the reset_globals() and tokeneater() functions were deleted when Neil converted this to using the generator API of tokenizer. (See SF bug #448835.)
* Fix for SF bug #448835.Guido van Rossum2001-08-071-2/+1
| | | | | | | Fix this to work with the new (still undocumented) tabnanny API. I'm afraid Stephen will have to add this fix to the IDLE fork code base as well.
* Remove the test for the 'object' type -- it can no longer beGuido van Rossum2001-08-071-24/+0
| | | | | instantiated. (Its use as a base class is adequately tested by other tests.)
* Cosmetics:Guido van Rossum2001-08-071-10/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add comment blocks explaining add_operators() and override_slots(). (This file could use some more explaining, but this is all I had breath for today. :) - Renamed the argument 'base' of add_wrappers() to 'wraps' because it's not a base class (which is what the 'base' identifier is used for elsewhere). Small nits: - Fix add_tp_new_wrapper() to avoid overwriting an existing __new__ descriptor in tp_defined. - In add_operators(), check the return value of add_tp_new_wrapper(). Functional change: - Remove the tp_new functionality from PyBaseObject_Type; this means you can no longer instantiate the 'object' type. It's only useful as a base class. - To make up for the above loss, add tp_new to dynamic types. This has to be done in a hackish way (after override_slots() has been called, with an explicit call to add_tp_new_wrapper() at the very end) because otherwise I ran into recursive calls of slot_tp_new(). Sigh.
* silence warnings about import *Jeremy Hylton2001-08-071-0/+7
|
* Brought up-to-date.Jack Jansen2001-08-071-0/+0
|
* Got rid of (hopefully) the last 68k-mac related ifdefs.Jack Jansen2001-08-072-69/+0
|
* Got rid of 68k-Mac and other outdated ifdefs.Jack Jansen2001-08-075-37/+0
|
* Got rid of mactcp cruft, added Mlte and CF modules.Jack Jansen2001-08-071-8/+6
|
* Removed unused variable.Jack Jansen2001-08-071-2/+0
|
* Yet another project.Jack Jansen2001-08-072-0/+1078
|
* Got rid of (hopefully) the last 68k Mac-related ifdefs and various other cruft.Jack Jansen2001-08-079-21/+0
|
* Removed outdated stuff.Jack Jansen2001-08-073-130/+0
|
* Document two new itemsAndrew M. Kuchling2001-08-071-9/+21
| | | | | Correct error noticed by Keith Briggs Re-indent a paragraph
* Project files for the new plugin modules, plus a few that hadn't been added ↵Jack Jansen2001-08-0738-0/+18457
| | | | yet but should have been.
* Bit another bullet: all toolbox modules are now in dynamically loaded ↵Jack Jansen2001-08-079-146/+41
| | | | modules. Everything still seems to work, but the ConfigurePythonXXX on initial install may still need work.
* Bit the bullet and enabled garbage collection (finally).Jack Jansen2001-08-075-12/+64
| | | | Also updated pyconfig.h to the current state of pyconfig.h.in.
* more fleshing out, this time primarily the 'general' pageSteven M. Gava2001-08-071-2/+73
|
* Another bug fix for recent import * warning (caught by Thomas Wouters)Jeremy Hylton2001-08-061-3/+3
| | | | | Only return if symtable_warn() returns -1, indicating that the warning was turned into an error.
* + Turn off patch creation (this isn't a patch release! got turned on byTim Peters2001-08-061-23/+45
| | | | | | | | | mistake). + Arrange for Win2K Add/Remove to show a Python icon. I think this "does it" -- a full install/uninstall can now be done on a Win2K box from an ordinary (not Admin, not Power User) user acct, incl. file extension registration, Start Menu entries, and full Add/Remove.
* Fix error message for import * in function/class scopeJeremy Hylton2001-08-061-1/+1
|
* Fix SF bug [ #445474 ] warn about import * inside functionsJeremy Hylton2001-08-061-0/+5
| | | | Reported by the Man himself.
* Tabify the file (pointed out by Thomas Wouters)Andrew M. Kuchling2001-08-061-19/+19
|
* Update listing of subdirectoriesAndrew M. Kuchling2001-08-061-1/+21
| | | | Update link to a running instance of the FAQwizard
* Remove spurious "closed" attribute definition from the memberlistGuido van Rossum2001-08-061-1/+0
| | | | table. (reported as an aside in SF #446049).
* Remove various outdated files. (Leaving find_recursionlimit.py alone,Andrew M. Kuchling2001-08-069-835/+0
| | | | as Neil pointed out it isn't the same as sys.getrecursionlimit)
* Update cheatsheet to 2.0 from Brunning/Gruet's quick referenceAndrew M. Kuchling2001-08-061-535/+2212
|
* Add 'yield' as a keywordAndrew M. Kuchling2001-08-061-2/+2
| | | | Fix typo in comment
* A totally new way to do the __new__ wrapper. This should address theGuido van Rossum2001-08-061-34/+45
| | | | problem brought up in SF bug #444229.
* Oops, arg type for the glue routine was wrong.Jack Jansen2001-08-061-1/+1
|
* Show the MacPython IDE version in the interactive banner.Just van Rossum2001-08-061-1/+4
|
* Oops, this file was apparently never added to the repository. Now it is.Jack Jansen2001-08-061-0/+3
|
* Replace moddir and incdir byJack Jansen2001-08-051-5/+62
| | | | | | | | | moddirlist and incdirlist, lists of source and include directories that are searched for modules. This is needed because the Mac modules and include files live in the Mac subtree. In addition (and that's actually what the mod is all about) on OSX we build all the Mac extension modules.
* Patch #448194: Debuging negative reference counts.Martin v. Löwis2001-08-051-5/+6
|
* Add a comment on time.time() returning non-decreasing values except whenFred Drake2001-08-051-1/+3
| | | | | | the clock is set back. This closes SF bug #447945.
* + Made installer more reluctant to overwrite MS C runtime DLLs -- it'sTim Peters2001-08-051-44/+271
| | | | | | | | | | | | | | | | | been overwriting them even if they have the same version, not just if they're an older version (and our installers have always done this). + Added an "Advanced Options" subdialog to "Select Components". Allows to do a non-admin install even if you have Administrator rights, and to skip registering file extensions and/or creating Start Menu shortcuts. Since so far these installers have been tested only by me, and Win2K has been full of surprises, I want those options available out in the field. Lots of web searching turned up what should have been obvious: Because Windows Installer is a native Win2K service, it can run at a higher privilege level than the user invoking it. So MSI installs don't bash into these permission gotchas on Win2K, but Wise 8.1 does (it's just another app to Win2K, and we're not alone in wrestling with this; but, like changing int division in Python, Win2K is doing a right thing <wink>).
* fix for Bug ID 448100 - "test code using NL instead of CRNL"Piers Lauder2001-08-051-1/+1
|
* began font / indentation pageSteven M. Gava2001-08-051-7/+85
|
* Rename pydoc.pyw to pydocgui.pyw: Since we changed Python to allow .pywTim Peters2001-08-053-3/+6
| | | | files to satisfy imports, pydoc.pyw was just importing itself!
* + Redid file associations on Win2K in what I believe is "the right way".Tim Peters2001-08-051-171/+271
| | | | | | | | | | | | | | | Can't test it until getting to a Win2K box, because the non-Admin way of setting file associations on Win2K doesn't work on any other flavor of Windows (and other flavors of Windows never need Admin privs to do it the old way). + Consequently got rid of the "Register file associations" Component and associated GUI. + Added a line to the summary saying whether or not this is an Admin-level install (I fear that will be an important clue someday). + Minor fiddling to the summary to reduce the # of lines. Added a horizontal scrollbar in case the install path is very long. + Reworked the way the Main and Tools components share pydoc.pyw; cleaner and simpler.
* New runtime vrbl DOADMIN. When false, we never try to write under HKLM,Tim Peters2001-08-052-15/+38
| | | | | | | | | | | | and install the Python and MS runtime DLLs into the Python dir instead of a system dir. Initial value is taken from new compiler vrbl _DOADMIN_ (default true), and forced to false if the user doesn't have admin privs. This makes it possible to *test* non-admin installs on machines where the distinction doesn't exist (like my home box), via just changing _DOADMIN_. It may also be useful for users who don't *want* an installer to scribble into their system dir (for example, me(! most days)), but that would require adding more GUI to let them get at it.
* + Add version info to Win2K add/remove.Tim Peters2001-08-041-103/+142
| | | | | | | | | | | | | | | | | | | | | | + Fiddle vrbls so Win2K add/remove can display version w/o future manual script fiddling. + Break apart the mysterious wizard-generated Win2K "Edit 3 Registry Keys" script items by hand into 3 separate items, so you can see what the heck they're doing in the script view. + pydoc.pyw was a problem: it's installed by both the Main and Tools components. So when both were selected, the second time it got installed Wise figured it was overwriting a pre-existing version, and made a backup copy in BACKUP. A rollback-uninstall then restored that, leaving the Tools/Scripts/ directory non-empty, and so Wise couldn't remove that directory (or any above it). Fixed by installing pydoc.pyw at most once. + Rearranged and commented the "register file extensions" section, because it was confusing and needs more work: turns out it's not true that Win2K requires Admin privs to register file extensions, BUT, if you don't have Admin privs, Win2K requires a new way to register file extensions, and a way that doesn't blow up but doesn't do any good either on earlier Windows flavors. I think I know how to get this done, but am too depressed to do it right now <0.7 wink>.
* Add more constants. Contributed by itojun.Martin v. Löwis2001-08-041-1/+73
|
* Auto-detect hstrerror. Raise socket.herror in PyH_Error. Register the threeMartin v. Löwis2001-08-044-5/+10
| | | | exception classes in the module dictionary.
* Document IPv6 changes. Contributed by itojun.Martin v. Löwis2001-08-042-29/+206
|
* Hack to workaround bug #445984: attempt to import _socket beforeGreg Ward2001-08-041-0/+4
| | | | | | | starting the test suite proper. If _socket fails to build, that will make this test fail with an ImportError -- handled by the test harness as "no such module _socket" -- instead of an AttributeError deep in CGIHTTPServer.
* further work on keybinding pageSteven M. Gava2001-08-041-29/+119
|
* Derived from SF patch #446899 Permit import of .pyw under Windows, fromTim Peters2001-08-044-46/+68
| | | | David Bolen.
* Plug a memory leak in Py_InitModule4(): when PyDict_SetItemString() failed,Fred Drake2001-08-041-2/+6
| | | | | | the object being inserted was not being DECREFed. This closes SF bug #444486.