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
Jack Jansen
37e477216b
Forward port of 1.12.14.3 (which has an incorrect log message):
...
if SetDates() in touched() returns an error ignore it: the user may not have
permission to change the parent folder. This is a non-serious problem,
the only function of touched() is to speed up the finder seeing the
change.
2002-10-29 22:48:43 +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
Guido van Rossum
f740bdf337
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 18:36:40 +00:00
Martin v. Löwis
3e2c632620
Patch #629426 : Eliminate more autoconf warnings. Use AC_HELP_STRING.
2002-10-29 10:07:43 +00:00
Fred Drake
d0c7137c8b
Chapter titles that get split over multiple lines in the typeset
...
formats can't have whitespace after the last non-blank character (bug
in LaTeX?); fix up a couple of instances of this.
Update an email address.
2002-10-28 19:28:22 +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
Guido van Rossum
15941e6a63
Oops, committed this in the wrong place.
2002-10-28 01:07:02 +00:00
Guido van Rossum
69ccfcc8da
Spreadsheet demo that I used in the advanced talk at Linux Lunacy II.
2002-10-28 01:06:37 +00:00
Guido van Rossum
38749b64c4
Beginnings of a spreadsheet I used as an example on Linux Lunacy II.
2002-10-27 22:48:56 +00:00
Skip Montanaro
35f63a860b
Change PyOS_Readline declaration to match the recent change to myreadline.c
...
(see Patch 512981). I changed stdin to sys_stdin in the body of the
function, but did not change stderr to sys_stdout, though I suspect that may
be the correct course. I don't know the code involved well enough to judge.
2002-10-27 01:59:21 +00:00
Martin v. Löwis
8c1402869b
Patch #627105 : Document that SYSTEM_PAGE_SIZE really should not be
...
larger than the system page size.
2002-10-26 15:01:53 +00:00
Martin v. Löwis
74b51ac1e5
Patch #613256 : Add nescape method to xml.sax.saxutils.
2002-10-26 14:50:45 +00:00
Martin v. Löwis
edb6bff67f
Add Daniel Stutzbach, for #512981 .
2002-10-26 14:43:07 +00:00
Martin v. Löwis
080689c3f6
Document patch #512981 .
2002-10-26 14:42:02 +00:00
Martin v. Löwis
566f6afe9a
Patch #512981 : Update readline input stream on sys.stdin/out change.
2002-10-26 14:39:10 +00:00
Martin v. Löwis
88afe666da
Patch #623771 : Properly use autoconf 2.5x macros.
2002-10-26 13:47:44 +00:00
Martin v. Löwis
c9d07dfc87
Remove duplicate definitions of _XOPEN_SOURCE_EXTENDED.
2002-10-26 13:36:13 +00:00
Martin v. Löwis
e4826580bc
Patch #628898 : Define _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE.
2002-10-26 13:33:00 +00:00
Raymond Hettinger
7fbd01262c
Clarify packages in tutorial. Closes SF bug #616211 .
2002-10-26 03:13:57 +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
97d5f05221
Update to reflect the refactoring into the RawConfigParser and
...
ConfigParser classes.
2002-10-25 20:20:58 +00:00
Jack Jansen
b1248ceb90
Under Jaguar it seems that 'errn' return value keyword parameters don't
...
(or don't always?) show up with missed(). I think this is a bug in
Jaguar, but as it is a potential dangerous problem (the OSA event has
failed, but the Python code isn't told about this and happily continues)
this is a quick workaround.
Bugfix candidate, I'll add it to 2.2.2 as a last second fix.
2002-10-25 20:06:29 +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
Fred Drake
f596826673
- The "-" format flag overrides the "0" flag, not the "-" flag.
...
- Documented the alternate forms, which were claimed to be documented
but were not.
2002-10-25 16:55:51 +00:00
Fred Drake
5e96f1ff1d
Correct the description of PyErr_Restore().
...
Closes SF bug #577000 .
2002-10-24 20:54:18 +00:00
Just van Rossum
7b0255153f
'Replace all' in the find dialog didn't properly update the text view (it used to, though...). Fixed.
2002-10-24 20:03:29 +00:00
Fred Drake
79713fd9c6
Relocate an index entry so named anchors are not generated in a section head.
...
Closes SF bug #546579 .
2002-10-24 19:57:37 +00:00
Fred Drake
50276abd9b
Update an example to use the DOM implementation object. Explain that
...
the parse() and parseString() functions use a separate parser, not
actually implement a parser. (This is a common question.)
2002-10-24 19:36:04 +00:00
Fred Drake
73c5b6602d
Clean up some really minor Perl warnings.
2002-10-24 16:36:05 +00:00
Fred Drake
ff287cfb4c
Point to the PyXML package as an extended version of the "xml" package
...
that can provide this fuctionality.
Note that the docs for the xml.dom and xml.sax packages are the
definitiona of the Python bindings for the DOM and SAX interfaces.
2002-10-23 20:58:32 +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
Fred Drake
88f015dc88
Moved description of _urlopener adjacent to the related functions.
...
Added missing import to example code.
Added documentation for pathname2url(), url2pathname().
Closes SF bug #623196 .
2002-10-22 21:58:06 +00:00
Fred Drake
55803bca98
Describe __path__ along with the rest of the package description.
...
Closes SF bug #626554 .
2002-10-22 21:00:44 +00:00
Fred Drake
d6cf8bea0a
Modify example to use string methods instead of the string module.
2002-10-22 20:31:22 +00:00
Fred Drake
4b2472647a
Clarified the error cases and Unicode handling of PyString_AsString(),
...
PyString_AsStringAndSize(), and PyString_AS_STRING().
Closes SF bug #606463 .
2002-10-22 20:20:20 +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
019bd4a6c1
terminology
2002-10-22 18:26:28 +00:00