summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Patch by Chris Herborth:Guido van Rossum1998-12-171-1/+7
| | | | | BeOS headers live in various non-standard places; luckily, there's an environment variable that lists them all.
* Changes for new BeOS port by Chris HerborthGuido van Rossum1998-12-173-149/+74
|
* Jim Fulton writes:Guido van Rossum1998-12-151-42/+73
| | | | | This fixes a bug that can cause core dumps when doing seeks in input StringIO objects. This has a number of other clean-ups.
* Move the prototype for dump_counts() to before where it is used.Guido van Rossum1998-12-151-4/+4
| | | | (This only applies when COUNT_ALLOCS is defined.)
* Sjoerd Mullender:Guido van Rossum1998-12-152-3/+7
| | | | | When printing missing modules, also print the module they were imported from.
* (py-goto-beginning-of-tqs): Finds the beginning of the triple quotedBarry Warsaw1998-12-151-11/+28
| | | | | | | | | | | | | | | | | | | | | | | string we find ourselves in, based on the passed in delimiter. (py-compute-indentation): Fixes for indentation errors when we land inside a triple quoted string. For example: def foo(): if os.path.isfile(o_pri_mbox_file) and os.path.isfile(o_pub_mbox_file): print """\ I found both a private and a public mbox archive file private: %s public : %s I won't move either file, but you should choose one and move it to %s You may want to merge them manually, but be careful about exposing private correspondences to the public.""" % ( o_pri_mbox_file, o_pub_mbox_file, mbox_file) *----indentation would be wrong on this line.
* Added most of the mechanism to change the strips from color variationsBarry Warsaw1998-12-151-20/+101
| | | | | | | | to color constants (i.e. red constant, green constant, blue constant). But I haven't hooked this up yet because the UI gets more crowded and the arrows don't reflect the correct values. Added "Go to Black" and "Go to White" buttons.
* A start on the TestModExp appletBarry Warsaw1998-12-153-6/+6
| | | | "Author" => "Contact"
* grid_bbox(): support new Tk API: grid bbox ?column row? ?column2 row2?Barry Warsaw1998-12-151-4/+8
|
* "Author" -> "Contact"Barry Warsaw1998-12-144-8/+8
|
* Fixed bug reported to Gregor Hoffleit:Andrew M. Kuchling1998-12-141-1/+1
| | | | | | | > mpz.mpz('\xff') should return mpz(255). Instead it returns > mpz(4294967295L). Looks like the constructor doesn't work with strings > containing characters above chr(128). Caused by using just 'char' where 'unsigned char' should have been used.
* As noted by Per Cederqvist, new_buffersize() sometimes returns theGuido van Rossum1998-12-111-2/+11
| | | | | | | buffer increment, and sometimes the new buffer size. Make it do what its name says, and fix the one place where this matters to the caller. Also add a comment explaining why we call lseek() and then ftell().
* When tracing references, reset the type and size of tuples allocatedGuido van Rossum1998-12-111-0/+4
| | | | | from the fast free list -- the type (at least) is reset by _Py_Dealloc().
* Need to initialize self->safe_constructors early on to prevent crashGuido van Rossum1998-12-111-0/+1
| | | | in early dealloc. Patch by Andrew Dalke.
* Gregor Hoffleit writes:Guido van Rossum1998-12-111-1/+1
| | | | | | | | | | | | | But IMHO, this problem really reveals an annoyance in Python's makesetup. makesetup puts the global include directories "$(INCLUDEPY) $(EXECINCLUDEPY)" in front of the directories defined by the module in Setup. Therefore global (potentially older) header files are preferred over the ones set by the module, which makes it hard to compile new versions of modules when the old versions are installed. AFAIK, the other way around is common practice for most other software. This patch to makesetup would be an potential fix for this problem, though I don't know if it breaks anything else.
* create_module_info(): New function: Modify a <section> to create aFred Drake1998-12-101-13/+99
| | | | | | | | | <moduleinfo> element based on various meta information, and strip some cruftiness. This is more usable for information extraction, and organizes the information more clearly. cleanup_synopses(): Rewrite to use create_module_info(), so this will work with multi-rooted "documents".
* Remove another {\rm ...} construct.Fred Drake1998-12-101-2/+2
| | | | Sheesh, where do these things come from?
* Don't pass around a list of known empty elements, since the ESISFred Drake1998-12-101-5/+6
| | | | contains "e" events for them. This wasn't used anyway.
* Remove prototypes for PyOS_strto[u]l -- Chris Herborth.Guido van Rossum1998-12-102-6/+0
|
* Add more SET_LINENO instructions in long argument listsGuido van Rossum1998-12-101-1/+7
|
* Remove prototype for PyOS_strtol -- Chris Herborth.Guido van Rossum1998-12-101-1/+0
|
* Add prototypes for PyOS_strto[u]l -- Chris Herborth.Guido van Rossum1998-12-101-0/+9
|
* Need to define DL_EXPORT, of course!Guido van Rossum1998-12-101-0/+1
|
* No longer needed.Guido van Rossum1998-12-101-473/+0
|
* Needed to add DL_EXPORT to (redundant?) extern decl of module init function.Guido van Rossum1998-12-102-2/+2
|
* Added a transform to start cleaning up the modulesynopsis stuff aFred Drake1998-12-101-0/+17
| | | | little; more thinking is needed about what we really want.
* Nits.Fred Drake1998-12-101-11/+11
|
* Handle SGML variant as well as XML variant. SGML is *much* moreFred Drake1998-12-101-0/+12
| | | | likely to be used.
* Removing the BeOS specific 'ar' utility -- no longer needed,Guido van Rossum1998-12-0916-3334/+0
| | | | says Chris Herborth.
* In read_multi, allow a subclass to override the class we instantiateGuido van Rossum1998-12-091-4/+7
| | | | | | when we create a recursive instance, by setting the class variable 'FieldStorageClass' to the desired class. By default, this is set to None, in which case we use self.__class__ (as before).
* In __getslice__, use self.__class__ instead of UserList.Guido van Rossum1998-12-091-1/+1
|
* Sjoerd Mullender writes:Guido van Rossum1998-12-091-1/+1
| | | | | | The example Makefile.pre.in should also look at Setup.thread and Setup.local. Otherwise modules such as thread don't get incorporated in extensions.
* Moved to Python 1.5.2/LibGuido van Rossum1998-12-081-343/+0
|
* Update the descriptions of strftime() and strptime() to avoidFred Drake1998-12-081-45/+47
| | | | confusion, and describe what the "directives" are about.
* Make VC++ 5.0 compiler happy.Guido van Rossum1998-12-081-12/+8
|
* Correct the poplib example. Stephan Richter pointed out some problemsGuido van Rossum1998-12-081-3/+3
| | | | with it.
* Correctly document atan2.Guido van Rossum1998-12-081-1/+1
|
* Rename the parameters of atan2(), based on comments from Guido & PeterFred Drake1998-12-081-2/+2
| | | | A. Koren <pkoren@hex.net>.
* Sjoerd patches the previous patch:Guido van Rossum1998-12-081-0/+10
| | | | | In literal mode, also don't do anything about entity and character references, or about closing CDATA elements.
* Undo the change here -- there's no point in declaring a staticGuido van Rossum1998-12-081-1/+1
| | | | function as DL_IMPORT()!
* Sjoerd writes:Guido van Rossum1998-12-072-2/+10
| | | | | | When literal mode is entered it should exit automatically when the matching close tag of the last unclosed open tag is encountered. This patch fixes this.
* Adding thread support for BeOS by Chris Herborth.Guido van Rossum1998-12-071-0/+388
|
* "singed" --> "signed" (3 places)Fred Drake1998-12-071-3/+3
| | | | Noticed by Andrew MacIntyre <andymac@bullseye.apana.org.au>.
* Py_Main() must be DL_EXPORT too.Guido van Rossum1998-12-072-2/+2
|
* Patch by Jeff Rush:Guido van Rossum1998-12-071-1/+1
| | | | | | | | | | | | In SimpleHTTPServer.py, the server specified in test() should be BaseHTTPServer.HTTPServer, in case the request handler should want to reference the two attributes added by BaseHTTPServer.server_bind: self.server_name = hostname self.server_port = port There was some Bobo CGI code that wanted access to those attributes.
* Patch by Jeff Rush:Guido van Rossum1998-12-071-1/+1
| | | | | | | | | In CGIHTTPServer.py, the list of acceptable formats is -split- on spaces but -joined- on commas, resulting in double commas in the joined text. It appears harmless to my browser but ought to be fixed anyway. 'A, B, C' -> 'A,', 'B,', 'C,' -> 'A,,B,,C'
* Open the file in binary mode -- so serving images from a Windows boxGuido van Rossum1998-12-071-1/+1
| | | | might actually work.
* intermediateBarry Warsaw1998-12-051-0/+85
|
* Fixed some bugsBarry Warsaw1998-12-051-23/+32
|
* Fixed typos in --dumpBarry Warsaw1998-12-051-4/+4
|