summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Don't enable the 'thread' module if threads are not possible.Thomas Wouters2000-08-262-154/+161
|
* Tim Peters:Moshe Zadka2000-08-261-26/+0
| | | | | Again due to the duplicate copies of test_support, the checked-in "expected output" file actually contains verbose-mode output.
* Another new test using "from test.test_support import ...", causingTim Peters2000-08-261-3/+1
| | | | | | | | | | | | | | | subtle breakage on Windows (the test is skipped here, but the TestSkipped exception wasn't recognized as such, because of duplicate copies of test_support got loaded; so the test looks like a failure under Windows instead of a skip). Repaired the import, but THIS TEST *WILL* FAIL ON OTHER SYSTEMS NOW! Again due to the duplicate copies of test_support, the checked-in "expected output" file actually contains verbose-mode output. I can't generate the *correct* non-verbose output on my system. So, somebody please do that.
* Try to supply a prototype for the module init function but avoidTim Peters2000-08-262-2/+2
| | | | | | Windows "inconsistent linkage" warnings at the same time. I agree with Mark Hammond that the whole DL_IMPORT/DL_EXPORT macro system needs an overhaul; this is just an expedient hack until then.
* New release of the Windows installer from Thomas Heller.Greg Ward2000-08-261-283/+296
| | | | | | | | | | | | | | | | | | | | | | | | | The known bug (bogus error message when an empty file is extracted) is fixed. Other changes: - The target-compile and target-optimize flags of bdist_wininst are gone. It is no longer possible to compile the python files during installation. - The zlib module is no longer required or used by bdist_wininst. - I moved the decompression/extraction code into a separate file (extract.c). - The installer stub is now compressed by UPX (see http://upx.tsx.org/). This reduces the size of the exe (and thus the overhead of the final installer program) from 40 kB to 16 kB. - The installer displays a more uptodate user wizard-like user interface, also containing a graphic: Just's Python Powered logo. (I could not convince myself to use one of the BeOpen logos). - The installation progress bar now moves correctly.
* Bumped version to 0.9.2pre.Greg Ward2000-08-261-1/+1
|
* In 'check_extensions_list()': when converting old-style 'buildinfo' dict,Greg Ward2000-08-261-1/+3
| | | | don't assign None to any attributes of the Extension object.
* Fixed a serious typo.Marc-André Lemburg2000-08-251-1/+1
|
* Update the parser module to support augmented assignment.Fred Drake2000-08-253-49/+152
| | | | Add some test cases.
* Fix to bug [ Bug #111860 ] file.writelines() crashes.Marc-André Lemburg2000-08-251-9/+34
| | | | | | | file.writelines() now tries to emulate the behaviour of file.write() as closely as possible. Due to the problems with releasing the interpreter lock the solution isn't exactly optimal, but still better than not supporting the file.write() semantics at all.
* Output of the new testMarc-André Lemburg2000-08-251-0/+1
|
* New test suite for file objects by Jeremy Hilton. This will needMarc-André Lemburg2000-08-251-0/+45
| | | | | to be extended somewhat -- right now it only tests the .writelines() method.
* How-to document for using Python for CGI scripting. Not complete and ↵Jack Jansen2000-08-251-0/+53
| | | | untested, but I'm checking it in so it won't get lost.
* Last set of CW Pro 5 projects (probably)Jack Jansen2000-08-2531-15/+41
|
* Include xx project, exclude all the others.Jack Jansen2000-08-251-67/+67
|
* Added prototype for DlgObj_ConvertToWindow().Jack Jansen2000-08-251-0/+1
|
* Added routine DlgObj_ConvertToWindow().Jack Jansen2000-08-253-2/+43
| | | | | GetDialogWindow() returns an existing window. Added a comment that the methodchain Dialogs->Windows is suspect under Carbon/MacOSX, but we need it under Carbon. No solution yet:-(
* Added a prototype for mstats().Jack Jansen2000-08-251-0/+2
|
* Window objects now also have an AutoDispose funcpointer (set for our ↵Jack Jansen2000-08-253-23/+61
| | | | | | windows, cleared for foreign windows). Needed mainly for Carbon (where we don't know about the windows belonging to our dialogs). Fixed a few calls that return an ExistingWindow.
* Call GetDialogWindow to convert dialogs to windows.Jack Jansen2000-08-251-6/+6
|
* HMGetBalloonWindow should try to return an existing window.Jack Jansen2000-08-252-1/+3
|