Martin v. Löwis
13a1fde4da
Partially revert #1074011 ; don't try to fflush stdin.
...
Backported to 2.3 and 2.4.
2005-01-27 18:56:16 +00:00
Raymond Hettinger
bc029af436
SF bug #1108303 : fix .split() maxsplit doc
...
Docs incorrectly stated that maxsplit=0 would cause unlimited splitting.
2005-01-26 22:40:08 +00:00
Raymond Hettinger
9feb267caf
Do not fold a constant if a large sequence will result.
...
Saves space in the presence of code like: (None,)*10000
2005-01-26 12:50:05 +00:00
Anthony Baxter
c560a00966
happy new year! (on the trunk)
2005-01-25 12:40:01 +00:00
Raymond Hettinger
770184b365
SF bug #1105286 : Undocumented implicit strip() in split(None) string method
...
Clarify the behavior when a string begins or ends with whitespace.
2005-01-25 10:21:19 +00:00
Neal Norwitz
62679968be
Put docstring for getspall into same #ifdef block as function definition
...
Remove C++ (C99) style comments
2005-01-24 23:33:50 +00:00
Fred Drake
93f18f6f77
include each row in the package table, even if there are no packages for
...
that row; the row is commented out in that case
(this makes it easier to modify the table after generation)
2005-01-23 22:14:16 +00:00
Fred Drake
9c131f2879
add missing word
2005-01-23 15:16:08 +00:00
Johannes Gijsbers
926d45bb4e
shutil.copytree: move copystat call for the directory after the loop
...
copying files inside the directory, as that loop changes the atime and
mtime.
2005-01-23 12:20:15 +00:00
Martin v. Löwis
8e3ca8af26
Flush std{in,out,err} before closing it. Fixes #1074011 .
...
Will backport to 2.4 and 2.3.
2005-01-23 09:41:49 +00:00
Martin v. Löwis
c300175547
Patch #579435 : Shadow Password Support Module
2005-01-23 09:27:24 +00:00
Martin v. Löwis
4d394dfebb
Truncate st_?time before comparing it with ST_?TIME in the tests.
2005-01-23 09:19:22 +00:00
Walter Dörwald
1083c248df
Add a slice test with high < low.
2005-01-21 21:16:51 +00:00
Thomas Heller
d6c6e2224b
distutils/command/install.py change.
2005-01-20 19:20:16 +00:00
Thomas Heller
1d1eac3ce8
Fix [ 1103844 ] fix distutils.install.dump_dirs() with negated options.
...
Will backport myself.
2005-01-20 19:14:17 +00:00
Fred Drake
447083e4d0
fix typeset of vertical bar for PDF format
...
(closes SF bug #1008998 )
2005-01-19 07:24:34 +00:00
Fred Drake
e612c8ec81
install distutils.tests on Unix (contributed patch)
...
(closes SF bug #1093173 )
2005-01-19 06:24:58 +00:00
Fred Drake
ffcbab073e
documentation for the zipimport module using contributed patch
...
(closes SF bug #853800 ; markup adjusted)
2005-01-19 05:42:50 +00:00
Fred Drake
5e37d79567
Description of args to IMAP4.store() in imaplib
...
(closes SF patch #1084092 ; modified per comments in SF)
2005-01-19 04:44:07 +00:00
Fred Drake
140042446f
Clean up discussion of new C thread idiom
...
(closes SF patch #1031233 ; modified)
2005-01-19 04:18:39 +00:00
Fred Drake
b184ae860e
fix a bunch of spelling errors
...
(closes SF patch #1104868 )
2005-01-19 03:39:17 +00:00
Fred Drake
9f79dbfd4a
remove spurious line from widget variables example
...
(closes SF patch #1094815 )
2005-01-19 03:23:57 +00:00
Kurt B. Kaiser
6af4498602
1. Polish tabbing code.
...
2. Restore use of set_indentation_params(), was dead code since
Autoindent.py was merged into EditorWindow.py.
3. Make usetabs, indentwidth, tabwidth, context_use_ps1 instance vars
and set in EditorWindow.__init__()
4. In PyShell.__init__() set usetabs, indentwidth and context_use_ps1
explicitly (config() is eliminated).
5. Add Tabnanny check when Module is Run/F5, not just when Checked.
6. Discourage using an indent width other than 8 when using tabs to
indent Python code.
M EditorWindow.py
M NEWS.txt
M PyShell.py
M ScriptBinding.py
2005-01-19 00:22:59 +00:00
Michael W. Hudson
75eabd2944
Change the name of the macro used by --with-tsc builds to the less
...
inscrutable READ_TIMESTAMP.
2005-01-18 15:56:11 +00:00
Michael W. Hudson
46e6d92dc1
tweaks, small updates
2005-01-18 15:53:59 +00:00
Michael W. Hudson
969f485cba
-X died some time ago; remove a tiny bit of associated cruft.
2005-01-18 15:26:11 +00:00
Kurt B. Kaiser
b00e89faab
If an extension can't be loaded, print warning and skip it instead of
...
erroring out.
2005-01-18 00:54:58 +00:00
Andrew MacIntyre
ff59f3c416
make thread stack size compile-time tunable on OS/2, increase main stack
2005-01-17 12:18:12 +00:00
Andrew MacIntyre
2bea474476
make thread stack size compile-time tunable on OS/2
2005-01-17 12:16:36 +00:00
Skip Montanaro
058858151d
Document the reconvert module.
2005-01-16 20:48:27 +00:00
Skip Montanaro
891a1ba3b2
allow triple-quoted string output from reconvert.quote()
2005-01-16 19:31:40 +00:00
Johannes Gijsbers
5954623bc0
Patch #1100140 : improved smtp connect debugging
...
Don't print the same (host, port) tuple thrice when debugging, but first print
(host, port), then (ip, port) and then the error message.
2005-01-16 13:04:30 +00:00
Martin v. Löwis
fe33d0ba87
Default stat_float_times to true.
2005-01-16 08:57:39 +00:00
Martin v. Löwis
22b457e03b
Added SEEK_* constants. Fixes #711830 .
2005-01-16 08:40:58 +00:00
Guido van Rossum
5a8a03784e
Use descriptors.
2005-01-16 00:25:31 +00:00
Guido van Rossum
fee7b93c60
Use decorators.
2005-01-16 00:21:28 +00:00
Guido van Rossum
75b64e65f1
Use decorators.
2005-01-16 00:16:11 +00:00
Tim Peters
9ba3684ecc
Gave the new datetime.strptime() a versionadded blurb.
2005-01-13 21:06:25 +00:00
Tim Peters
608c2fff69
Whitespace normalization.
2005-01-13 17:37:38 +00:00
Andrew McNamara
f69d94f6c0
Moved reader \r and \n processing from the iterator to the state machine -
...
this allows for better handling of newline characters in quoted fields (and
hopefully resolves Bug 967934).
2005-01-13 11:30:54 +00:00
Vinay Sajip
a1974c1459
Improved SysLogHandler error recovery (patch by Erik Forsberg)
2005-01-13 08:23:56 +00:00
Skip Montanaro
0af3ade6aa
Add strptime() constructor to datetime class. Thanks to Josh Spoerri for
...
the changes.
2005-01-13 04:12:31 +00:00
Fred Drake
2f8c6589f5
fix typo
2005-01-12 19:11:45 +00:00
Fred Drake
d7c27bef52
remove unused variable
2005-01-12 16:00:55 +00:00
Andrew McNamara
8231de0513
Many updates to csv module doco.
2005-01-12 11:47:57 +00:00
Andrew McNamara
5cfd83748a
Improve wording of parser error message.
2005-01-12 11:39:50 +00:00
Andrew McNamara
7f2053eff3
Add counting of source iterator lines to the reader object - handy for
...
user error messages (otherwise difficult to do without instrumenting
the source).
2005-01-12 11:17:16 +00:00
Andrew McNamara
0f0599ddc1
When quoting=QUOTE_NONNUMERIC, the reader now casts unquoted fields
...
to floats.
2005-01-12 09:45:18 +00:00
Andrew McNamara
5d45a8dc22
Fix logic problem in quoting=csv.QUOTE_ALL, quotechar=None check, add test.
2005-01-12 08:16:17 +00:00
Andrew McNamara
c89f284df8
When using QUOTE_NONNUMERIC, we now test for "numericness" with
...
PyNumber_Check, rather than trying to convert to a float. Reimplemented
writer - now raises exceptions when it sees a quotechar but neither
doublequote or escapechar are set. Doublequote results are now more
consistent (eg, single quote should generate """", rather than "",
which is ambiguous).
2005-01-12 07:44:42 +00:00