Skip Montanaro
33ee76ae9e
A little boolean music if you please, maestro... (Not sure I have the
...
versionadded{} args quite right).
2004-07-28 14:17:04 +00:00
Hye-Shik Chang
efdc16ffbb
Remove unused source file from Windows project files.
2004-07-28 09:45:20 +00:00
Hye-Shik Chang
978d26256b
Add missing _codecs_iso2022 module of cjkcodecs. I'll add unittest
...
for it soon.
2004-07-28 09:39:54 +00:00
Hye-Shik Chang
eb34110190
Remove CJKCodecs implementation of UTF-7 and UTF-8 codec which
...
aren't intended to be part of Python distributiuon. This was
accidently imported on mass converting from standalone version of
CJKCodecs.
2004-07-28 09:36:52 +00:00
Neal Norwitz
bee417439e
Add versionadded info
2004-07-28 02:34:12 +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
fe393f47c6
Use intptr_t/uintptr_t on Windows
2004-07-27 15:57:24 +00:00
Martin v. Löwis
b600fe90a7
Switch arguments to memset (kudos to MSVC C4318 for finding that)
2004-07-27 15:03:53 +00:00
Martin v. Löwis
512efb464b
Properly check for Win64 compilers.
2004-07-27 14:16:14 +00:00
Andrew M. Kuchling
ce4bae6170
Add an item
2004-07-27 12:13:25 +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
Andrew M. Kuchling
5785a1391e
Add some items
2004-07-26 19:28:46 +00:00
Andrew M. Kuchling
e03664ff22
Two typo fixes
2004-07-26 19:25:54 +00:00
Andrew M. Kuchling
e3e1ecacd5
[Bug #997166 ] Fix example
2004-07-26 18:52:48 +00:00
Fred Drake
fdccf1ad6e
fix information about what flag database files are opened with by default
2004-07-26 16:33:29 +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
Martin v. Löwis
37ead8f1c3
Patch #997668 : Correct explanation of salts.
...
Will backport to 2.3.
2004-07-26 12:05:16 +00:00
Tim Peters
abba5c067d
Explain that most floats are actually integers. This is a common confusion
...
for people using floor(), ceil() and modf().
2004-07-26 05:12:01 +00:00
Tim Peters
9a729a1cc5
Typo in new docs.
2004-07-26 04:58:50 +00:00
Tim Peters
d6ef19309d
SF bugs 996748: os.environ documentation should indicate unreliability
...
Clarifed that os.environ is captured once; emphasized that it's better
to assign to os.environ than to call putenv() directly (the putenv()
docs said so, but the environ docs didn't).
2004-07-26 00:42:41 +00:00
Martin v. Löwis
d945f4e17d
Generate rc[_d].h after linking
2004-07-25 09:49:26 +00:00
Tim Peters
66bb6e661c
SF bug 996392: math and cmath docs don't specify radians
...
Major rewrite of the math module docs. Slapped in "radians" where
appropriate; grouped the functions into reasonable categories; supplied
many more words to address common confusions about some of the subtler
issues.
2004-07-24 23:00:24 +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
b314ce91d3
Add news item for u'%s' change.
2004-07-23 16:14:57 +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
Thomas Heller
fe0808382b
Fix an uncorrect function prototype.
...
Will backport to release23-maint.
BTW: Shouldn't it read PY_LONG_LONG instead of 'long long' ?
2004-07-23 14:49:52 +00:00
Marc-André Lemburg
5ae638c78e
Remove copyright notices from gencodec.py output.
...
The script was originally used to create the initial set of
codecs (and these were (c) CNRI). While the script itself still
is (c) CNRI, the output certainly isn't anymore.
2004-07-23 10:09:57 +00:00
Tim Peters
f9cbf21157
Whitespace normalization.
2004-07-23 02:50:10 +00:00
Tim Peters
336689b9cc
A few trivial edits.
2004-07-23 02:48:24 +00:00
Raymond Hettinger
cab5b94592
SF bug #995983 and #995987 : Documentation nits.
2004-07-22 19:33:53 +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
5980ff2d92
SF bug 994255: Py_RETURN_NONE causes too much warnings
...
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!).
2004-07-22 01:46:43 +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
Andrew M. Kuchling
c12527e2c7
[Bug #990524 ] Fix typo
2004-07-21 21:34:45 +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
Fred Drake
4ab0e9e541
revise wording to avoid confusion for non-native English speakers
...
(second occurance of the same wording)
2004-07-21 17:36:47 +00:00
Fred Drake
20938f57ba
revise wording to avoid confusion for non-native English speakers
2004-07-21 17:18:19 +00:00
Vinay Sajip
b4bf62f807
Added an extra example to the basic example section
2004-07-21 14:40:11 +00:00
Andrew M. Kuchling
0ad20f18fe
Update Decimal section to match the current module
2004-07-21 13:00:06 +00:00
Andrew M. Kuchling
65a333219f
Add PEP 331; add constancy of None; minor edits
2004-07-21 12:41:38 +00:00
Martin v. Löwis
c2632a5c34
Patch #984714 : Properly diagnose E_DECODE errors.
...
Backported to 2.3.
2004-07-21 05:35:02 +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