Anthony Baxter
cf0a2a8576
Deal with openbsd's different style of default /etc/hosts by forcing the fqdn
...
lookup to use the IP address returned by gethosbyname.
2006-04-03 08:10:33 +00:00
Anthony Baxter
93f5b93422
The email module's parsedate_tz function now sets the daylight savings
...
flag to -1 (unknown) since it can't tell from the date whether it should
be set.
patch from Aldo Cortesi
2006-04-03 08:05:07 +00:00
Neal Norwitz
9e5eb4ffbf
I could have sworn this was part of the change to not abbreviate ABSOLUTE
2006-04-03 06:58:51 +00:00
Neal Norwitz
b0b20a10bc
Get ctypes loader working on OSF1 (Tru64)
2006-04-03 06:52:43 +00:00
Neal Norwitz
cbce280d4f
Don't abbreviate ABS, use long name ABSOLUTE.
2006-04-03 06:26:32 +00:00
Martin v. Löwis
f5af2aac38
Patch #1462700 : Make _ctypes_test depend on _ctypes.
...
Use same GUID for pythoncore in project and solution.
2006-04-03 05:29:03 +00:00
Neal Norwitz
84c95b9407
Fix test_pty on OSF/1 (Tru64). The problem is that the newline gets
...
converted to CR CR NL. There may be a way to fix this with tcsetattr,
but I couldn't find it. There was a similar problem on IRIX.
Just normalize the output and compare that.
Will backport.
2006-04-03 05:28:31 +00:00
Neal Norwitz
9cdfa4c98c
Skip the test for sys.stdin.seek(-1) on OSF/1 (Tru64) since it does Bad Things
...
like cause the interpreter to exit abruptly. If there's a way to fix this,
it would be good to really fix it. It could just be the operation of the
std C library and we just aren't supposed to do that.
When the test case is skipped, we print a message so the user can check
for themselves.
2006-04-03 05:27:05 +00:00
Neal Norwitz
3e1ec3aa22
Remove some duplicated code for handling Mac modules. No functional change (intended). Also stoped setting srcdir twice.
2006-04-03 04:52:05 +00:00
Neal Norwitz
19379f18a6
* Fix a refleak of *_attributes.
...
* Cleanup formatting a bit (add spaces).
* Move static var initialized inside init_types() since that's the only place
it's used.
2006-04-03 04:50:58 +00:00
Neal Norwitz
92e212f7d9
Accept keyword arguments for __import__ and doc the addition of the level param from PEP 328.
2006-04-03 04:48:37 +00:00
Neal Norwitz
92a6be4318
Whitespace: break long line
2006-04-03 04:46:28 +00:00
Neal Norwitz
d08eaf4d1b
Use Py_ssize_t in slices
2006-04-03 04:46:04 +00:00
Neal Norwitz
b902f4e401
Use absolute imports
2006-04-03 04:45:34 +00:00
Tim Peters
480725d4c5
Whitespace normalization.
2006-04-03 02:46:44 +00:00
Anthony Baxter
3dc6bb3c25
cleaned up setup.py code for sqlite3, based on patch from Gerhard Haering.
2006-04-03 02:20:49 +00:00
Walter Dörwald
04ee87097c
Always use firstweekday module 7.
2006-04-02 22:11:10 +00:00
Georg Brandl
5f284da2d4
Document recent fdopen() change.
2006-04-02 21:18:27 +00:00
Georg Brandl
7fff58c097
Readd urllib.quote import as it doesn't cause any harm.
2006-04-02 21:13:13 +00:00
Georg Brandl
4696ffbf09
Remove "disgusting hack" in favour of closure (patch #1462235 )
2006-04-02 21:09:51 +00:00
Georg Brandl
c5ffd91911
Patch #1463012 : remove not working undocumented classes from urllib2
2006-04-02 20:48:11 +00:00
Georg Brandl
720096a6bf
Patch #1462790 : fix urllib2 ProxyHandler for host:port proxies
2006-04-02 20:45:34 +00:00
Georg Brandl
4eb521e595
bug #1462706 : guard against host not having FQDN hostname
2006-04-02 20:37:17 +00:00
Fredrik Lundh
31fe35bdee
end the sentence...
2006-04-02 07:59:55 +00:00
Fred Drake
1c0e3284f9
fix markup error
2006-04-02 03:30:06 +00:00
Andrew M. Kuchling
e8058299a5
Grammar fix
2006-04-02 01:47:38 +00:00
Andrew M. Kuchling
38f85078da
Write various sections; I haven't been able to check whether the TeX markup is correct
2006-04-02 01:46:32 +00:00
Fred Drake
ad5177cf8d
Patch #624325 : urlparse.urlparse() and urlparse.urlsplit() results
...
now sport attributes that provide access to the parts of the result.
2006-04-01 22:14:43 +00:00
Walter Dörwald
f878b8120c
Make firstweekday a simple attribute instead
...
of hiding it behind a setter and a getter.
2006-04-01 20:40:23 +00:00
Georg Brandl
cd10347b65
Fix LaTeX oversight.
2006-04-01 20:40:16 +00:00
Jeremy Hylton
12603c41da
Expand comments on line numbers and blocks.
...
Reorder compiler_set_lineno() call for consistency.
2006-04-01 16:18:02 +00:00
Andrew M. Kuchling
7034f6b79f
Some typo & grammar fixes
2006-04-01 10:50:08 +00:00
Andrew M. Kuchling
f2d712b265
Update status of this PEP
2006-04-01 10:32:13 +00:00
Neal Norwitz
95f0e4c401
Make ssize_t clean
2006-04-01 09:08:06 +00:00
Georg Brandl
828fdefd92
Update SQLite version requirement.
2006-04-01 08:59:03 +00:00
Georg Brandl
28161e2465
patch #1416559 : don't define _XOPEN_SOURCE on Mac OS Panther
2006-04-01 08:51:25 +00:00
Georg Brandl
9cdf56318d
clarify new docs on attr value entity expansion
2006-04-01 08:39:50 +00:00
Anthony Baxter
07f5b35e19
backport r243 from the pysqlite2 svn repository - lowers the required version
...
of SQLite3 from 3.2.2 to 3.0.8, by providing an alternative to
sqlite3_transfer_bindings. setup.py also handles the common (in debian
and ubuntu, at least) case of a buggy sqlite3.h SQLITE_VERSION_NUMBER.
2006-04-01 08:36:27 +00:00
Georg Brandl
7f6b67c235
patch #1462498 : handle entityrefs in attribute values.
2006-04-01 08:35:18 +00:00
Walter Dörwald
48d5e508eb
Bug #947906 : Add classes LocaleTextCalendar and LocaleHTMLCalendar,
...
that output localized month and weekday names and can cope
with encodings.
2006-04-01 07:57:00 +00:00
Georg Brandl
1c5a59f80a
Bug #1458017 : make distutils.Log._log more forgiving when passing in
...
msg strings with '%', but without format args.
2006-04-01 07:46:54 +00:00
Georg Brandl
014d29f331
Patch #1462496 : typo in libsignal.tex
2006-04-01 07:42:41 +00:00
Georg Brandl
22a9dc889d
Patch #1459631 : documnent zlib.Decompress.flush() length parameter.
2006-04-01 07:39:41 +00:00
Georg Brandl
dcfdae7d72
Bug #1460564 : document that socket.fromfd() duplicates the given
...
file descriptor.
2006-04-01 07:33:08 +00:00
Georg Brandl
e071b001ca
bug #1462278 : small fix in documentation of __op__ vs __rop__ methods
2006-04-01 07:23:08 +00:00
Fred Drake
23fd3d49e9
add support for the sips: scheme (identical to sip: except for scheme name)
2006-04-01 06:11:07 +00:00
Tim Peters
d8eaa49092
Fix stupid typo.
2006-04-01 01:32:13 +00:00
Tim Peters
4423b8cebc
test_timeout(): Disable this new test on all platforms.
...
The
s.connect(("gmail.org", 995))
line has been timing out on all buildbot slaves for hours
now, causing the test to fail.
2006-04-01 01:28:51 +00:00
Anthony Baxter
c7403ed183
Add a clause to the PY_FORMAT_SIZE_T to stop warnings on 32 bit intel
...
linux with gcc 4.0.2, after talking to Tim.
<ymmit> But it won't break anything anywhere, so don't worry :-)
2006-04-01 01:08:29 +00:00
Anthony Baxter
c51ee69b27
merged the sqlite-integration branch.
...
This is based on pysqlite2.1.3, and provides a DB-API interface in
the standard library. You'll need sqlite 3.2.2 or later to build
this - if you have an earlier version, the C extension module will
not be built.
2006-04-01 00:57:31 +00:00