summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove one compiler warning found with -Wstrict-prototypes.Fred Drake2000-08-311-1/+1
|
* tg@freebsd.orgJeremy Hylton2000-08-3110-0/+1629
| | | | close SF patch #101354
* Add /GX to 'compile_options'. This is definitely needed for C++ source;Greg Ward2000-08-311-2/+3
| | | | | | | | according to the MS docs it enables exception-handling, and (according to Alex Martelli <aleaxit@yahoo.com>) is needed to compile without getting warnings from standard C++ library headers. Apparently it doesn't cause any problems with C code, so I haven't bothered conditionalizing the use of /GX.
* adds support for --with-pydebug configure optionSkip Montanaro2000-08-304-461/+523
|
* Better error message with UnboundLocalErrorPaul Prescod2000-08-301-11/+39
|
* Add ".cxx" to the list of known C++ extensions.Greg Ward2000-08-301-1/+1
|
* Added docstring for 'wrap()' function.Greg Ward2000-08-301-0/+5
|
* PyOS_CheckStack() returns 1 when failing, not -1.Guido van Rossum2000-08-301-1/+1
|
* Push a little more here to avoid style information in the generationFred Drake2000-08-301-0/+3
| | | | scripts as much as possible.
* Remove the reference to stdwin. The comment was still true, but noFred Drake2000-08-301-6/+4
| | | | longer meaningful to a new user, since stdwin is long gone.
* doc changes to parallel changes to calendar.py moduleSkip Montanaro2000-08-301-11/+46
|
* patches from David Goodger. Closes patch 101085.Skip Montanaro2000-08-301-69/+104
| | | | | | | | | | * deletes cache * adds firstweekday and setfirstweekday functions that allow user to control which day of the week is first when displaying calendars * adds month, week, calendar functions that return their results instead of printing them * adds symbolic constants MONDAY, ..., SUNDAY so users need not remember the ordinal values of the weekdays
* Fix markup errorAndrew M. Kuchling2000-08-301-1/+1
|
* Markup revisions. Nothing was actually required to be able to format it,Fred Drake2000-08-301-54/+55
| | | | but many conventions were broken.
* Expand the test suite to test both the GNU gettext and translationBarry Warsaw2000-08-302-257/+154
| | | | class-based APIs.
* Added a couple of links to online documentation. Reasonable since thisFred Drake2000-08-301-0/+19
| | | | file is not used in the online documentation.
* Added James HenstridgeBarry Warsaw2000-08-301-0/+1
|
* Finalize this module for Python 2.0 based on feedback and input fromBarry Warsaw2000-08-301-173/+140
| | | | | Martin von Loewis, Peter Funk, James Henstridge, Francois Pinard, and Marc-Andre Lemburg.
* Oops, spell MAL's name right.Barry Warsaw2000-08-301-1/+1
|
* Documentation for the gettext module.Barry Warsaw2000-08-301-0/+495
|
* Added libgettext.texBarry Warsaw2000-08-302-0/+2
|
* Removed forgotten text in list comprehensions section (taken from the HaskellAndrew M. Kuchling2000-08-301-213/+263
| | | | | | | | description of listcomps and used as inspiration) Rearranged sections (which accounts for much of the size of the diffs) Added section on augmented assignment Mentioned 'print >>file' Broke up the "Core Changes" section into subsections
* Move a little more here.Fred Drake2000-08-291-0/+3
|
* Various tweaks and improvements by Thomas Wouters (who apparently lostGuido van Rossum2000-08-291-85/+58
| | | | the patch or forgot about it -- this is easier than reminding him).
* Add a --style option to allow specifying an alternate CSS style sheet forFred Drake2000-08-291-4/+8
| | | | | | | | HTML generation; the machinery was there but no option to set it was defined. Simplify some of the path-math since we can assume a recent version of Python.
* Fix for two problems on FreeBSD:Andrew M. Kuchling2000-08-291-3/+6
| | | | | | | In test_poll1(), unregister file descriptors as they're closed, and also close the read end of the pipe In test_poll2(), make the code assume less about the combinations of flag bits that will be returned
* Add a comment noting that the dependency information is stored inFred Drake2000-08-291-0/+3
| | | | Makefile.deps.
* Some cleanup for FreeBSD. This gets rid of version numbers andGuido van Rossum2000-08-292-214/+224
| | | | | | figures out old (a.out) and newer (ELF) systems, similar to NetBSD. (I'm assuming this is also by tg@FreeBSD.org.)
* "tg@FreeBSD.org" writes:Guido van Rossum2000-08-291-3/+3
| | | | | | Our (FreeBSD's) security officer doesn't like group-writable directories and sent a patch; don't install *.orig.
* Add support for FreeBSD-[45].Guido van Rossum2000-08-292-3/+3
| | | | -- tg@FreeBSD.org
* Patch by tg@FreeBSD.org to try /var/tmp first.Guido van Rossum2000-08-291-1/+1
| | | | This helps on 4.4BSD-based systems.
* These files are not part of the current plan.Fred Drake2000-08-2925-1594/+0
|
* Document "print >> None"Barry Warsaw2000-08-291-3/+4
|
* Added tests of "print >> None"Barry Warsaw2000-08-292-0/+26
|
* eval_code2(): Guido provides this patch for his suggested elaborationBarry Warsaw2000-08-291-2/+2
| | | | | of extended print. If the file object being printed to is None, then sys.stdout is used.
* Added 'script_name' and 'script_args' instance attributes to Distribution.Greg Ward2000-08-294-37/+58
| | | | | | | | Changed 'core.setup()' so it sets them to reasonable defaults. Tweaked how the "usage" string is generated: 'core' now provides 'gen_usage()', which is used instead of 'USAGE'. Modified "build_py" and "sdist" commands to refer to 'self.distribution.script_name' rather than 'sys.argv[0]'.
* Added os.popen2() and os.popen3() for non-Windows platforms.Fred Drake2000-08-284-4/+57
|
* oops. accidentally reintroduced a memory leak. put the bugfix back.Fredrik Lundh2000-08-271-3/+4
|
* don't mistake memory errors (including reaching the recursion limit)Fredrik Lundh2000-08-271-18/+24
| | | | | | | with success. also, check return values from the mark functions. this addresses (but doesn't really solve) bug #112693, and low-memory problems reported by jack jansen.
* Fix line-endings.Greg Ward2000-08-271-1/+1
| | | | Fix bad operator precedence: should be "(metadata or '') + '\n'".
* Replace the run-time 'future-bytecode-stream-inspection' hack to find outThomas Wouters2000-08-273-59/+19
| | | | | | | how 'import' was called with a compiletime mechanism: create either a tuple of the import arguments, or None (in the case of a normal import), add it to the code-block constants, and load it onto the stack before calling IMPORT_NAME.
* Hard to believe Guido compiled this! Function lacked a return stmt.Tim Peters2000-08-271-1/+1
|
* Re-allow 'import mod.submod as s', and change its meaning to what it shouldThomas Wouters2000-08-271-2/+5
| | | | mean; the same as 'from mod import submod as s'.
* The new PyEval_ReInitThreads wasn't declared in ceval.h; compiler wngs.Tim Peters2000-08-271-0/+1
|
* Add three new APIs: PyRun_AnyFileEx(), PyRun_SimpleFileEx(),Guido van Rossum2000-08-274-15/+41
| | | | | | | | | | | | | | PyRun_FileEx(). These are the same as their non-Ex counterparts but have an extra argument, a flag telling them to close the file when done. Then this is used by Py_Main() and execfile() to close the file after it is parsed but before it is executed. Adding APIs seems strange given the feature freeze but it's the only way I see to close the bug report without incompatible changes. [ Bug #110616 ] source file stays open after parsing is done (PR#209)
* implements PyOS_CheckStack for Windows and MSVC. this fixes aFredrik Lundh2000-08-272-1/+42
| | | | | | couple of potential stack overflows, including bug #110615. closes patch #101238
* Oops, one pop too many.Thomas Wouters2000-08-271-1/+0
|
* Charles Waldman's patch to reinitialize the interpreter lock after aGuido van Rossum2000-08-273-0/+23
| | | | | | | fork. This solves the test_fork1 problem. (ceval.c, signalmodule.c, intrcheck.c) SourceForge: [ Patch #101226 ] make threading fork-safe
* Open binary files in binary mode. Fixes test failure under Windows.Tim Peters2000-08-261-1/+1
|
* Fixed this problem.Thomas Wouters2000-08-261-4/+0
|