]>
granicus.if.org Git - python/log
Martin v. Löwis [Mon, 3 Apr 2006 23:01:24 +0000 (23:01 +0000)]
Properly support empty woperation in win32_startfile;
correct arguments to ShellExecuteW.
Phillip J. Eby [Mon, 3 Apr 2006 21:20:07 +0000 (21:20 +0000)]
Fix typos; enhance comments on patch for SF #
1462485 .
--This line, and those below, will be ignored--
M contextlib.py
Thomas Heller [Mon, 3 Apr 2006 20:12:41 +0000 (20:12 +0000)]
Try to fix the build on Mac OS X 10.3. The 'live_support' segment
attribute is not supported in this version.
Thomas Heller [Mon, 3 Apr 2006 20:10:50 +0000 (20:10 +0000)]
ctypes.macholib is needed.
Phillip J. Eby [Mon, 3 Apr 2006 20:05:05 +0000 (20:05 +0000)]
Fix SF#
1462485 : StopIteration raised in body of 'with' statement suppressed
Tim Peters [Mon, 3 Apr 2006 19:54:07 +0000 (19:54 +0000)]
Looks like someone renamed (or something) md5c.c to md5.c.
Martin v. Löwis [Mon, 3 Apr 2006 19:12:32 +0000 (19:12 +0000)]
Set "not found" value for svnversion to not-found. Fixes #
1463559 .
Matthias Klose [Mon, 3 Apr 2006 16:59:32 +0000 (16:59 +0000)]
- add missing chunk for patch #
1117961
Skip Montanaro [Mon, 3 Apr 2006 16:40:10 +0000 (16:40 +0000)]
Make needs to be told to install sqlite
Matthias Klose [Mon, 3 Apr 2006 16:34:56 +0000 (16:34 +0000)]
- correct patch number
Matthias Klose [Mon, 3 Apr 2006 16:27:50 +0000 (16:27 +0000)]
- Patch #360466: Replace the MD5 implementation from RSA Data Security Inc
with the implementation from http://sourceforge.net/projects/libmd5-rfc/.
Thomas Heller [Mon, 3 Apr 2006 16:19:45 +0000 (16:19 +0000)]
Try to fix the tests on OpenBSD. Apparently OpenBSD passes
structure parameters differently than other posix-like systems.
Walter Dörwald [Mon, 3 Apr 2006 15:24:49 +0000 (15:24 +0000)]
For backwards compatibility reasons the global function
setfirstweekday() still needs to do a range check.
Walter Dörwald [Mon, 3 Apr 2006 15:21:59 +0000 (15:21 +0000)]
Always return firstweekday % 7 instead of complaining
on setting.
Walter Dörwald [Mon, 3 Apr 2006 15:20:28 +0000 (15:20 +0000)]
Turn firstweekday into a property.
Anthony Baxter [Mon, 3 Apr 2006 15:03:44 +0000 (15:03 +0000)]
preparation for 2.5a1
Anthony Baxter [Mon, 3 Apr 2006 14:16:27 +0000 (14:16 +0000)]
added sqlite3 section
expanded tabs
fixed a couple of typos
removed .cvsignore reference
Andrew M. Kuchling [Mon, 3 Apr 2006 12:41:37 +0000 (12:41 +0000)]
Add sections for new modules; will write tutorial later
Georg Brandl [Mon, 3 Apr 2006 12:26:26 +0000 (12:26 +0000)]
Bug #
1451503 : allow unicode filenames in os.startfile().
Martin v. Löwis [Mon, 3 Apr 2006 12:07:46 +0000 (12:07 +0000)]
Add check_soundcard.vbs. Will backport
Martin v. Löwis [Mon, 3 Apr 2006 11:38:08 +0000 (11:38 +0000)]
Allow long integers in PySlice_GetIndices.
Martin v. Löwis [Mon, 3 Apr 2006 11:05:39 +0000 (11:05 +0000)]
Add test case for #43581.
Martin v. Löwis [Mon, 3 Apr 2006 10:56:49 +0000 (10:56 +0000)]
Bug #
1421664 : Set sys.stderr.encoding
Anthony Baxter [Mon, 3 Apr 2006 08:10:33 +0000 (08:10 +0000)]
Deal with openbsd's different style of default /etc/hosts by forcing the fqdn
lookup to use the IP address returned by gethosbyname.
Anthony Baxter [Mon, 3 Apr 2006 08:05:07 +0000 (08:05 +0000)]
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
Neal Norwitz [Mon, 3 Apr 2006 06:58:51 +0000 (06:58 +0000)]
I could have sworn this was part of the change to not abbreviate ABSOLUTE
Neal Norwitz [Mon, 3 Apr 2006 06:52:43 +0000 (06:52 +0000)]
Get ctypes loader working on OSF1 (Tru64)
Neal Norwitz [Mon, 3 Apr 2006 06:26:32 +0000 (06:26 +0000)]
Don't abbreviate ABS, use long name ABSOLUTE.
Martin v. Löwis [Mon, 3 Apr 2006 05:29:03 +0000 (05:29 +0000)]
Patch #
1462700 : Make _ctypes_test depend on _ctypes.
Use same GUID for pythoncore in project and solution.
Neal Norwitz [Mon, 3 Apr 2006 05:28:31 +0000 (05:28 +0000)]
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.
Neal Norwitz [Mon, 3 Apr 2006 05:27:05 +0000 (05:27 +0000)]
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.
Neal Norwitz [Mon, 3 Apr 2006 04:52:05 +0000 (04:52 +0000)]
Remove some duplicated code for handling Mac modules. No functional change (intended). Also stoped setting srcdir twice.
Neal Norwitz [Mon, 3 Apr 2006 04:50:58 +0000 (04:50 +0000)]
* 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.
Neal Norwitz [Mon, 3 Apr 2006 04:48:37 +0000 (04:48 +0000)]
Accept keyword arguments for __import__ and doc the addition of the level param from PEP 328.
Neal Norwitz [Mon, 3 Apr 2006 04:46:28 +0000 (04:46 +0000)]
Whitespace: break long line
Neal Norwitz [Mon, 3 Apr 2006 04:46:04 +0000 (04:46 +0000)]
Use Py_ssize_t in slices
Neal Norwitz [Mon, 3 Apr 2006 04:45:34 +0000 (04:45 +0000)]
Use absolute imports
Tim Peters [Mon, 3 Apr 2006 02:46:44 +0000 (02:46 +0000)]
Whitespace normalization.
Anthony Baxter [Mon, 3 Apr 2006 02:20:49 +0000 (02:20 +0000)]
cleaned up setup.py code for sqlite3, based on patch from Gerhard Haering.
Walter Dörwald [Sun, 2 Apr 2006 22:11:10 +0000 (22:11 +0000)]
Always use firstweekday module 7.
Georg Brandl [Sun, 2 Apr 2006 21:18:27 +0000 (21:18 +0000)]
Document recent fdopen() change.
Georg Brandl [Sun, 2 Apr 2006 21:13:13 +0000 (21:13 +0000)]
Readd urllib.quote import as it doesn't cause any harm.
Georg Brandl [Sun, 2 Apr 2006 21:09:51 +0000 (21:09 +0000)]
Remove "disgusting hack" in favour of closure (patch #
1462235 )
Georg Brandl [Sun, 2 Apr 2006 20:48:11 +0000 (20:48 +0000)]
Patch #
1463012 : remove not working undocumented classes from urllib2
Georg Brandl [Sun, 2 Apr 2006 20:45:34 +0000 (20:45 +0000)]
Patch #
1462790 : fix urllib2 ProxyHandler for host:port proxies
Georg Brandl [Sun, 2 Apr 2006 20:37:17 +0000 (20:37 +0000)]
bug #
1462706 : guard against host not having FQDN hostname
Fredrik Lundh [Sun, 2 Apr 2006 07:59:55 +0000 (07:59 +0000)]
end the sentence...
Fred Drake [Sun, 2 Apr 2006 03:30:06 +0000 (03:30 +0000)]
fix markup error
Andrew M. Kuchling [Sun, 2 Apr 2006 01:47:38 +0000 (01:47 +0000)]
Grammar fix
Andrew M. Kuchling [Sun, 2 Apr 2006 01:46:32 +0000 (01:46 +0000)]
Write various sections; I haven't been able to check whether the TeX markup is correct
Fred Drake [Sat, 1 Apr 2006 22:14:43 +0000 (22:14 +0000)]
Patch #624325: urlparse.urlparse() and urlparse.urlsplit() results
now sport attributes that provide access to the parts of the result.
Walter Dörwald [Sat, 1 Apr 2006 20:40:23 +0000 (20:40 +0000)]
Make firstweekday a simple attribute instead
of hiding it behind a setter and a getter.
Georg Brandl [Sat, 1 Apr 2006 20:40:16 +0000 (20:40 +0000)]
Fix LaTeX oversight.
Jeremy Hylton [Sat, 1 Apr 2006 16:18:02 +0000 (16:18 +0000)]
Expand comments on line numbers and blocks.
Reorder compiler_set_lineno() call for consistency.
Andrew M. Kuchling [Sat, 1 Apr 2006 10:50:08 +0000 (10:50 +0000)]
Some typo & grammar fixes
Andrew M. Kuchling [Sat, 1 Apr 2006 10:32:13 +0000 (10:32 +0000)]
Update status of this PEP
Neal Norwitz [Sat, 1 Apr 2006 09:08:06 +0000 (09:08 +0000)]
Make ssize_t clean
Georg Brandl [Sat, 1 Apr 2006 08:59:03 +0000 (08:59 +0000)]
Update SQLite version requirement.
Georg Brandl [Sat, 1 Apr 2006 08:51:25 +0000 (08:51 +0000)]
patch #
1416559 : don't define _XOPEN_SOURCE on Mac OS Panther
Georg Brandl [Sat, 1 Apr 2006 08:39:50 +0000 (08:39 +0000)]
clarify new docs on attr value entity expansion
Anthony Baxter [Sat, 1 Apr 2006 08:36:27 +0000 (08:36 +0000)]
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.
Georg Brandl [Sat, 1 Apr 2006 08:35:18 +0000 (08:35 +0000)]
patch #
1462498 : handle entityrefs in attribute values.
Walter Dörwald [Sat, 1 Apr 2006 07:57:00 +0000 (07:57 +0000)]
Bug #947906: Add classes LocaleTextCalendar and LocaleHTMLCalendar,
that output localized month and weekday names and can cope
with encodings.
Georg Brandl [Sat, 1 Apr 2006 07:46:54 +0000 (07:46 +0000)]
Bug #
1458017 : make distutils.Log._log more forgiving when passing in
msg strings with '%', but without format args.
Georg Brandl [Sat, 1 Apr 2006 07:42:41 +0000 (07:42 +0000)]
Patch #
1462496 : typo in libsignal.tex
Georg Brandl [Sat, 1 Apr 2006 07:39:41 +0000 (07:39 +0000)]
Patch #
1459631 : documnent zlib.Decompress.flush() length parameter.
Georg Brandl [Sat, 1 Apr 2006 07:33:08 +0000 (07:33 +0000)]
Bug #
1460564 : document that socket.fromfd() duplicates the given
file descriptor.
Georg Brandl [Sat, 1 Apr 2006 07:23:08 +0000 (07:23 +0000)]
bug #
1462278 : small fix in documentation of __op__ vs __rop__ methods
Fred Drake [Sat, 1 Apr 2006 06:11:07 +0000 (06:11 +0000)]
add support for the sips: scheme (identical to sip: except for scheme name)
Tim Peters [Sat, 1 Apr 2006 01:32:13 +0000 (01:32 +0000)]
Fix stupid typo.
Tim Peters [Sat, 1 Apr 2006 01:28:51 +0000 (01:28 +0000)]
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.
Anthony Baxter [Sat, 1 Apr 2006 01:08:29 +0000 (01:08 +0000)]
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 :-)
Anthony Baxter [Sat, 1 Apr 2006 00:57:31 +0000 (00:57 +0000)]
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.
Tim Peters [Sat, 1 Apr 2006 00:26:53 +0000 (00:26 +0000)]
Another crack at bug #
1460340 : make random.sample(dict)
work, this time by ugly brute force.
Thomas Wouters [Fri, 31 Mar 2006 22:38:19 +0000 (22:38 +0000)]
In the fdopen(fd, 'a') case on UNIX, don't try to set fd's flags to -1 if
fcntl() and fdopen() both fail. Will backport.
Georg Brandl [Fri, 31 Mar 2006 21:12:32 +0000 (21:12 +0000)]
Make test_socket_ssl finally pass on WIn
Georg Brandl [Fri, 31 Mar 2006 20:31:02 +0000 (20:31 +0000)]
Bug #
1177964 : make file iterator raise MemoryError on too big files
Georg Brandl [Fri, 31 Mar 2006 20:27:22 +0000 (20:27 +0000)]
Add guards against fcntl() not being available on Windows.
Georg Brandl [Fri, 31 Mar 2006 20:02:40 +0000 (20:02 +0000)]
Update version number to 2.5
Georg Brandl [Fri, 31 Mar 2006 20:00:11 +0000 (20:00 +0000)]
bug #
1461855 : make os.fdopen() add the O_APPEND flag if using "a" mode.
glibc, for example, does this already on its own, but it seems that
the solaris libc doesn't. This leads to Python code being able to over-
write file contents even though having specified "a" mode.
Georg Brandl [Fri, 31 Mar 2006 19:34:13 +0000 (19:34 +0000)]
bug #
1257988 : don't bail out on gethostbyname(gethostname()) failure
Georg Brandl [Fri, 31 Mar 2006 19:20:13 +0000 (19:20 +0000)]
bug #
1444104 : add note about fdopen() to os.open().
Georg Brandl [Fri, 31 Mar 2006 19:09:56 +0000 (19:09 +0000)]
Disable test_socket_ssl timeout test on Windows.
Georg Brandl [Fri, 31 Mar 2006 18:54:53 +0000 (18:54 +0000)]
Patch #
1460496 : round() now accepts keyword arguments.
Georg Brandl [Fri, 31 Mar 2006 18:42:16 +0000 (18:42 +0000)]
Bug #
1445068 : getpass.getpass() can now be given an explicit stream
argument to specify where to write the prompt.
Georg Brandl [Fri, 31 Mar 2006 18:25:44 +0000 (18:25 +0000)]
Patch #
1462313 , bug #
1443328 : the pickle modules now can handle classes
that have __private names in their __slots__.
Georg Brandl [Fri, 31 Mar 2006 18:01:16 +0000 (18:01 +0000)]
Patch #
1380952 : fix SSL objects timing out on consecutive read()s
Georg Brandl [Fri, 31 Mar 2006 17:18:06 +0000 (17:18 +0000)]
Bug #
1250170 , Patch #
1462230 : handle socket.gethostname()
failures gracefully
Jeremy Hylton [Fri, 31 Mar 2006 16:41:22 +0000 (16:41 +0000)]
Expand comments.
Explicitly clear all elements from arena->a_objects and remove
assert() that refcount is 1. It's possible for a program to get a
reference to the list via sys.getobjects() or via gc functions.
Martin v. Löwis [Fri, 31 Mar 2006 16:19:18 +0000 (16:19 +0000)]
Add 2.5 libraries.
Georg Brandl [Fri, 31 Mar 2006 16:12:34 +0000 (16:12 +0000)]
typos
Georg Brandl [Fri, 31 Mar 2006 15:59:13 +0000 (15:59 +0000)]
traceback now shows error position for all SyntaxError subclasses,
e.g. IndentationError. (bug #
1447885 )
Georg Brandl [Fri, 31 Mar 2006 15:38:44 +0000 (15:38 +0000)]
Complete markup.
Thomas Wouters [Fri, 31 Mar 2006 15:31:43 +0000 (15:31 +0000)]
Fix the reference leak in test_generators, by explicitly breaking the cycle
we are about to leave behind. An example of the cause of this leak can be
found in the leakers directory, in case we ever want to tackle the
underlying problem.
Walter Dörwald [Fri, 31 Mar 2006 15:26:22 +0000 (15:26 +0000)]
Bug #947906: An object oriented interface has been added to the calendar
module. It's possible to generate HTML calendar now and the module can be
called as a script (e.g. via ``python -mcalendar``).
Martin v. Löwis [Fri, 31 Mar 2006 15:21:36 +0000 (15:21 +0000)]
Tagging for release r25a0
Martin v. Löwis [Fri, 31 Mar 2006 15:20:56 +0000 (15:20 +0000)]
Remove tag, to recreate it right away.
Georg Brandl [Fri, 31 Mar 2006 15:12:16 +0000 (15:12 +0000)]
Add index entries for new-style/old-style class.
Georg Brandl [Fri, 31 Mar 2006 15:07:25 +0000 (15:07 +0000)]
object() is a function, not a base class.
Georg Brandl [Fri, 31 Mar 2006 14:35:10 +0000 (14:35 +0000)]
Bug #
1461610 : xmlrpclib has no function "binary".