Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | This change implements the following gettext features, as | Gustavo Niemeyer | 2004-07-22 | 7 | -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 warnings | Tim Peters | 2004-07-22 | 2 | -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 #990325 | Tim Peters | 2004-07-22 | 2 | -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 typo | Andrew M. Kuchling | 2004-07-21 | 1 | -1/+1 | |
| | ||||||
* | elaborate package data test to make sure get_outputs() gives the right | Fred Drake | 2004-07-21 | 1 | -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 speakers | Fred Drake | 2004-07-21 | 1 | -1/+1 | |
| | | | | (second occurance of the same wording) | |||||
* | revise wording to avoid confusion for non-native English speakers | Fred Drake | 2004-07-21 | 1 | -1/+1 | |
| | ||||||
* | Added an extra example to the basic example section | Vinay Sajip | 2004-07-21 | 1 | -0/+21 | |
| | ||||||
* | Update Decimal section to match the current module | Andrew M. Kuchling | 2004-07-21 | 1 | -16/+29 | |
| | ||||||
* | Add PEP 331; add constancy of None; minor edits | Andrew M. Kuchling | 2004-07-21 | 1 | -5/+45 | |
| | ||||||
* | Patch #984714: Properly diagnose E_DECODE errors. | Martin v. Löwis | 2004-07-21 | 1 | -0/+3 | |
| | | | | Backported to 2.3. | |||||
* | Thread.__delete: Discussion of internal obscurities belongs in comments | Tim Peters | 2004-07-21 | 1 | -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. Typo | Kurt B. Kaiser | 2004-07-21 | 1 | -1/+2 | |
| | | | | at Rev 1.54. Python Bug 990954 | |||||
* | fix typo, highlight True/False correctly | Skip Montanaro | 2004-07-21 | 1 | -4/+4 | |
| | ||||||
* | Fix bug where a KeyError was raised if -O was being used for the interpreter | Brett Cannon | 2004-07-21 | 2 | -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 broken | Neal Norwitz | 2004-07-21 | 1 | -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 candidate | Neal Norwitz | 2004-07-20 | 1 | -1/+1 | |
| | ||||||
* | Remove unused variables | Neal Norwitz | 2004-07-20 | 1 | -2/+0 | |
| | ||||||
* | SF #918101, allow files >= 8 GB using GNU extension | Neal Norwitz | 2004-07-20 | 2 | -11/+38 | |
| | ||||||
* | SF #857297 and 916874, improve handling of hard links when extracting | Neal Norwitz | 2004-07-20 | 3 | -1/+30 | |
| | ||||||
* | SF #846659, fix bufsize violation and GNU longname/longlink extensions | Neal Norwitz | 2004-07-20 | 3 | -2/+96 | |
| | ||||||
* | Add Itanium targets. | Martin v. Löwis | 2004-07-20 | 16 | -0/+2064 | |
| | ||||||
* | Fix bug in addsitedir() to properly handle the lack of a second argument. | Brett Cannon | 2004-07-20 | 1 | -3/+3 | |
| | | | | | | Fixed to keep backwards-compatibility for the undocumented function. Closes bug #986795. | |||||
* | ossaudiodev is available on FreeBSD 5 too. | Hye-Shik Chang | 2004-07-20 | 1 | -1/+1 | |
| | ||||||
* | Patch #984654: Add more address family constants. | Martin v. Löwis | 2004-07-19 | 1 | -0/+60 | |
| | ||||||
* | Move comment that goes along with audioop | Neal Norwitz | 2004-07-19 | 1 | -1/+1 | |
| | ||||||
* | Patch #993173: Enable audioop on 64-bit platforms. | Martin v. Löwis | 2004-07-19 | 2 | -1/+5 | |
| | ||||||
* | Patch #993187: Make rstrip doc similar to lstrip. | Martin v. Löwis | 2004-07-19 | 1 | -1/+1 | |
| | | | | Backported to 2.3. | |||||
* | Check the type of values returned by __int__, __float__, __long__, | Neil Schemenauer | 2004-07-19 | 5 | -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 Schemenauer | 2004-07-19 | 4 | -2/+38 | |
| | | | | Fixes SF bug #990307. | |||||
* | The binary layout of cfgdata has changed, so the magic number has to | Thomas Heller | 2004-07-19 | 2 | -0/+0 | |
| | | | | | change as well. Recompiled binaries after this change. | |||||
* | The binary layout of cfgdata has changed, so the magic number has to | Thomas Heller | 2004-07-19 | 1 | -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 to | Thomas Heller | 2004-07-19 | 1 | -1/+7 | |
| | | | | change as well. Add a comment explaining this. | |||||
* | test_codecmaps_hk is also expected to be skipped when a mapping file | Hye-Shik Chang | 2004-07-19 | 1 | -1/+2 | |
| | | | | isn't available. (Spotted by Raymond Hettinger) | |||||
* | Get doc to build (add missing backslash) | Neal Norwitz | 2004-07-19 | 1 | -1/+1 | |
| | ||||||
* | Silence a GCC unused variable warning in debug builds. | Raymond Hettinger | 2004-07-19 | 1 | -2/+1 | |
| | ||||||
* | Don't try to create the directory if it already exists, otherwise the test fails | Neal Norwitz | 2004-07-19 | 1 | -1/+2 | |
| | ||||||
* | Record that FCNTL.py has gone away; remove FCNTL hack in tempfile.py; | Tim Peters | 2004-07-18 | 2 | -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 discussion | Andrew M. Kuchling | 2004-07-18 | 1 | -14/+0 | |
| | ||||||
* | test_sf_950057's gen1() used an assert statement, which caused the test | Tim Peters | 2004-07-18 | 1 | -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 do | Tim Peters | 2004-07-18 | 1 | -71/+71 | |
| | | | | this, but I'm sure it wasn't locked intentionally. | |||||
* | Teach VC6 project file about the new cjkcodecs structure. | Hye-Shik Chang | 2004-07-18 | 1 | -77/+9 | |
| | ||||||
* | Replace an extern magic to assigning declared pointer from array's. | Hye-Shik Chang | 2004-07-18 | 1 | -26/+12 | |
| | | | | And unifdef(1) compatibility blocks. | |||||
* | Oops -kb bit had been in my CVS/Entries. Converting it to plain | Hye-Shik Chang | 2004-07-18 | 0 | -0/+0 | |
| | | | | text again. Sorry. | |||||
* | cjkcodecs/mapdata_*.c are removed by the recent import CJKCodecs 1.1. | Hye-Shik Chang | 2004-07-18 | 1 | -12/+0 | |
| | ||||||
* | Remove unused CNS-11643 mapping which shouldn't merged into main Python | Hye-Shik Chang | 2004-07-18 | 1 | -11864/+0 | |
| | | | | yet. | |||||
* | Repair bizarre generated Python. | Tim Peters | 2004-07-18 | 2 | -2/+2 | |
| | ||||||
* | Ignore more encoding input files. | Tim Peters | 2004-07-18 | 1 | -0/+2 | |
| | ||||||
* | Ignore input files for encoding tests (these aren't checked in). | Tim Peters | 2004-07-18 | 1 | -0/+12 | |
| | ||||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 13 | -53/+49 | |
| |