]> granicus.if.org Git - python/log
python
20 years ago- improve the explanation of the -*- coding: ... -*- marker
Fred Drake [Mon, 25 Oct 2004 16:03:49 +0000 (16:03 +0000)]
- improve the explanation of the -*- coding: ... -*- marker
- fix a minor formatting nit that affected the typeset version

20 years agoPatch from Bob Ippolito, slighly edited:
Just van Rossum [Mon, 25 Oct 2004 15:10:42 +0000 (15:10 +0000)]
Patch from Bob Ippolito, slighly edited:
1052399 ] plistlib: add plst resource functionality, fix bugs

20 years agoWhitespace normalization.
Tim Peters [Mon, 25 Oct 2004 03:19:41 +0000 (03:19 +0000)]
Whitespace normalization.

20 years agoformat_paragraph_event(): Patch 961387 introduced a bug here, causing
Tim Peters [Sun, 24 Oct 2004 23:45:42 +0000 (23:45 +0000)]
format_paragraph_event():  Patch 961387 introduced a bug here, causing
the indentation of a comment block to be ignored when reformatting the
block, leading to overly long reformatted lines (too wide by an amount
equal to the indentation width).  Looks like a typo in the original
patch, a 1-character repair.

20 years agoSF bug #1052503: pdb runcall should accept keyword arguments
Raymond Hettinger [Sun, 24 Oct 2004 00:32:24 +0000 (00:32 +0000)]
SF bug #1052503:  pdb runcall should accept keyword arguments

20 years agoSF bug #1048870: call arg of lambda not updating
Raymond Hettinger [Sun, 24 Oct 2004 00:10:06 +0000 (00:10 +0000)]
SF bug #1048870:  call arg of lambda not updating

20 years agoConverted some stinking hard tabs. Left the fragrant hard tabs alone.
Tim Peters [Sat, 23 Oct 2004 03:48:57 +0000 (03:48 +0000)]
Converted some stinking hard tabs.  Left the fragrant hard tabs alone.

20 years agoMove to version 2 of the PSF license, approved by the Board earlier today.
Tim Peters [Sat, 23 Oct 2004 03:43:54 +0000 (03:43 +0000)]
Move to version 2 of the PSF license, approved by the Board earlier today.

20 years agoAdded example of multiple destinations
Vinay Sajip [Fri, 22 Oct 2004 21:43:15 +0000 (21:43 +0000)]
Added example of multiple destinations

20 years agoFix minor reST error in Misc/NEWS.
Brett Cannon [Fri, 22 Oct 2004 06:22:54 +0000 (06:22 +0000)]
Fix minor reST error in Misc/NEWS.

Applies patch #1051866.  Thanks Felix Wiemann.

20 years agoLatest version for beta 1.
Sean Reifschneider [Thu, 21 Oct 2004 23:35:45 +0000 (23:35 +0000)]
Latest version for beta 1.

20 years agoFixed bug in handling of args in LogRecord.__init__.
Vinay Sajip [Thu, 21 Oct 2004 21:24:27 +0000 (21:24 +0000)]
Fixed bug in handling of args in LogRecord.__init__.

20 years agoRemoved test_close_fds, because it's too unreliable. We simply cannot
Peter Astrand [Thu, 21 Oct 2004 19:28:34 +0000 (19:28 +0000)]
Removed test_close_fds, because it's too unreliable. We simply cannot
know that the newly-started Python process only has 3 filedescriptors
open. Fixes bug 1048808.

20 years agoAdd item
Andrew M. Kuchling [Wed, 20 Oct 2004 11:56:15 +0000 (11:56 +0000)]
Add item

20 years ago[Patch #1043972, for bug #1017553] filemode() returns an incorrect value for the...
Andrew M. Kuchling [Wed, 20 Oct 2004 11:48:42 +0000 (11:48 +0000)]
[Patch #1043972, for bug #1017553] filemode() returns an incorrect value for the mode 07111

20 years agoAdd test case for bug #1017553
Andrew M. Kuchling [Wed, 20 Oct 2004 11:47:01 +0000 (11:47 +0000)]
Add test case for bug #1017553

20 years agowhen only using half of the return value of os.path.split(), use
Fred Drake [Wed, 20 Oct 2004 11:08:35 +0000 (11:08 +0000)]
when only using half of the return value of os.path.split(), use
os.path.dirname() or os.path.basename() instead

20 years agoChanged handling of args in LogRecord.__init__.
Vinay Sajip [Wed, 20 Oct 2004 08:39:40 +0000 (08:39 +0000)]
Changed handling of args in LogRecord.__init__.

20 years agoSF bug #902037: relative on-disk SYSTEM id handling is incorrect
Raymond Hettinger [Wed, 20 Oct 2004 08:21:57 +0000 (08:21 +0000)]
SF bug #902037: relative on-disk SYSTEM id handling is incorrect

20 years agoSF bug #902037: relative on-disk SYSTEM id handling is incorrect
Raymond Hettinger [Wed, 20 Oct 2004 08:21:19 +0000 (08:21 +0000)]
SF bug #902037: relative on-disk SYSTEM id handling is incorrect
(Contributed by Bob Ippolito.)

backport candidate.

20 years agoSF patch #1038388: __main__ for whichdb.py
Raymond Hettinger [Wed, 20 Oct 2004 07:17:16 +0000 (07:17 +0000)]
SF patch #1038388:  __main__ for whichdb.py
(Contributed by Oleg Broytmann.)

20 years agoSF bug #1048728: Bug fixes and cleanup for decimal.py
Raymond Hettinger [Wed, 20 Oct 2004 06:58:28 +0000 (06:58 +0000)]
SF bug #1048728:  Bug fixes and cleanup for decimal.py
(Contributed by Neal Norwitz.  Reviewed by Facundo Bastista.)

20 years agoDelete empty sections in beta1 news
Andrew M. Kuchling [Tue, 19 Oct 2004 19:56:55 +0000 (19:56 +0000)]
Delete empty sections in beta1 news

20 years agoAdd item
Andrew M. Kuchling [Tue, 19 Oct 2004 19:54:41 +0000 (19:54 +0000)]
Add item

20 years agoRemove the current version of zlib (we'll just have to keep updating it); rewrite...
Andrew M. Kuchling [Tue, 19 Oct 2004 19:50:23 +0000 (19:50 +0000)]
Remove the current version of zlib (we'll just have to keep updating it); rewrite following sentence to make sense without the previous one

20 years agoTypo fixes, and a minor edit to clarify a sentence
Andrew M. Kuchling [Tue, 19 Oct 2004 19:39:02 +0000 (19:39 +0000)]
Typo fixes, and a minor edit to clarify a sentence

20 years agoDisplay helpful message; print repr() of return value so the whitespace is clearer
Andrew M. Kuchling [Tue, 19 Oct 2004 19:36:09 +0000 (19:36 +0000)]
Display helpful message; print repr() of return value so the whitespace is clearer

20 years ago[Bug #1048816] Fix bug when you do Ctrl-K at the start of a line; fix from Stefan...
Andrew M. Kuchling [Tue, 19 Oct 2004 19:29:40 +0000 (19:29 +0000)]
[Bug #1048816] Fix bug when you do Ctrl-K at the start of a line; fix from Stefan Heimann

20 years agoMake magic coordinates more readable
Andrew M. Kuchling [Tue, 19 Oct 2004 19:21:20 +0000 (19:21 +0000)]
Make magic coordinates more readable

20 years ago[Bug #1049826] Update version of zlib referenced in text
Andrew M. Kuchling [Tue, 19 Oct 2004 18:52:49 +0000 (18:52 +0000)]
[Bug #1049826] Update version of zlib referenced in text

20 years agoRely on the style sheet more for the distutils markup.
Fred Drake [Tue, 19 Oct 2004 15:40:38 +0000 (15:40 +0000)]
Rely on the style sheet more for the distutils markup.

20 years agomade it clear that this isn't a complete reference to
Fred Drake [Mon, 18 Oct 2004 21:30:40 +0000 (21:30 +0000)]
made it clear that this isn't a complete reference to
LaTeX-as-used-in-Python-documentation, and added some notes about
what's missing

20 years agoBump version
Andrew M. Kuchling [Mon, 18 Oct 2004 16:16:53 +0000 (16:16 +0000)]
Bump version

20 years agoClarify note about using %U and %W with strptime().
Brett Cannon [Mon, 18 Oct 2004 01:53:15 +0000 (01:53 +0000)]
Clarify note about using %U and %W with strptime().

20 years agoFix comments.
Brett Cannon [Mon, 18 Oct 2004 01:47:46 +0000 (01:47 +0000)]
Fix comments.

20 years agoAdd support for %U and %W to contribute to calculating the date when the year
Brett Cannon [Mon, 18 Oct 2004 01:37:57 +0000 (01:37 +0000)]
Add support for %U and %W to contribute to calculating the date when the year
and day of the week are specified.

Closes bug #1045381.

20 years agoAdd sections for 2.4b2
Brett Cannon [Mon, 18 Oct 2004 01:32:09 +0000 (01:32 +0000)]
Add sections for 2.4b2

20 years agoSF #1048865: Fix a trivial typo that breaks StreamReader.readlines()
Hye-Shik Chang [Sun, 17 Oct 2004 23:51:21 +0000 (23:51 +0000)]
SF #1048865: Fix a trivial typo that breaks StreamReader.readlines()

20 years agoSF bug #1048756, Doc typo for pdb
Neal Norwitz [Sun, 17 Oct 2004 19:55:47 +0000 (19:55 +0000)]
SF bug #1048756, Doc typo for pdb

20 years agosome platforms still need offsetof() from structmember.h
Fred Drake [Sun, 17 Oct 2004 19:36:57 +0000 (19:36 +0000)]
some platforms still need offsetof() from structmember.h

20 years agoFix and test weak referencing of itertools.tee objects.
Raymond Hettinger [Sun, 17 Oct 2004 16:40:14 +0000 (16:40 +0000)]
Fix and test weak referencing of itertools.tee objects.

20 years agoFix docstring formatting of escape sequences.
Raymond Hettinger [Sun, 17 Oct 2004 16:36:53 +0000 (16:36 +0000)]
Fix docstring formatting of escape sequences.

20 years agoSF patch #1047577, typo in liblocale.tex
Neal Norwitz [Sun, 17 Oct 2004 16:36:05 +0000 (16:36 +0000)]
SF patch #1047577, typo in liblocale.tex

20 years agoSF Patch #1048341: subprocess documentation, based on PEP/docstring by
Fredrik Lundh [Sun, 17 Oct 2004 16:29:48 +0000 (16:29 +0000)]
SF Patch #1048341: subprocess documentation, based on PEP/docstring by
Peter Astrand, with markup by Fredrik Lundh and Raymond Hettinger.

20 years agoInvalid patterns to substitute and safe_substitute would crash since pattern
Neal Norwitz [Sun, 17 Oct 2004 16:27:18 +0000 (16:27 +0000)]
Invalid patterns to substitute and safe_substitute would crash since pattern
is not a local variable.  Add a test case.

20 years agoUse proper value for False
Neal Norwitz [Sun, 17 Oct 2004 16:24:25 +0000 (16:24 +0000)]
Use proper value for False

20 years agoRemove unnecessary imports
Neal Norwitz [Sun, 17 Oct 2004 16:23:52 +0000 (16:23 +0000)]
Remove unnecessary imports

20 years agoreturn codes are available on all platforms, not just on Unix
Fredrik Lundh [Sun, 17 Oct 2004 14:47:05 +0000 (14:47 +0000)]
return codes are available on all platforms, not just on Unix

20 years agoSF Bug #1046800: Importing Tkinter correctly (thanks Vishnu).
Facundo Batista [Sat, 16 Oct 2004 21:40:35 +0000 (21:40 +0000)]
SF Bug #1046800: Importing Tkinter correctly (thanks Vishnu).

20 years agoThis commit was manufactured by cvs2svn to create tag 'r24b1'. v2.4b1
cvs2svn [Fri, 15 Oct 2004 08:07:21 +0000 (08:07 +0000)]
This commit was manufactured by cvs2svn to create tag 'r24b1'.

20 years agorelease shenanigans
Anthony Baxter [Fri, 15 Oct 2004 08:07:21 +0000 (08:07 +0000)]
release shenanigans

20 years agoApplied patch for [ 1047269 ] Buffer overwrite in PyUnicode_AsWideChar.
Marc-André Lemburg [Fri, 15 Oct 2004 07:45:05 +0000 (07:45 +0000)]
Applied patch for [ 1047269 ] Buffer overwrite in PyUnicode_AsWideChar.

Python 2.3.x candidate.

20 years agomake sure to check for this limit even if we're running with -O
Fredrik Lundh [Fri, 15 Oct 2004 06:15:08 +0000 (06:15 +0000)]
make sure to check for this limit even if we're running with -O

20 years agoBump buildno for 2.4b1
Martin v. Löwis [Fri, 15 Oct 2004 05:44:39 +0000 (05:44 +0000)]
Bump buildno for 2.4b1

20 years agoAdd _subprocess.c
Martin v. Löwis [Fri, 15 Oct 2004 04:27:51 +0000 (04:27 +0000)]
Add _subprocess.c

20 years agoPatch #1020042: Only define HAVE_UINTPTR_T for VC 7.x.
Martin v. Löwis [Fri, 15 Oct 2004 04:26:18 +0000 (04:26 +0000)]
Patch #1020042: Only define HAVE_UINTPTR_T for VC 7.x.

20 years agoSF bug #1046855: httplib index out of range
Raymond Hettinger [Thu, 14 Oct 2004 15:23:38 +0000 (15:23 +0000)]
SF bug #1046855:  httplib index out of range

20 years agoJust remove the #include of signal.h. That it was C++-commented out
Michael W. Hudson [Thu, 14 Oct 2004 13:27:14 +0000 (13:27 +0000)]
Just remove the #include of signal.h.  That it was C++-commented out
was a mistake of mine in updating patch #975056 (I think).

20 years agoPatch 1046644 - improved distutils support for SWIG.
Anthony Baxter [Thu, 14 Oct 2004 10:02:08 +0000 (10:02 +0000)]
Patch 1046644 - improved distutils support for SWIG.

20 years agobump the version number prior to release
Fred Drake [Thu, 14 Oct 2004 05:07:17 +0000 (05:07 +0000)]
bump the version number prior to release

20 years agoremove_stderr_debug_decorations(): Always try the substitution. Else
Tim Peters [Thu, 14 Oct 2004 04:16:54 +0000 (04:16 +0000)]
remove_stderr_debug_decorations():  Always try the substitution.  Else
this test failed under the combination of passing -O to a debug-build
Python.  Now all 4 of those pass ({debug, release} x {-O, no -O}).

20 years agoUse C89 style comment for old compilers
Neal Norwitz [Thu, 14 Oct 2004 03:48:30 +0000 (03:48 +0000)]
Use C89 style comment for old compilers

20 years agoGet test to pass on amd64 (opteron). This is pretty hacky, but
Neal Norwitz [Thu, 14 Oct 2004 03:46:18 +0000 (03:46 +0000)]
Get test to pass on amd64 (opteron).  This is pretty hacky, but
rangeobject.c has an #ifdef that is reached only when LONG_MAX != INT_MAX

20 years agoSF bug 1046690: difflib.HtmlDiff doc errors.
Tim Peters [Thu, 14 Oct 2004 03:09:48 +0000 (03:09 +0000)]
SF bug 1046690:  difflib.HtmlDiff doc errors.

Easy doc corrections from Dan Gass.
Also repaired the LaTeX for optional keyword arguments throughout, which
was (incorrectly) nested instead of flat.

20 years agoRequire minimally PyXML 0.8.4.
Martin v. Löwis [Wed, 13 Oct 2004 19:57:14 +0000 (19:57 +0000)]
Require minimally PyXML 0.8.4.

20 years agoSynchronize with PyXML 1.79:
Martin v. Löwis [Wed, 13 Oct 2004 19:50:11 +0000 (19:50 +0000)]
Synchronize with PyXML 1.79:
73: Restore support for Python 2.1.
74: Factor the previous change differently
79: Conditionalize usage of PyTuple_Pack.

20 years agoReplace dynamic try/except with "if 0", to keep py2exe happy. If you
Fredrik Lundh [Wed, 13 Oct 2004 18:19:18 +0000 (18:19 +0000)]
Replace dynamic try/except with "if 0", to keep py2exe happy.  If you
want to use pywin32 instead of _subprocess, you have to edit the file.

20 years agoPatch 983206: distutils obeys LDSHARED env var. Removed the code in
Anthony Baxter [Wed, 13 Oct 2004 15:54:17 +0000 (15:54 +0000)]
Patch 983206: distutils obeys LDSHARED env var. Removed the code in
Python's own setup.py that did the same thing (and tested on Solaris,
where LDSHARED is needed...)

20 years agoPatch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.h
Anthony Baxter [Wed, 13 Oct 2004 15:30:56 +0000 (15:30 +0000)]
Patch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.h
detection to configure &c.

20 years ago969574
Anthony Baxter [Wed, 13 Oct 2004 14:55:56 +0000 (14:55 +0000)]
969574

20 years agoPatch #975056 - fixes for restartable signals on *BSD. In addition,
Anthony Baxter [Wed, 13 Oct 2004 14:48:50 +0000 (14:48 +0000)]
Patch #975056 - fixes for restartable signals on *BSD. In addition,
a few remaining calls to signal() were converted to PyOS_setsig().

20 years agoFixed a small bug. doctest didn't handle unicode docstrings containing
Jim Fulton [Wed, 13 Oct 2004 14:15:32 +0000 (14:15 +0000)]
Fixed a small bug. doctest didn't handle unicode docstrings containing
non-ascii characters.

20 years agooops. how did _that_ happen?
Anthony Baxter [Wed, 13 Oct 2004 13:22:34 +0000 (13:22 +0000)]
oops. how did _that_ happen?

20 years agoBacking out the basic dependency checking (from pycon sprint).
Anthony Baxter [Wed, 13 Oct 2004 12:35:28 +0000 (12:35 +0000)]
Backing out the basic dependency checking (from pycon sprint).
This support was only a first cut, and doesn't deserve to be in
a released version (where we have to support it in an ongoing
manner)

20 years agoDon't spend quite as much time looking for leaks on Windows, where
Fredrik Lundh [Wed, 13 Oct 2004 07:54:54 +0000 (07:54 +0000)]
Don't spend quite as much time looking for leaks on Windows, where
it's rather expensive to create new processes.

20 years agonormalize case when comparing directory names (problem reported by
Fredrik Lundh [Wed, 13 Oct 2004 06:55:40 +0000 (06:55 +0000)]
normalize case when comparing directory names (problem reported by
"Khalid A. B." on python-dev)

20 years agoremoved info@pythonware.com reference
Fredrik Lundh [Wed, 13 Oct 2004 06:48:37 +0000 (06:48 +0000)]
removed info@pythonware.com reference

(should probably remove all traces of _xmlrpclib, but I'll leave that
for another day.)

20 years agoAdd a comment explaining -kb.
Martin v. Löwis [Wed, 13 Oct 2004 05:29:39 +0000 (05:29 +0000)]
Add a comment explaining -kb.

20 years agoNew helper remove_stderr_debug_decorations(). This test passes in a
Tim Peters [Wed, 13 Oct 2004 04:07:12 +0000 (04:07 +0000)]
New helper remove_stderr_debug_decorations().  This test passes in a
debug build on Windows now.  More applications of the helper may be needed
on non-Windows platforms.

20 years agoKill several problems at once: test_poll() failed sometimes for me.
Tim Peters [Wed, 13 Oct 2004 03:43:40 +0000 (03:43 +0000)]
Kill several problems at once:  test_poll() failed sometimes for me.
Turns out the mysterious "expected output" file contained exactly N dots,
because test_poll() has a loop that *usually* went around N times,
printing one dot on each loop trip.  But there's no guarantee of that,
because the exact value of N depended on the vagaries of scheduling
time.sleep()s across two different processes.  So stopped printing dots,
and got rid of the expected output file.  Add a loop counter instead,
and verify that the loop goes around at least a couple of times.  Also
cut the minimum time needed for this test from 4 seconds to 1.

20 years agotest_stdout_none(): Don't print "banana" to the screen in the middle
Tim Peters [Wed, 13 Oct 2004 03:29:54 +0000 (03:29 +0000)]
test_stdout_none():  Don't print "banana" to the screen in the middle
of the test.  It's testing stdout in a different process, so it has to
print something, but I didn't find "banana" to be self-explanatory.

20 years agoWindows test_creationflags() test: print msg to stderr informing the
Tim Peters [Wed, 13 Oct 2004 03:21:35 +0000 (03:21 +0000)]
Windows test_creationflags() test:  print msg to stderr informing the
tester that a DOS box is expected to flash.  Slash the sleep from 2
seconds to a quarter second (why would we want to wait 2 seconds just
to stare at a DOS box?).

20 years agoFolded long lines.
Tim Peters [Wed, 13 Oct 2004 03:15:00 +0000 (03:15 +0000)]
Folded long lines.

20 years agoXXX about extreme expense of test_no_leaking() on Windows. I'm not sure
Tim Peters [Wed, 13 Oct 2004 03:14:40 +0000 (03:14 +0000)]
XXX about extreme expense of test_no_leaking() on Windows.  I'm not sure
what this is trying to do.  If it's necessary for it to create > 1000
processes, it should be controlled by a new resource and not run by
default on Windows.

20 years agoExperience with Zope2's tests showed it's a Bad Idea to make unittest
Tim Peters [Tue, 12 Oct 2004 22:29:54 +0000 (22:29 +0000)]
Experience with Zope2's tests showed it's a Bad Idea to make unittest
display a test's docstring as "the name" of the test.  So changed most
test docstrings to comments, and removed the clearly useless ones.  Now
unittest reports the actual names of the test methods.

20 years agoWrap long lines.
Tim Peters [Tue, 12 Oct 2004 22:19:32 +0000 (22:19 +0000)]
Wrap long lines.

20 years agoWhitespace normalization.
Tim Peters [Tue, 12 Oct 2004 21:51:32 +0000 (21:51 +0000)]
Whitespace normalization.

20 years agoSupply the _subprocess module under 7.1. I'm not sure what the status
Tim Peters [Tue, 12 Oct 2004 21:48:57 +0000 (21:48 +0000)]
Supply the _subprocess module under 7.1.  I'm not sure what the status
of this should be on non-WIN32 Windows variants.

20 years agoBefore this turns into an unreadable mess, follow PEP 7 by using
Tim Peters [Tue, 12 Oct 2004 21:38:22 +0000 (21:38 +0000)]
Before this turns into an unreadable mess, follow PEP 7 by using
hard tab indents in C code.

20 years agoImprovements when running pdb as a script.
Johannes Gijsbers [Tue, 12 Oct 2004 18:12:09 +0000 (18:12 +0000)]
Improvements when running pdb as a script.

Bug fixes:

* Use fresh copy of globals/locals so the script being debugged can't access
  the pdb namespace (e.g.: p line_prefix will no longer work).

* Remove pdb.py's path from sys.path. Having it in there is normally not a
  problem, but it could prove irritating when messing with PYTHONPATH or
  invoking pdb via /usr/bin/pdf.

* You can now set a breakpoint on the script being debugged, even if the script
  doesn't end with a '.py' extension. Also, setting breakpoints with absolute
  paths now works reliably.

Enhancements:

* Go directly to the first line of the script.

* Enter post-mortem debugging if the script being debugged doesn't catch an
  exception.

* Restart the script being debugged and preserve debugger state when the script
  being debugged exits.

Cleanup:

* Moved the __main__ method into a main() function.

* Kill the (undocumented, not in __all__) mainmodule/mainpyfile globals, add a
  mainpyfile attribute to pdb.

Thanks Ilya Sandler for the patch!

20 years agoTypo fix
Andrew M. Kuchling [Tue, 12 Oct 2004 16:38:42 +0000 (16:38 +0000)]
Typo fix

20 years agoFinish off PEP 324 section; fix Peter's last name
Andrew M. Kuchling [Tue, 12 Oct 2004 16:36:57 +0000 (16:36 +0000)]
Finish off PEP 324 section; fix Peter's last name

20 years agoStart section for PEP 324
Andrew M. Kuchling [Tue, 12 Oct 2004 15:58:02 +0000 (15:58 +0000)]
Start section for PEP 324

20 years agoFix PEP number
Andrew M. Kuchling [Tue, 12 Oct 2004 15:32:10 +0000 (15:32 +0000)]
Fix PEP number

20 years agoAdded Peter Astrand's subprocess module.
Fredrik Lundh [Tue, 12 Oct 2004 15:26:28 +0000 (15:26 +0000)]
Added Peter Astrand's subprocess module.

20 years agoDon't use mutable values for method defaults.
Raymond Hettinger [Tue, 12 Oct 2004 09:12:16 +0000 (09:12 +0000)]
Don't use mutable values for method defaults.

20 years agoAdd two items
Andrew M. Kuchling [Mon, 11 Oct 2004 19:20:06 +0000 (19:20 +0000)]
Add two items

20 years agoDocument that on Unix, the 'cmd' argument to the os.popen2/3/4 and
Johannes Gijsbers [Mon, 11 Oct 2004 18:12:20 +0000 (18:12 +0000)]
Document that on Unix, the 'cmd' argument to the os.popen2/3/4 and
popen2.popen2/3/4 functions can be a sequence. All texts are a variation on the
following:

On \UNIX, \var{cmd} may be a sequence, in which case arguments will be passed
directly to the program without shell intervention (as with
\function{os.spawnv()}). If \var{cmd} is a string it will be passed to the shell
(as with \function{os.system()}).

20 years agoThis is jiwon's patch to fix:
Michael W. Hudson [Mon, 11 Oct 2004 15:35:53 +0000 (15:35 +0000)]
This is jiwon's patch to fix:

1042238 ] Lib/compiler chokes on certain genexps

20 years agoOpen source files in universal newlines mode.
Michael W. Hudson [Mon, 11 Oct 2004 15:34:31 +0000 (15:34 +0000)]
Open source files in universal newlines mode.