summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add __del__ callbacks. They are too useful to leave out.Guido van Rossum2001-10-292-0/+77
| | | | | | | | | | | | | | | | XXX Remaining problems: - The GC module doesn't know about these; I think it has its reasons to disallow calling __del__, but for now, __del__ on new-style objects is called when the GC module discards an object, for better or for worse. - The code to call a __del__ handler is really ridiculously complicated, due to all the different debug #ifdefs. I've copied this from the similar code in classobject.c, so I'm pretty sure I did it right, but it's not pretty. :-( - No tests yet.
* SF bug #476138: tempfile behavior across platformsTim Peters2001-10-292-4/+16
| | | | | Ensure that a tempfile can be closed any number of times without error. This wasn't true on Windows.
* Revise the PDF support in the LaTeX style sheet. This still isn't quiteFred Drake2001-10-291-24/+47
| | | | | right, but the tests for whether we are generating PDF are a bit more readable, and some unnecessary indirection has been removed.
* Update to reflect changes to the low-level logreader: share the infoFred Drake2001-10-291-10/+19
| | | | | | dictionary instead of building a new one, and provide an overridable method to allow subclasses to catch ADD_INFO records that are not part of the initial block of ADD_INFO records created by the profiler itself.
* Add a test for the insertion of user-provided ADD_INFO records.Fred Drake2001-10-291-2/+12
|
* Allow user code to call the addinfo() method on the profiler object.Fred Drake2001-10-291-0/+3
|
* Make the low-level log-reader object export a dictionary mapping keysFred Drake2001-10-291-45/+163
| | | | | | | | | | | | | | to lists of values, giving the contents of all the ADD_INFO records seen so far. This is initialized agressively when the log file is opened, so that whoever is looking at the log reader can always see the initial data loaded into the data stream. ADD_INFO events later in the log file continue to be reported to the application layer as before. Add a new method, addinfo(), to the profiler. This can be used to insert additional ADD_INFO records into the profiler log. Fix the tp_flags and tp_name slots on the type objects.
* dictionary -> dictAndrew M. Kuchling2001-10-291-1/+1
|
* Fix two typos noted by Jens QuadeAndrew M. Kuchling2001-10-291-5/+12
| | | | Bump version number
* Add additional information on exceptions from time.mktime() and related toFred Drake2001-10-291-2/+7
| | | | | improper time tuples passed to various functions. Based on comments from Andreas Jung.
* More refcount information.Fred Drake2001-10-291-0/+40
|
* Ignore all *.tex files in the typesetting output directories since there areFred Drake2001-10-292-2/+2
| | | | a bunch of them now.
* Make sure we generate versions of each file in the Python/C API manual withFred Drake2001-10-292-3/+52
| | | | | reference-count annotations; this is needed for the typeset forms of the manuals.
* Use connect_ex() instead of connect().Jeremy Hylton2001-10-291-12/+9
| | | | Removes old XXX comment and possible source of long-delays.
* Fix for SF bug 453099 -- select not defensiveJeremy Hylton2001-10-291-5/+16
| | | | | | | | | | And SF patch 473223 -- infinite getattr loop Wrap select() and poll() calls with try/except for EINTR. If EINTR is raised, treat as a response where no fd is ready. In dispatcher constructor, make sure self.socket is always initialized.
* Fix some markup errors noted by MHAndrew M. Kuchling2001-10-291-5/+5
| | | | Use attribute assignment to illustrate __slots__ raising an error
* When overriding __str__ or __repr__, set the tp_print slot to NULL.Guido van Rossum2001-10-291-0/+2
|
* more loading from cfg filesSteven M. Gava2001-10-291-17/+61
|
* more of config dialog reading from filesSteven M. Gava2001-10-294-38/+82
|
* Use sendall() in the stream test instead of send().Guido van Rossum2001-10-291-1/+1
|
* Test sendall().Guido van Rossum2001-10-291-1/+1
|
* Add 'sendall' to list of socket methods.Guido van Rossum2001-10-291-1/+1
|
* added finditer sanity checkFredrik Lundh2001-10-282-3/+13
|