Piers Lauder
95f8495de8
fixed missing IMAP4_SSL_PORT
2002-03-08 09:05:12 +00:00
Tim Peters
c9ffa068d1
SF bug 515943: searching for data with \0 in mmap.
...
mmap_find_method(): this obtained the string to find via s#, but it
ignored its length, acting as if it were \0-terminated instead.
Someone please run on Linux too (the extended test_mmap works on Windows).
Bugfix candidate.
2002-03-08 05:43:32 +00:00
Fred Drake
02d2212c8e
Add entry for mac/libscrap.tex.
2002-03-08 03:18:19 +00:00
Fred Drake
f3e6f06a45
I started writing more documentation on the Scrap module at one point, but
...
it is difficult to do without a Mac box to try things out on. This expands
on what was there only a little bit; hopefully someone with a Mac can work
on this as well!
2002-03-08 03:15:49 +00:00
Skip Montanaro
31fd86c4f1
add Content-Type header to error responses
...
this closes patch 502080
2002-03-08 02:36:18 +00:00
Piers Lauder
a4f8313cbb
add SSL class submitted by Tino Lange
2002-03-08 01:53:24 +00:00
Fred Drake
6cb64f9e46
"Shortcut" should be "short-circuit".
...
This closes SF bug #526277 .
2002-03-08 00:54:43 +00:00
Skip Montanaro
df708788b6
add repr_str as alias for repr_string in both HTMLRepr and TextRepr classes
...
- reflects the change in type("").__name__ between 2.1 and 2.2. The
__name__ field is used to find a method to call for particular types.
2002-03-07 22:58:02 +00:00
Michael W. Hudson
70ffddf8af
Guido pointed out that I was missing a couple decrefs.
2002-03-07 15:13:40 +00:00
Michael W. Hudson
594bc80c46
Regenerate.
2002-03-07 09:59:15 +00:00
Michael W. Hudson
0c46c0cc70
Apply Jack's patch attached to
...
[ 508779 ] Disable flat namespace on MacOS X
I presume you wanted this on the trunk too, Jack?
2.2.1 candidate.
2002-03-07 09:58:56 +00:00
Michael W. Hudson
02b28ec316
Test for
...
[ 526039 ] devious code can crash structseqs
Bugfix candidate.
2002-03-06 17:18:15 +00:00
Michael W. Hudson
0e02530a79
Special support for pickling os.stat and os.stat_vfs results portably
...
(the types come from different modules on different platforms).
Added tests for pickling these types.
May be a bugfix candidate.
2002-03-06 17:11:18 +00:00
Michael W. Hudson
ce358e3015
Apply (my) patch:
...
[ 526072 ] pickling os.stat results round II
structseq's constructors can now take "invisible" fields in a dict.
Gave the constructors better error messages.
their __reduce__ method puts these fields in a dict.
(this is all in aid of getting os.stat_result's to pickle portably)
Also fixes
[ 526039 ] devious code can crash structseqs
Thought needed about how much of this counts as a bugfix. Certainly
#526039 needs to be fixed.
2002-03-06 17:07:49 +00:00
Fred Drake
da8a6dd072
Added missing version annotation for dict().
2002-03-06 02:29:30 +00:00
Jack Jansen
3014ce94ba
CGStubLib wasn't weak-linked, fixed. 221 candidate.
2002-03-05 22:43:50 +00:00
Martin v. Löwis
b786e61b1c
Set default value for readlines.sizehint to None. Change needed for 2.2.1
...
as well.
2002-03-05 15:46:38 +00:00
Michael W. Hudson
7bb466a1a5
A fix & test for
...
[ 496873 ] structseqs unpicklable
by adding a __reduce__ method to structseqs.
Will also commit this to the 2.2.1 branch momentarily.
2002-03-05 13:27:58 +00:00
Fred Drake
58fb237948
Add implementations for \textgreater and \textless, defined in (relatively)
...
recent versions of LaTeX2e but not support in LaTeX2HTML.
2002-03-05 04:04:06 +00:00
Fred Drake
9479c958c5
Remove extra indenatation from sample interpreter session.
...
Remove whitespace from the middle of an inline RE example; it was OK for
the typeset formats, but LaTeX2HTML is more touchy about this.
2002-03-05 04:02:39 +00:00
Steven M. Gava
dfd0b296d7
remove debug cruft
2002-03-05 00:31:43 +00:00
Steven M. Gava
f31eec0e2e
further work on new config system
2002-03-05 00:25:58 +00:00
Skip Montanaro
a8e1d81bdc
add simple example of avoiding backtracking
2002-03-04 23:08:28 +00:00
Just van Rossum
dd989e1ce7
Added ClipCGContextToRegion() from Quickdraw.h.
2002-03-04 10:31:32 +00:00
Martin v. Löwis
aa158be623
Remove tp_print.
2002-03-04 09:38:52 +00:00
Tim Peters
bc2e10e7b6
Python no longer compiled on Windows, due to #include file confusion
...
over SEP, ALTSEP and MAXPATHLEN.
Patched up posixmodule.c for MSVC, but unsure what the story is now on
other non-Unixish platforms -- the preprocessor maze has no exit <wink>.
2002-03-03 23:17:02 +00:00
Barry Warsaw
5833baa309
Removed two unused imports. Closes patch #525225 .
...
2.2.1 candidate (but not terribly important).
2002-03-03 22:46:46 +00:00
Martin v. Löwis
cfeb3b6ab8
Patch #50002 : Display line information for bad \x escapes:
...
- recognize "SyntaxError"s by the print_file_and_line attribute.
- add the syntaxerror attributes to all exceptions in compile.c.
Fixes #221791
2002-03-03 21:30:27 +00:00
Neal Norwitz
290d31e2fc
SF #506611 , fix sys.setprofile(), sys.settrace() core dumps
...
when no arguments are passed
2002-03-03 15:12:58 +00:00
Andrew MacIntyre
54e0eabc2d
OS/2 more program behaves like Win32 more
...
(see patch #514490 , by Stefan Schwarzer)
2002-03-03 03:12:30 +00:00
Andrew MacIntyre
6c73af2754
OS/2 EMX port changes (Modules part of patch #450267 ):
...
Modules/
posixmodule.c
- use SEP,ALTSEP #defines instead of hard coded path separator chars
- use EMX specific variants of chdir2(),getcwd() that support drive letters
- OS/2+EMX spawnv(),spawnve() support
- EMX specific popen[234]() derived from Win32 popen[234]() code
2002-03-03 03:07:07 +00:00
Andrew MacIntyre
ba43e8700b
OS/2 EMX port changes (Modules part of patch #450267 ):
...
Modules/
socketmodule.c
EMX handles sockets like Posix, rather than use native APIs
2002-03-03 03:03:52 +00:00
Andrew MacIntyre
7bf6833e17
OS/2 EMX port changes (Modules part of patch #450267 ):
...
Modules/
_hotshot.c
dbmmodule.c
fcntlmodule.c
main.c
pwdmodule.c
readline.c
selectmodule.c
signalmodule.c
termios.c
timemodule.c
unicodedata.c
2002-03-03 02:59:16 +00:00
Just van Rossum
38b504e9e3
Added support for SyncCGContextOriginWithPort().
2002-03-02 10:20:44 +00:00
Tim Peters
a5d78cc208
Whether platform malloc(0) returns NULL has nothing to do with whether
...
platform realloc(p, 0) returns NULL, so MALLOC_ZERO_RETURNS_NULL can
be correctly undefined yet realloc(p, 0) can return NULL anyway.
Prevent realloc(p, 0) doing free(p) and returning NULL via a different
hack. Would probably be better to get rid of MALLOC_ZERO_RETURNS_NULL
entirely.
Bugfix candidate.
2002-03-02 08:43:19 +00:00
Steven M. Gava
b77d343bc8
First work on making config changes dynamic,
...
dynamic theme changes
2002-03-02 07:16:21 +00:00
Tim Peters
03b18834c3
For clarity, change _longobject to build directly from PyObject_VAR_HEAD
...
instead of faking it by hand. It *is* a var object, and nothing but
hysterical raisins to pretend it's an oddball.
2002-03-02 04:33:09 +00:00
Tim Peters
5329cdb3ce
_PyLong_Copy(): was creating a copy of the absolute value, but should
...
copy the sign too. Added a test to test_descr to ensure that it does.
Bugfix candidate.
2002-03-02 04:18:04 +00:00
Tim Peters
db30ac41de
Revert the last odd change to PyNumber_Long: the problem it was trying
...
to fix was almost certainly a bug in _PyLong_Copy (which I'll fix next).
2002-03-02 04:14:21 +00:00
Barry Warsaw
ffd05ee90d
Added PortableUnixMailbox to the __all__ variable, and in the __main__
...
section use this class instead of UnixMailbox as per the comments in
the latter's class.
Bug fix candidate for 2.2.1.
2002-03-01 22:39:14 +00:00
Guido van Rossum
2eb0b87d14
SF patch 514641 (Naofumi Honda) - Negative ob_size of LongObjects
...
Due to the bizarre definition of _PyLong_Copy(), creating an instance
of a subclass of long with a negative value could cause core dumps
later on. Unfortunately it looks like the behavior of _PyLong_Copy()
is quite intentional, so the fix is more work than feels comfortable.
This fix is almost, but not quite, the code that Naofumi Honda added;
in addition, I added a test case.
2002-03-01 22:24:49 +00:00
Guido van Rossum
6f33250ef9
SF patch 517245 by Marc Recht.
...
Support GMP version >= 2.
Bugfix candidate.
2002-03-01 21:31:27 +00:00
Michael W. Hudson
7113d9607b
Changes to what we do to modules that don't import, as
...
discussed on python-dev.
2002-03-01 14:16:31 +00:00
Martin v. Löwis
dcea37026e
Patch #524008 : Fix portability bug on new POSIX hosts
2002-03-01 13:15:30 +00:00
Neal Norwitz
719cfc4864
SF #517447 , correct syntax error
2002-03-01 13:07:34 +00:00
Martin v. Löwis
29001ff234
Patch #523268 , #522027 : return enhanced tuples.
2002-03-01 10:47:37 +00:00
Martin v. Löwis
dbd55b3737
Patch #523268 , #522027 : return enhanced tuples.
2002-03-01 10:38:44 +00:00
Martin v. Löwis
9986633609
Patch 520694: arraymodule.c improvements:
...
- make array.array a type
- add Py_UNICODE arrays
- support +=, *=
2002-03-01 10:27:01 +00:00
Martin v. Löwis
272cb40e31
Patch #520062 : Support IPv6 with VC.NET.
2002-03-01 08:31:07 +00:00
Jeremy Hylton
31e233aa7a
Cells are not VAR objects.
...
Noted by Jason Orendorff, SF #520768 .
Bug fix candidate for 2.1 & 2.2.
2002-02-28 23:46:34 +00:00