Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | has_finalizer(): simplified "if (complicated_bool) 1 else 0" to | Tim Peters | 2001-11-01 | 1 | -8/+3 |
| | | | | "complicated_bool". | ||||
* | Brute-force performance hackery; buys back about 20% of the time for | Fred Drake | 2001-11-01 | 1 | -121/+165 |
| | | | | saferepr(), a bit less for pformat(). | ||||
* | Add has_finalizer predictate function. Use it when deciding which | Neil Schemenauer | 2001-11-01 | 1 | -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 modules | Jack Jansen | 2001-11-01 | 1 | -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 Rossum | 2001-11-01 | 1 | -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 Jansen | 2001-11-01 | 1 | -0/+6 |
| | |||||
* | __del__ is done -- except for the GC issue. | Guido van Rossum | 2001-11-01 | 1 | -5/+5 |
| | |||||
* | Make the gc.collect() function respect the collection lock. This fixes | Neil Schemenauer | 2001-10-31 | 1 | -4/+11 |
| | | | | SF bug 476129: "gc.collect sometimes hangs". | ||||
* | Workaround for odd problem on my machine: without this I get a traceback | Just van Rossum | 2001-10-31 | 1 | -1/+5 |
| | | | | if I hit enter instead of return upon file selection. | ||||
* | Moved macfsn hackery from macmain.c to macfsmodule.c so it loads | Just van Rossum | 2001-10-31 | 2 | -30/+32 |
| | | | | on demand instead of at startup. | ||||
* | fix for | Michael W. Hudson | 2001-10-31 | 1 | -2/+2 |
| | | | | | | [ #476557 ] Wrong error message for file.write(a, b) Makes file.write a METH_VARARGS function. | ||||
* | Fix markup typo | Andrew M. Kuchling | 2001-10-31 | 1 | -1/+1 |
| | |||||
* | Add paragraph about difflib suggested by David Goodger | Andrew M. Kuchling | 2001-10-31 | 1 | -2/+11 |
| | | | | Bump version number | ||||
* | call the correct base method (found due to better inheritance checking in 2.2) | Just van Rossum | 2001-10-31 | 1 | -1/+1 |
| | |||||
* | Link the core with CoreServices, not with Carbon, and don't use any Carbon | Jack Jansen | 2001-10-31 | 4 | -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. | ||||
* | Regenerated | Jack Jansen | 2001-10-31 | 2 | -18/+4 |
| | |||||
* | Documentation patches by bsherwood | Chui Tey | 2001-10-31 | 1 | -4/+13 |
| | |||||
* | Added structseq.c | Just van Rossum | 2001-10-31 | 1 | -0/+0 |
| | |||||
* | Added Donovan Preston and reformatted to 80-char lines. | Jack Jansen | 2001-10-31 | 1 | -74/+82 |
| | |||||
* | Move a name into correct position. | Tim Peters | 2001-10-31 | 1 | -1/+1 |
| | |||||
* | SF patch #474485: pydoc generates some bad html, from Rich Salz. | Tim Peters | 2001-10-31 | 2 | -5/+6 |
| | |||||
* | SF patch #474500: Make OS/2 locks work like posix locks, from Michael | Tim Peters | 2001-10-31 | 2 | -30/+62 |
| | | | | Muller. | ||||
* | Huh. In an effort to be less thorough <wink>, seems I checked in a new | Tim Peters | 2001-10-31 | 1 | -1/+1 |
| | | | | test that wouldn't even compile, | ||||
* | Fix bad bug in structseq slicing (NULL pointers in result). Reported by | Tim Peters | 2001-10-30 | 4 | -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 Jansen | 2001-10-30 | 1 | -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 Jansen | 2001-10-30 | 3 | -5/+7 |
| | |||||
* | Fix grammar error | Andrew M. Kuchling | 2001-10-30 | 1 | -2/+2 |
| | |||||
* | Rewrites and additions resulting from today's feedback | Andrew M. Kuchling | 2001-10-30 | 1 | -24/+49 |
| | |||||
* | SF bug #474077 2.2b1: Error compiling extns with BCC | Tim Peters | 2001-10-30 | 2 | -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 documentation | Fred Drake | 2001-10-30 | 1 | -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 in | Fred Drake | 2001-10-30 | 1 | -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 rewrites | Andrew M. Kuchling | 2001-10-30 | 1 | -28/+31 |
| | | | | Bump version number | ||||
* | Corrections noted by Michael McLay | Andrew M. Kuchling | 2001-10-30 | 1 | -4/+4 |
| | |||||
* | /F observes that we need an else: in connect() | Jeremy Hylton | 2001-10-30 | 1 | -1/+2 |
| | |||||
* | Don't override asplit_pat in Scanner_UH3. No reason to do so, and it broke | Jack Jansen | 2001-10-30 | 1 | -1/+0 |
| | | | | generating Waste. | ||||
* | On the macintosh don't take a quick exit in find_module() for frozen ↵ | Jack Jansen | 2001-10-30 | 1 | -0/+8 |
| | | | | submodule imports: the frozen import goes through a different mechanism. | ||||
* | Promote file objects out of the "Other Objects" category, so they become | Fred Drake | 2001-10-30 | 1 | -172/+172 |
| | | | | visible in the table of contents. | ||||
* | Promote built-in functions to come before built-in types. | Fred Drake | 2001-10-30 | 2 | -4/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-10-30 | 4 | -5/+5 |
| | |||||
* | Mention the new file() builtin in the section on file objects. | Tim Peters | 2001-10-30 | 1 | -3/+6 |
| | |||||
* | To cover a recent checkin, added a test to ensure dir(None) == dir(Ellipsis). | Tim Peters | 2001-10-30 | 1 | -0/+4 |
| | |||||
* | Just changed some continued-line indentation to read better, due to | Tim Peters | 2001-10-30 | 1 | -3/+3 |
| | | | | the earlier s/dictionary/dict/ change. | ||||
* | Fix SF bug #456386: test_commands regression failure (Andrew Dalke) | Guido van Rossum | 2001-10-30 | 1 | -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 Rossum | 2001-10-30 | 2 | -0/+4 |
| | |||||
* | Change the limit on the input size for b2a_base64 to what will fit in | Guido van Rossum | 2001-10-30 | 1 | -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) will | Guido van Rossum | 2001-10-30 | 1 | -14/+20 |
| | | | | return the same as dir(None). | ||||
* | Minimal test for __del__ hook. | Guido van Rossum | 2001-10-30 | 1 | -0/+12 |
| | |||||
* | PySocketSock_connect_ex(): On Windows, return the correct Windows exit | Tim Peters | 2001-10-30 | 1 | -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 Lundh | 2001-10-29 | 1 | -0/+52 |
| | |||||
* | Rename "dictionary" (type and constructor) to "dict". | Tim Peters | 2001-10-29 | 10 | -63/+66 |
| |