summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* This change implements the following gettext features, asGustavo Niemeyer2004-07-227-29/+256
| | | | | | | | | | | | | | | | | | | | discussed recently in python-dev: In _locale module: - bind_textdomain_codeset() binding In gettext module: - bind_textdomain_codeset() function - lgettext(), lngettext(), ldgettext(), ldngettext(), which return translated strings encoded in preferred system encoding, if bind_textdomain_codeset() was not used. - Added equivalent functionality in translate() function and catalog classes. Every change was also documented.
* SF bug 994255: Py_RETURN_NONE causes too much warningsTim Peters2004-07-222-3/+3
| | | | | | | | | | Rewrote Py_RETURN_{NONE, TRUE, FALSE} to expand to comma expressions rather than "do {} while(0)" thingies. The OP complained because he likes using MS /W4 sometimes, and then all his uses of these things generate nuisance warnings about testing a constant expression (in the "while(0)" part). Comma expressions don't have this problem (although it's a lucky accident that comma expressions suffice for these macros!).
* SF patch 995225: tarfile.py fix for bug #990325Tim Peters2004-07-222-2/+6
| | | | | Removes CVS keywords from this binary file, so that test_tarfile passes regardless of whether Python is checked out with -kk.
* [Bug #990524] Fix typoAndrew M. Kuchling2004-07-211-1/+1
|
* elaborate package data test to make sure get_outputs() gives the rightFred Drake2004-07-211-1/+7
| | | | | | results when byte-code compilation is requested (in particular, make sure that package data doesn't get a bogus byte-code listing generated)
* revise wording to avoid confusion for non-native English speakersFred Drake2004-07-211-1/+1
| | | | (second occurance of the same wording)
* revise wording to avoid confusion for non-native English speakersFred Drake2004-07-211-1/+1
|
* Added an extra example to the basic example sectionVinay Sajip2004-07-211-0/+21
|
* Update Decimal section to match the current moduleAndrew M. Kuchling2004-07-211-16/+29
|
* Add PEP 331; add constancy of None; minor editsAndrew M. Kuchling2004-07-211-5/+45
|
* Patch #984714: Properly diagnose E_DECODE errors.Martin v. Löwis2004-07-211-0/+3
| | | | Backported to 2.3.
* Thread.__delete: Discussion of internal obscurities belongs in commentsTim Peters2004-07-211-31/+28
| | | | | | | | rather than in docstrings. Rewrote so that _active_limbo_lock is released no matter what happens (it could have been left locked if _sys got None'd out). Use "in" in preference to has_key() for dict lookup. Don't bother looking for 'dummy_threading' in sys.modules unless KeyError is raised. Since the heart of the method is the del, do that in only one place.
* EditorWindow.py was not finding the .chm help file on Windows. TypoKurt B. Kaiser2004-07-211-1/+2
| | | | at Rev 1.54. Python Bug 990954
* fix typo, highlight True/False correctlySkip Montanaro2004-07-211-4/+4
|
* Fix bug where a KeyError was raised if -O was being used for the interpreterBrett Cannon2004-07-212-1/+37
| | | | | | | | | and Thread.__delete() was called after a Thread instance was created. Problem resulted from a currentThread() call in an 'assert' statement being optimized out and dummy_thread.get_ident() always returning -1 and thus overwriting the entry for the _MainThread() instance created in 'threading' at import time. Closes bug #993394.
* SF #994605, fcntl example is brokenNeal Norwitz2004-07-211-3/+3
| | | | | | | The last call to fcntl (which wasn't changed) doesn't work for me, but the first part works now. Backport candidate.
* Fix SF #994580, typo in time.tzsets docstring. Backport candidateNeal Norwitz2004-07-201-1/+1
|
* Remove unused variablesNeal Norwitz2004-07-201-2/+0
|
* SF #918101, allow files >= 8 GB using GNU extensionNeal Norwitz2004-07-202-11/+38
|
* SF #857297 and 916874, improve handling of hard links when extractingNeal Norwitz2004-07-203-1/+30
|
* SF #846659, fix bufsize violation and GNU longname/longlink extensionsNeal Norwitz2004-07-203-2/+96
|
* Add Itanium targets.Martin v. Löwis2004-07-2016-0/+2064
|
* Fix bug in addsitedir() to properly handle the lack of a second argument.Brett Cannon2004-07-201-3/+3
| | | | | | Fixed to keep backwards-compatibility for the undocumented function. Closes bug #986795.
* ossaudiodev is available on FreeBSD 5 too.Hye-Shik Chang2004-07-201-1/+1
|
* Patch #984654: Add more address family constants.Martin v. Löwis2004-07-191-0/+60
|
* Move comment that goes along with audioopNeal Norwitz2004-07-191-1/+1
|
* Patch #993173: Enable audioop on 64-bit platforms.Martin v. Löwis2004-07-192-1/+5
|
* Patch #993187: Make rstrip doc similar to lstrip.Martin v. Löwis2004-07-191-1/+1
| | | | Backported to 2.3.
* Check the type of values returned by __int__, __float__, __long__,Neil Schemenauer2004-07-195-41/+138
| | | | | | __oct__, and __hex__. Raise TypeError if an invalid type is returned. Note that PyNumber_Int and PyNumber_Long can still return ints or longs. Fixes SF bug #966618.
* Don't return spurious empty fields if 'keep_empty_values' is True.Neil Schemenauer2004-07-194-2/+38
| | | | Fixes SF bug #990307.
* The binary layout of cfgdata has changed, so the magic number has toThomas Heller2004-07-192-0/+0
| | | | | change as well. Recompiled binaries after this change.
* The binary layout of cfgdata has changed, so the magic number has toThomas Heller2004-07-191-1/+5
| | | | | change as well. Display an additional message box when a mismatch is detected.
* The binary layout of cfgdata has changed, so the magic number has toThomas Heller2004-07-191-1/+7
| | | | change as well. Add a comment explaining this.
* test_codecmaps_hk is also expected to be skipped when a mapping fileHye-Shik Chang2004-07-191-1/+2
| | | | isn't available. (Spotted by Raymond Hettinger)
* Get doc to build (add missing backslash)Neal Norwitz2004-07-191-1/+1
|
* Silence a GCC unused variable warning in debug builds.Raymond Hettinger2004-07-191-2/+1
|
* Don't try to create the directory if it already exists, otherwise the test failsNeal Norwitz2004-07-191-1/+2
|
* Record that FCNTL.py has gone away; remove FCNTL hack in tempfile.py;Tim Peters2004-07-182-7/+10
| | | | | another hack remains in test___all__.py, but the problem that one addresses is more general than *just* FCNTL, so leaving it alone.
* Remove FCNTL.py, following python-dev discussionAndrew M. Kuchling2004-07-181-14/+0
|
* test_sf_950057's gen1() used an assert statement, which caused the testTim Peters2004-07-181-1/+1
| | | | to fail when running with -O. Changed to raise AssertionError instead.
* Whitespace normalization. Had to break guido's lock on rev 1.1 to doTim Peters2004-07-181-71/+71
| | | | this, but I'm sure it wasn't locked intentionally.
* Teach VC6 project file about the new cjkcodecs structure.Hye-Shik Chang2004-07-181-77/+9
|
* Replace an extern magic to assigning declared pointer from array's.Hye-Shik Chang2004-07-181-26/+12
| | | | And unifdef(1) compatibility blocks.
* Oops -kb bit had been in my CVS/Entries. Converting it to plainHye-Shik Chang2004-07-180-0/+0
| | | | text again. Sorry.
* cjkcodecs/mapdata_*.c are removed by the recent import CJKCodecs 1.1.Hye-Shik Chang2004-07-181-12/+0
|
* Remove unused CNS-11643 mapping which shouldn't merged into main PythonHye-Shik Chang2004-07-181-11864/+0
| | | | yet.
* Repair bizarre generated Python.Tim Peters2004-07-182-2/+2
|
* Ignore more encoding input files.Tim Peters2004-07-181-0/+2
|
* Ignore input files for encoding tests (these aren't checked in).Tim Peters2004-07-181-0/+12
|
* Whitespace normalization, via reindent.py.Tim Peters2004-07-1813-53/+49
|