Andrew M. Kuchling
47ca2bc661
[Patch #588809 ] Remove check of environment variables; sysconfig.py will do that now
2002-11-04 19:50:03 +00:00
Martin v. Löwis
574deae5b7
Patch #625823 : Add symbolic constants for more commands.
2002-11-04 17:34:07 +00:00
Andrew M. Kuchling
e2d1214c42
[Bug #620630 ] Flush stdout after logging every message. Without it,
...
when output is redirected to a file, compiler error messages show
up before Distutils prints the command being invoked.
2002-11-04 14:27:43 +00:00
Andrew M. Kuchling
33a5edf89c
Add get_distutil_options(); future setup.py files can use this to check
...
whether the Distutils being used supports a particularly capability.
(This idea was originally suggested by Juergen Hermann as a method
on the Distribution class. I think it makes more sense as a
function in core.py, and that's what this patch implements.)
2002-11-04 13:45:15 +00:00
Andrew M. Kuchling
b6c316f134
[Bug #570655 ] Fix misleading option text
2002-11-04 13:33:07 +00:00
Martin v. Löwis
1da9c57c74
Patch #630829 : Don't block on IAC, process suboptions.
2002-11-04 09:56:00 +00:00
Chui Tey
a178cff979
[ 629984 ] Smaller font sizes not supported
2002-11-04 03:17:45 +00:00
Chui Tey
993e81a8a5
619127: Recent File Menu Not Updating
2002-11-04 03:11:10 +00:00
Martin v. Löwis
f0a4668e6f
Add getpreferredencoding. Support @euro modifiers. Fixes #554676 .
...
The @euro part is backported to 2.2.3.
2002-11-03 17:20:12 +00:00
Neal Norwitz
26a1eefd0f
Fix SF # 631066, running regrtest in user mode fails
...
Try to write to TESTFN, if that fails, try TESTFN in /tmp
If that fails, print a warning and go on.
Will backport.
2002-11-03 00:35:53 +00:00
Neal Norwitz
e7629c85bc
Skip test_dbm if we can't write to the file
...
Cleanup (remove) the file(s) after we are done with the test.
(Fixes problem on snake farm)
2002-11-02 18:25:08 +00:00
Raymond Hettinger
4f759d8504
Correct erroneous parenthesis placement in the delta from 1.63 to 1.64.
2002-11-02 02:02:46 +00:00
Finn Bock
57bc5fa60a
Patch #631972 : Adds an is_jython flag.
2002-11-01 18:02:03 +00:00
Fredrik Lundh
768c98bb0b
patch #624180 (part 2 of 2):
...
use unquote on authentication strings, to allow users to embed
@ and : in user names and passwords (from Phillip Eby)
2002-11-01 17:14:16 +00:00
Finn Bock
218c5f9691
[SF bug 631713] use the import exeption message in the TestFailed
...
exception.
2002-11-01 11:33:00 +00:00
Greg Ward
d1a72a0d5e
Ad test_funky_hyphens() to test some screwy edge cases reported in SF
...
bug #596434 . (Alas, I don't think this completely covers that bug.)
Remove 'wrapper' argument from BaseTestCase.check_split() -- it's not
actually needed.
2002-10-31 16:11:18 +00:00
Thomas Heller
05c9335659
Fixes SF bug#614051: win32 build_ext problem.
2002-10-31 14:26:37 +00:00
Andrew M. Kuchling
ccf4e421b8
Catch only ImportError
2002-10-31 13:39:33 +00:00
Andrew M. Kuchling
ff4ad9a1ce
Make the Distribution() constructor forgiving of unknown keyword
...
arguments, triggering a warning instead of raising an exception. (In
1.5.2/2.0, it will print to stderr.)
Bugfix candidate for all previous versions. This changes behaviour,
but the old behaviour wasn't very useful. If Distutils version X+1
adds a new keyword argument, using the new keyword means your setup.py
file won't work with Distutils version X any more.
2002-10-31 13:22:41 +00:00
Raymond Hettinger
d8ea2e080f
Added missing class to __all__.
2002-10-30 06:20:37 +00:00
Raymond Hettinger
a853cc6647
Added __all__.
2002-10-30 06:15:53 +00:00
Raymond Hettinger
39f02f98f5
Added missing names to __all__.
2002-10-30 06:09:58 +00:00
Raymond Hettinger
2b9bfb33ff
Added new move() function to __all__.
2002-10-30 05:44:50 +00:00
Tim Peters
fb05c4e5bb
SF bug 630824: pydoc Helper keywords missing 'yield'
...
Wow, what a brittle subsystem! Fixed, maybe, provided Fred doesn't
shuffle the docs around.
Bugfix candidate.
2002-10-30 05:21:00 +00:00
Raymond Hettinger
edc853e2f4
Patrick K. O'Brien notices that kwlist was missing from __all__.
...
Added because it is part of the documented interface.
2002-10-30 05:17:22 +00:00
Guido van Rossum
2c9590f625
Added test for this fix to classobject.c:
...
Since properties are supported here, is possible that
instance_getattr2() raises an exception. Fix all code that made this
assumption.
Backport candidate.
2002-10-29 19:08:29 +00:00
Fred Drake
6d8905012c
Minor simplification.
2002-10-28 18:09:41 +00:00
Fred Drake
9142b19216
Remove unnecessary output file.
2002-10-28 17:59:24 +00:00
Fred Drake
32f3add267
Add a test of interaction between & and extra replacements.
...
Remove extra noise from the output when there are no errors, and say more
in the exception when there are errors.
2002-10-28 17:58:48 +00:00
Fred Drake
407fea5197
Really do replacement of & last to avoid bad interactions between &
...
replacement and replacements based on the entities parameter.
2002-10-28 17:46:59 +00:00
Fred Drake
f55222d98f
Avoid calling __dict_replace() if we don't need to -- the call is much
...
more expensive than just doing to work needed, and these things seem
to always turn into a bottleneck eventually.
2002-10-28 17:29:01 +00:00
Martin v. Löwis
74b51ac1e5
Patch #613256 : Add nescape method to xml.sax.saxutils.
2002-10-26 14:50:45 +00:00
Fred Drake
0eebd5cef9
Implement a safer and more predictable interpolation approach.
...
Closes SF bug #511737 .
2002-10-25 21:52:00 +00:00
Fred Drake
98e3b29b59
Add tests for both raw and non-raw versions of the items() methods.
2002-10-25 20:42:44 +00:00
Fred Drake
df393bd46a
According to the docs, __name__ is not exposed via the API except
...
indirectly via %(__name__)s. Not sure why, but maintain the
documented behavior for the new items() method.
Be a little more efficient about how we compute the list of options in
the ConfigParser.items() method.
2002-10-25 20:41:30 +00:00
Fred Drake
8811ce79f1
Remove useless output file.
2002-10-25 19:41:26 +00:00
Fred Drake
c6f2891af8
Convert to PyUnit.
2002-10-25 19:40:49 +00:00
Fred Drake
3af0eb872a
Added (very) minimal tests of the RawConfigParser class.
...
Moved the write() test to near the end of the file since it screws up
font-lock. ;-(
2002-10-25 18:09:24 +00:00
Fred Drake
fce6557c6b
Re-factor: Use a RawConfigParser base class and make ConfigParser a
...
derived class that adds the ugly string interpolation code. In the
process, changed all "__" methods and instance variables to "_".
2002-10-25 18:08:18 +00:00
Marc-André Lemburg
9cd87aaa54
Fix for bug #626172 : crash using unicode latin1 single char
...
Python 2.2.3 candidate.
2002-10-23 09:02:46 +00:00
Kurt B. Kaiser
45186c4ce0
Implement Restoring Breakpoints in Subprocess Debugger
...
M Debugger.py
M EditorWindow.py
M PyShell.py
0. Polish PyShell.linecache_checkcache()
1. Move break clearing code to PyShell.PyShellEditorWindow from
EditorWindow.
2. Add PyShellEditorWindow.breakpoints attribute to __init__, a list of
line numbers which are breakpoints for that edit window.
3. Remove the code in Debugger which removes all module breakpoints when
debugger is closed. Want to be able to reload into debugger when
restarted.
4. Moved the code which sets EditorWindow.text breakpoints from Debugger
to PyShell.PyShellEditorWindow and refactored.
5. Implement reloading subprocess debugger with breakpoints from all open
PyShellEditorWindows when debugger is opened or subprocess restarted.
6. Eliminate the break_set attribute, use the breakpoint list instead.
2002-10-23 04:48:08 +00:00
Greg Ward
4c486bc0c0
Add comment about inability to handle Unicode strings (hopefully a
...
temporary condition).
2002-10-22 18:31:50 +00:00
Fredrik Lundh
1303c7cb16
add support for basic authentication, based on patch #624180
...
by Phillip J. Eby
2002-10-22 18:23:00 +00:00
Raymond Hettinger
9ecf9ce161
Patches #626105 :
...
Replaces the _center function in the calendar
module with the center method for strings.
For situations with uneven padding, the behavior is
slightly different in that the center method puts the
extra space on the right instead of the left.
2002-10-22 05:15:17 +00:00
Barry Warsaw
4111804548
test_body_encoding(): a new test for Charset.body_encode(), especially
...
one that tests the obscure bug reported in SF # 625509.
2002-10-21 05:43:58 +00:00
Barry Warsaw
34aa44538d
test_body_encoding(): a new test
2002-10-21 05:31:08 +00:00
Barry Warsaw
3d57589f0f
body_encode(): Fixed typo reported by Chris Lawrence, closing SF bug
...
#625509 . This isn't a huge problem because at the moment there are no
built-in charsets for which header_encoding is QP but body_encoding is
not.
2002-10-21 05:29:53 +00:00
Raymond Hettinger
fca3bb6a29
Explicitly use floor division
2002-10-21 04:44:11 +00:00
Raymond Hettinger
d058f08e03
Eliminate unused instance variable
2002-10-21 03:08:20 +00:00
Fredrik Lundh
37a0982278
point people to the Python bug tracker, rather than to a mail
...
account I hardly ever use...
2002-10-19 20:19:10 +00:00