Marc-André Lemburg
17b6d28c64
New codec: [ 996067 ] hp-roman8 codec
2004-07-28 15:37:54 +00:00
Marc-André Lemburg
cd8a4cb3d3
Added new codec hp-roman8 submitted as patch [ 996067 ] hp-roman8 codec.
2004-07-28 15:35:29 +00:00
Fred Drake
25d88926b9
Since build_py handles package data installation, the list of outputs
...
can contain more than just .py files. Make sure we only report
bytecode files for the .py files.
2004-07-28 14:55:10 +00:00
Tim Peters
49667c257b
Ack, removed useless import of os I just introduced.
2004-07-27 21:05:21 +00:00
Tim Peters
5cfb05eef0
Added a new fileno() method. ZODB's repozo.py wants this so it can
...
apply os.fsync() to the GzipFile backup files it creates.
2004-07-27 21:02:02 +00:00
Martin v. Löwis
544f1195b1
Patch #995766 : Keyword argument support in cPickle.
2004-07-27 05:22:33 +00:00
Martin v. Löwis
7b9190b8fc
Patch #998149 : imaplib deleteacl and myrights.
2004-07-27 05:07:19 +00:00
Martin v. Löwis
c8ae31dcbd
Patch #962487 : Don't crash for empty locale names.
2004-07-26 12:45:18 +00:00
Martin v. Löwis
cc0f93233a
Patch #605370 : Add description[s] for RFC 2980 compliance.
2004-07-26 12:40:50 +00:00
Martin v. Löwis
32d0c1b458
Patch #995782 : Add FreeBSD 5 expectations. Will backport to 2.3.
2004-07-26 12:09:13 +00:00
Skip Montanaro
5253da163c
added test for bug #996359 .
2004-07-24 19:56:03 +00:00
Skip Montanaro
3414c1ceee
add missing newlines to read/readline.
...
fixes bug #996359 .
2004-07-24 19:54:44 +00:00
Thomas Heller
612eb09aae
Factored out a method to determine the final installer filename.
2004-07-23 19:58:28 +00:00
Thomas Heller
6fa2474b20
Make the distutils version number the same as the python version. It
...
must be literally contained here, because it is still possible to
install this distutils in older Python versions.
2004-07-23 19:47:32 +00:00
Thomas Heller
ee6fd06ecf
bdist_wininst does now properly handle unicode strings or byte strings
...
with umlauts in the author argument and others.
Fixes sf # 993943.
2004-07-23 19:44:29 +00:00
Marc-André Lemburg
d25c650461
Let u'%s' % obj try obj.__unicode__() first and fallback to obj.__str__().
2004-07-23 16:13:25 +00:00
Gustavo Niemeyer
7bd33c5e22
This change implements the following gettext features, as
...
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.
2004-07-22 18:44:01 +00:00
Tim Peters
aa1c7ff7e8
SF patch 995225: tarfile.py fix for bug #990325
...
Removes CVS keywords from this binary file, so that test_tarfile passes
regardless of whether Python is checked out with -kk.
2004-07-22 00:54:37 +00:00
Fred Drake
b3d55d31d9
elaborate package data test to make sure get_outputs() gives the right
...
results when byte-code compilation is requested (in particular, make
sure that package data doesn't get a bogus byte-code listing
generated)
2004-07-21 18:53:06 +00:00
Tim Peters
21429932e4
Thread.__delete: Discussion of internal obscurities belongs in comments
...
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.
2004-07-21 03:36:52 +00:00
Kurt B. Kaiser
090e636add
EditorWindow.py was not finding the .chm help file on Windows. Typo
...
at Rev 1.54. Python Bug 990954
2004-07-21 03:33:58 +00:00
Brett Cannon
8b3d92a977
Fix bug where a KeyError was raised if -O was being used for the interpreter
...
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 .
2004-07-21 02:21:58 +00:00
Neal Norwitz
0260519c52
Remove unused variables
2004-07-20 22:31:34 +00:00
Neal Norwitz
d96d1015ef
SF #918101 , allow files >= 8 GB using GNU extension
2004-07-20 22:23:02 +00:00
Neal Norwitz
a4f651a2ae
SF #857297 and 916874, improve handling of hard links when extracting
2004-07-20 22:07:44 +00:00
Neal Norwitz
0662f8a5ea
SF #846659 , fix bufsize violation and GNU longname/longlink extensions
2004-07-20 21:54:18 +00:00
Brett Cannon
4d0bddfee6
Fix bug in addsitedir() to properly handle the lack of a second argument.
...
Fixed to keep backwards-compatibility for the undocumented function.
Closes bug #986795 .
2004-07-20 02:28:28 +00:00
Neil Schemenauer
3a313e3655
Check the type of values returned by __int__, __float__, __long__,
...
__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 .
2004-07-19 16:29:17 +00:00
Neil Schemenauer
66edb6295f
Don't return spurious empty fields if 'keep_empty_values' is True.
...
Fixes SF bug #990307 .
2004-07-19 15:38:11 +00:00
Thomas Heller
36a0f89c37
The binary layout of cfgdata has changed, so the magic number has to
...
change as well.
Recompiled binaries after this change.
2004-07-19 10:07:28 +00:00
Thomas Heller
b8f134e3c3
The binary layout of cfgdata has changed, so the magic number has to
...
change as well. Add a comment explaining this.
2004-07-19 09:45:46 +00:00
Hye-Shik Chang
5ef601854e
test_codecmaps_hk is also expected to be skipped when a mapping file
...
isn't available. (Spotted by Raymond Hettinger)
2004-07-19 06:39:37 +00:00
Neal Norwitz
a0e0cd3013
Don't try to create the directory if it already exists, otherwise the test fails
2004-07-19 00:08:59 +00:00
Tim Peters
90ee7eb18e
Record that FCNTL.py has gone away; remove FCNTL hack in tempfile.py;
...
another hack remains in test___all__.py, but the problem that one
addresses is more general than *just* FCNTL, so leaving it alone.
2004-07-18 23:58:17 +00:00
Andrew M. Kuchling
9516609b6b
Remove FCNTL.py, following python-dev discussion
2004-07-18 23:44:58 +00:00
Tim Peters
beb7c0c434
test_sf_950057's gen1() used an assert statement, which caused the test
...
to fail when running with -O. Changed to raise AssertionError instead.
2004-07-18 17:34:03 +00:00
Tim Peters
4658540ed3
Repair bizarre generated Python.
2004-07-18 06:35:21 +00:00
Tim Peters
182b5aca27
Whitespace normalization, via reindent.py.
2004-07-18 06:16:08 +00:00
Hye-Shik Chang
2bb146f2f4
Bring CJKCodecs 1.1 into trunk. This completely reorganizes source
...
and installed layouts to make maintenance simple and easy. And it
also adds four new codecs; big5hkscs, euc-jis-2004, shift-jis-2004
and iso2022-jp-2004.
2004-07-18 03:06:29 +00:00
Tim Peters
264c659197
Oops! Restored the pickle test to test_pyclbr, but changed types.py so
...
that pyclbr doesn't need to special-case modules that do "from types
import *".
2004-07-18 00:08:11 +00:00
Tim Peters
fa7809df02
The Darwin-specific getproxies_internetconfig() was added to urllib,
...
causing test_pyclbr to fail on all other platforms. Added that routine
to the urllib "ignore" list.
Removed the special case for "g" in the pickle module. types.py deletes
"g" from its namespace; maybe it didn't always. Whatever, the special
case isn't needed today.
2004-07-18 00:00:03 +00:00
Raymond Hettinger
11a70c79b9
Upgrade None assignment SyntaxWarning to a SyntaxError.
2004-07-17 21:46:25 +00:00
Thomas Heller
040d6d02b7
The new distutils features justify a new version number, imo.
...
If someone has other ideas for the numbering scheme, please change to
something else (1.1.0 ?).
2004-07-16 18:14:37 +00:00
Jack Jansen
11d9b06283
Fix for #779167 : use InternetConfig proxy settings on MacOSX (in addition
...
to unix-style).
2004-07-16 11:45:00 +00:00
Andrew M. Kuchling
5336f8caa4
[Patch #982681 ] Apply this patch correctly; makes set_reuse_addr() work on Windows
2004-07-15 16:17:07 +00:00
Jack Jansen
95b66f3276
Allow overriding of bgen pathnames in an optional module bgenlocationcustomize.
...
Editing of bgenlocations.py isn't easy if your Python was supplied by Apple.
2004-07-15 15:06:07 +00:00
Andrew M. Kuchling
3fc2fde7ff
Typo fixes
2004-07-15 12:17:26 +00:00
Kurt B. Kaiser
8aa23927e3
Checking sys.platform for substring 'win' was breaking IDLE docs on Mac
...
(darwin). Also, Mac Safari browser requires full file:// URIs. SF 900580
M EditorWindow.py
M NEWS.txt
M configHelpSourceEdit.py
M idlever.py
2004-07-15 04:54:57 +00:00
Raymond Hettinger
ef66debd7e
Use threading.local() instead of threading.currentThread().
2004-07-14 21:04:27 +00:00
Raymond Hettinger
99148e7eaa
Factor out two unnecessary global variables.
2004-07-14 19:56:56 +00:00