summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* GNUTranslations.BE_MAGIC: don't be so clever in calculating this fromBarry Warsaw2000-08-311-1/+1
| | | | LE_MAGIC; it breaks on Tru64.
* New method getnamespace.Sjoerd Mullender2000-08-311-0/+7
| | | | | | Since the application never gets to see the namespace abbreviation used in the XML document, but some applications may need to know them, we provide this method.
* 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.
* 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
|
* 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
* Expand the test suite to test both the GNU gettext and translationBarry Warsaw2000-08-302-257/+154
| | | | class-based APIs.
* 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.
* 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 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.
* Added tests of "print >> None"Barry Warsaw2000-08-292-0/+26
|
* 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
|
* Fix line-endings.Greg Ward2000-08-271-1/+1
| | | | Fix bad operator precedence: should be "(metadata or '') + '\n'".
* Open binary files in binary mode. Fixes test failure under Windows.Tim Peters2000-08-261-1/+1
|
* 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.
* 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.
* Update the parser module to support augmented assignment.Fred Drake2000-08-252-43/+122
| | | | Add some test cases.
* 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.
* Closing patch #101120 -- After everyone agreed.Moshe Zadka2000-08-252-26/+36
|
* _expand_lang(), _find(): Added support for unaliasing and expanded theBarry Warsaw2000-08-251-4/+53
| | | | | language found in the environment variable, contributed by James Henstridge.
* Group consensus is that supporting alternative locale categories isBarry Warsaw2000-08-251-6/+0
| | | | useless. So the test of the dcgettext() function is removed.
* Group consensus is that supporting alternative locale categories isBarry Warsaw2000-08-251-21/+2
| | | | | useless. So the category argument on _find() is removed, as is the dcgettext() function.
* Set this test up so that we don't have to create xx/LC_MESSAGES in theBarry Warsaw2000-08-251-66/+320
| | | | | cvs tree. It creates the directory and gettext.mo file on the fly, from the base64 encode binary data.
* updated test outputBarry Warsaw2000-08-251-3/+24
|
* output from test_gettext.py test suiteBarry Warsaw2000-08-251-0/+4
|
* Test suite for new gettext.py module.Barry Warsaw2000-08-251-0/+76
|
* Initial revision of gettext support for Python. This will undergoBarry Warsaw2000-08-251-0/+288
| | | | some changes.
* Pass data on to retrieve method.Sjoerd Mullender2000-08-251-1/+1
| | | | Don't people *test* their changes?
* Test suite for poll() interface (SF patch #100852)Andrew M. Kuchling2000-08-252-0/+214
|
* Add missing opcodes. Thanx to jeremy for reminding me ;)Thomas Wouters2000-08-241-1/+2
|
* simple typo that makes regression test test_userstring failPeter Schneider-Kamp2000-08-241-1/+1
|
* Update for augmented assignment, tested & approved by Guido.Thomas Wouters2000-08-241-2/+5
|
* Update for augmented assignment.Thomas Wouters2000-08-242-54/+66
|
* Support for augmented assignment in the UserList, UserDict, UserString andThomas Wouters2000-08-246-1/+327
| | | | | | rfc822 (Addresslist) modules. Also a preliminary testcase for augmented assignment, which should actually be merged with the test_class testcase I added last week.
* Promote the server version from a local variable to a class variable,Guido van Rossum2000-08-241-3/+4
| | | | | | | | | | so that a subclass can override it. This partly addresses Bug #112634 -- but the documentation is still wrong, since it suggests that you can set self.version *after* calling the base class __init__. In fact it must be done *before*. I'll fix that too.
* Whitespace cleanup; now passes the regression test (the last checkin madeFred Drake2000-08-241-21/+15
| | | | | | | it fail on a TabError (inconsistent tab/space usage)). Removed a comment about including a test since there is a regression test for this module.
* Updated test suite: test repr() and str() of cookies, and test metadataAndrew M. Kuchling2000-08-242-1/+15
| | | | fields with quoted values (as in Path="/acme")
* Updated version of Cookie.py (rev. 2.29) from timoAndrew M. Kuchling2000-08-241-19/+33
|
* Randall Hopper <aa8vb@yahoo.com>>:Fred Drake2000-08-241-3/+3
| | | | Make it easier to use HTTP POST with urlretrieve().
* Charles G. Waldman <cgq@fnal.gov>:Fred Drake2000-08-242-18/+4
| | | | | | | Update the test suite for the changes introduced by the EXTENDED_ARG opcode. This closes the regression test changes of SourceForge patch #100893.
* Charles G. Waldman <cgw@fnal.gov>:Fred Drake2000-08-241-1/+7
| | | | | | | | | Add the EXTENDED_ARG opcode to the virtual machine, allowing 32-bit arguments to opcodes instead of being forced to stick to the 16-bit limit. This is especially useful for machine-generated code, which can be too long for the SET_LINENO parameter to fit into 16 bits. This closes the implementation portion of SourceForge patch #100893.
* style nitsJeremy Hylton2000-08-231-4/+8
|
* When skipping a test, do not include a spurious space between the exceptionFred Drake2000-08-231-1/+1
| | | | name and the ":" that separates it from the value. (Minor cleanup.)