summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* has_finalizer(): simplified "if (complicated_bool) 1 else 0" toTim Peters2001-11-011-8/+3
| | | | "complicated_bool".
* Brute-force performance hackery; buys back about 20% of the time forFred Drake2001-11-011-121/+165
| | | | saferepr(), a bit less for pformat().
* Add has_finalizer predictate function. Use it when deciding whichNeil Schemenauer2001-11-011-14/+26
| | | | | | | | | | | objects to save in gc.garbage. This should be the last change needed to fix SF bug 477059: "__del__ on new classes vs. GC". Note that this change slightly changes the behavior of the collector. Before, if a cycle was found that contained instances with __del__ methods then all instance objects in that cycle were saved in gc.garbage. Now, only objects with __del__ methods are saved in gc.garbage.
* The import check in setup.py fails on Mac OS X for Carbon-based modulesJack Jansen2001-11-011-0/+5
| | | | | | | if you are not building while logged in to the console (you cannot connect to the window server, so the Carbon library doesn't initialize). Added a quick hack to skip the import test, with a warning, for modules linked against Carbon.
* SF bug #477059 (my own): __del__ on new classes vs. GC.Guido van Rossum2001-11-011-1/+3
| | | | | | When moving objects with a __del__ attribute to a special list, look for __del__ on new-style classes with the HEAPTYPE flag set as well. (HEAPTYPE means the class was created by a class statement.)
* Under MachO-Python unconditionally import macfsn.Jack Jansen2001-11-011-0/+6
|
* __del__ is done -- except for the GC issue.Guido van Rossum2001-11-011-5/+5
|
* Make the gc.collect() function respect the collection lock. This fixesNeil Schemenauer2001-10-311-4/+11
| | | | SF bug 476129: "gc.collect sometimes hangs".
* Workaround for odd problem on my machine: without this I get a tracebackJust van Rossum2001-10-311-1/+5
| | | | if I hit enter instead of return upon file selection.
* Moved macfsn hackery from macmain.c to macfsmodule.c so it loadsJust van Rossum2001-10-312-30/+32
| | | | on demand instead of at startup.
* fix forMichael W. Hudson2001-10-311-2/+2
| | | | | | [ #476557 ] Wrong error message for file.write(a, b) Makes file.write a METH_VARARGS function.
* Fix markup typoAndrew M. Kuchling2001-10-311-1/+1
|
* Add paragraph about difflib suggested by David GoodgerAndrew M. Kuchling2001-10-311-2/+11
| | | | Bump version number
* call the correct base method (found due to better inheritance checking in 2.2)Just van Rossum2001-10-311-1/+1
|
* Link the core with CoreServices, not with Carbon, and don't use any CarbonJack Jansen2001-10-314-31/+137
| | | | | | | | | | routines. As of 10.1 using Carbon will crash Python if no window server is available (ssh connection, console mode, MacOSX Server). This fixes bug #466907. A result of this mod is that the default 8bit encoding on OSX is now ASCII, for the time being. Also, the extension modules that need the Carbon framework now explicitly include it in setup.py.
* RegeneratedJack Jansen2001-10-312-18/+4
|
* Documentation patches by bsherwoodChui Tey2001-10-311-4/+13
|
* Added structseq.cJust van Rossum2001-10-311-0/+0
|
* Added Donovan Preston and reformatted to 80-char lines.Jack Jansen2001-10-311-74/+82
|
* Move a name into correct position.Tim Peters2001-10-311-1/+1
|
* SF patch #474485: pydoc generates some bad html, from Rich Salz.Tim Peters2001-10-312-5/+6
|
* SF patch #474500: Make OS/2 locks work like posix locks, from MichaelTim Peters2001-10-312-30/+62
| | | | Muller.
* Huh. In an effort to be less thorough <wink>, seems I checked in a newTim Peters2001-10-311-1/+1
| | | | test that wouldn't even compile,
* Fix bad bug in structseq slicing (NULL pointers in result). Reported byTim Peters2001-10-304-6/+22
| | | | | | Jack Jansen on python-dev. Add simple test case. Move vereq() from test_descr to test_support (it's handy!).
* Mod by Donovan Preston to allow MacPython to live in a Python.app bundle and ↵Jack Jansen2001-10-301-34/+62
| | | | | | understand the __main__.py convention used there for applets. This gives us applets that work on both OS9 and OSX! (Although "applet" may not be the correct word for something that is going to be multimegabyte:-). But: the code is currently disabled, as it requires CodeWarrior 7 and I'm still using 6.
* Files used for MacPython 2.2b1 distribution.Jack Jansen2001-10-303-5/+7
|
* Fix grammar errorAndrew M. Kuchling2001-10-301-2/+2
|
* Rewrites and additions resulting from today's feedbackAndrew M. Kuchling2001-10-301-24/+49
|
* SF bug #474077 2.2b1: Error compiling extns with BCCTim Peters2001-10-302-1/+1
| | | | | | Removed "#undef HAVE_HYPOT" line from Borland config, as suggested. Whether this will break some other Borland usage is a good question I can't answer.
* Always use --dvips-safe when generating HTML for the standard documentationFred Drake2001-10-301-2/+3
| | | | | since we do not have anything that causes dvips to be run except when PostScript is specifically requested, which is a separate target.
* Add a new option, --dvips-safe, which sets the $DVIPS_SAFE option inFred Drake2001-10-301-1/+30
| | | | | | | | LaTeX2HTML. This is not safe to do in general (for the reasons LaTeX2HTML protects against dvips to begin with), but is safe if we do not actually need to run dvips. Note that we also assume it is safe if the user specifically requests PostScript generation. See the comments for further explanation.
* Various minor rewritesAndrew M. Kuchling2001-10-301-28/+31
| | | | Bump version number
* Corrections noted by Michael McLayAndrew M. Kuchling2001-10-301-4/+4
|
* /F observes that we need an else: in connect()Jeremy Hylton2001-10-301-1/+2
|
* Don't override asplit_pat in Scanner_UH3. No reason to do so, and it brokeJack Jansen2001-10-301-1/+0
| | | | generating Waste.
* On the macintosh don't take a quick exit in find_module() for frozen ↵Jack Jansen2001-10-301-0/+8
| | | | submodule imports: the frozen import goes through a different mechanism.
* Promote file objects out of the "Other Objects" category, so they becomeFred Drake2001-10-301-172/+172
| | | | visible in the table of contents.
* Promote built-in functions to come before built-in types.Fred Drake2001-10-302-4/+2
|
* Whitespace normalization.Tim Peters2001-10-304-5/+5
|
* Mention the new file() builtin in the section on file objects.Tim Peters2001-10-301-3/+6
|
* To cover a recent checkin, added a test to ensure dir(None) == dir(Ellipsis).Tim Peters2001-10-301-0/+4
|
* Just changed some continued-line indentation to read better, due toTim Peters2001-10-301-3/+3
| | | | the earlier s/dictionary/dict/ change.
* Fix SF bug #456386: test_commands regression failure (Andrew Dalke)Guido van Rossum2001-10-301-1/+1
| | | | | | | | | test_commands does not work on IRIX It assumes the output of "ls /bin/ls" is a line that starts with a '-'. On IRIX that file is a symbolic link, so the first character is an l. This causes test_getstatus to fail.
* News and attribution for SF bug #473009.Guido van Rossum2001-10-302-0/+4
|
* Change the limit on the input size for b2a_base64 to what will fit inGuido van Rossum2001-10-301-1/+3
| | | | | | memory, rather than the standard's 57. This fixes SF bug #473009.
* Add values to tp_getattro and tp_flags so that dir(Ellipsis) willGuido van Rossum2001-10-301-14/+20
| | | | return the same as dir(None).
* Minimal test for __del__ hook.Guido van Rossum2001-10-301-0/+12
|
* PySocketSock_connect_ex(): On Windows, return the correct Windows exitTim Peters2001-10-301-1/+6
| | | | | code. The patch is from Jeremy, and allows test_asynchat to run again. Bugfix candidate.
* directory chooser (requires a recent version of Tk)Fredrik Lundh2001-10-291-0/+52
|
* Rename "dictionary" (type and constructor) to "dict".Tim Peters2001-10-2910-63/+66
|