]>
granicus.if.org Git - python/log
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".
Walter Dörwald [Fri, 31 Mar 2006 11:03:57 +0000 (11:03 +0000)]
Fix typos.
Walter Dörwald [Fri, 31 Mar 2006 10:13:10 +0000 (10:13 +0000)]
Don't add multiple empty lines at the end of the codec. With this a
regenerated codec should survive reindent.py unchanged.
Walter Dörwald [Fri, 31 Mar 2006 09:15:29 +0000 (09:15 +0000)]
Clarify what the final argument does in
IncrementalDecoder.decode().
Neal Norwitz [Fri, 31 Mar 2006 08:21:40 +0000 (08:21 +0000)]
Add a NEWS entry for the Alpha fixes
Neal Norwitz [Fri, 31 Mar 2006 06:54:45 +0000 (06:54 +0000)]
Get gcc to do strict IEEE math. This flag was already used for cc, just not
gcc. Without this flag, doing pretty much anything with NaNs causes
a Floating Point Exception signal. This causes the interpreter to quit.
The failing tests this fixes are: test_float, test_long, and test_struct.
This is somewhat equivalent to doing signal(SIGFPE, SIG_IGN).
Will verify if this is a problem in 2.4 and backport if necessary (probably).
Fred Drake [Fri, 31 Mar 2006 05:30:19 +0000 (05:30 +0000)]
improve reporting of illegal section nesting (provide location which
caused detection of the error)
Fred Drake [Fri, 31 Mar 2006 05:28:38 +0000 (05:28 +0000)]
fix sectioning: cannot skip section levels
Tim Peters [Fri, 31 Mar 2006 04:11:16 +0000 (04:11 +0000)]
test_main(): Restore the decimal context that was in
effect at the time test_decimal was imported. Else
running test_decimal had the bad side effect of
permanently changing the decimal context in effect.
That caused text_tokenize to fail if it ran after
test_decimal.
Tim Peters [Fri, 31 Mar 2006 03:17:30 +0000 (03:17 +0000)]
Repaired a number of errors in this test:
- The doctests in decistmt() weren't run at all when
test_tokenize was run via regrtest.py.
- Some expected output in decistmt() was Windows-specific
(but nobody noticed because the doctests weren't getting
run).
- test_roundtrip() didn't actually test anything when
running the tests with -O. Now it does.
- Changed test_roundtrip() to show the name of the input
file when it fails. That would have saved a lot of
time earlier today.
- Added a bunch of comments.
Barry Warsaw [Thu, 30 Mar 2006 22:45:35 +0000 (22:45 +0000)]
SF patch #
1458476 with modifications based on discussions in python-dev. This
adds the following API calls: PySet_Clear(), _PySet_Next(), and
_PySet_Update(). The latter two are considered non-public. Tests and
documentation (for the public API) are included.
Guido van Rossum [Thu, 30 Mar 2006 21:43:35 +0000 (21:43 +0000)]
Insert a safety space after numbers as well as names in untokenize().
Ronald Oussoren [Thu, 30 Mar 2006 20:18:33 +0000 (20:18 +0000)]
Add '-Wno-deprecated-warnings' to the compile flags for the Carbon extensions
on OSX 10.4 or later. This stops the compiler for complaining about calls to
deprecated functions in these extensions, they are supposed to wrap as much
of Carbon as possible.
Thomas Heller [Thu, 30 Mar 2006 19:16:15 +0000 (19:16 +0000)]
Try to fix test_loading on openbsd.
Thomas Heller [Thu, 30 Mar 2006 18:29:25 +0000 (18:29 +0000)]
Oops - this should not have gone in.
Thomas Heller [Thu, 30 Mar 2006 17:49:55 +0000 (17:49 +0000)]
Output more info when the test fails.
Armin Rigo [Thu, 30 Mar 2006 14:04:02 +0000 (14:04 +0000)]
Minor bugs in the __index__ code (PEP 357), with tests.
Anthony Baxter [Thu, 30 Mar 2006 12:59:11 +0000 (12:59 +0000)]
whitespace normalisation
Georg Brandl [Thu, 30 Mar 2006 12:19:07 +0000 (12:19 +0000)]
That one was a mistake.
Georg Brandl [Thu, 30 Mar 2006 11:58:57 +0000 (11:58 +0000)]
Remove unnecessary casts from type object initializers.
Georg Brandl [Thu, 30 Mar 2006 11:57:00 +0000 (11:57 +0000)]
Remove unnecessary casts in type object initializers.
Thomas Heller [Thu, 30 Mar 2006 11:51:58 +0000 (11:51 +0000)]
Try to build _ctypes on x86 openbsd.
Armin Rigo [Thu, 30 Mar 2006 11:28:43 +0000 (11:28 +0000)]
Checking in the test for PEP 357.
This is from the SF tracker as well; for some reason the
content of test_index.py was lost and an empty file was
checked in instead.
Anthony Baxter [Thu, 30 Mar 2006 10:54:07 +0000 (10:54 +0000)]
Fixed bug #
1459029 - unicode reprs were double-escaped.
Anthony Baxter [Thu, 30 Mar 2006 10:53:17 +0000 (10:53 +0000)]
Fixed bug #
1459029 - unicode reprs were double-escaped.
Backed out an old patch from 2000.
Phillip J. Eby [Thu, 30 Mar 2006 07:09:06 +0000 (07:09 +0000)]
Mark the upload command as new in 2.5, per Neal Norwitz's request.
Fred Drake [Thu, 30 Mar 2006 03:04:41 +0000 (03:04 +0000)]
fill in refcount information for APIs first documented in Python 2.5
Fred Drake [Thu, 30 Mar 2006 02:58:38 +0000 (02:58 +0000)]
merge revision 43437 from the release24-maint branch:
- update the refcount information (late, but not a bad thing to do...)
- clarify that PyGen_New() steals a reference
Phillip J. Eby [Thu, 30 Mar 2006 02:16:40 +0000 (02:16 +0000)]
Oops, forgot to checkin the NEWS for --identity
Phillip J. Eby [Thu, 30 Mar 2006 02:12:14 +0000 (02:12 +0000)]
Implementation for patch request #
1457316 : support --identity option
for setup.py "upload" command.
Raymond Hettinger [Wed, 29 Mar 2006 09:13:13 +0000 (09:13 +0000)]
SF bug #
1460340 : random.sample can raise KeyError
Fix the hit and miss style of testing for sets and dicts.
Tim Peters [Tue, 28 Mar 2006 21:44:32 +0000 (21:44 +0000)]
In format strings slinging Py_ssize_t, unconditionally
interpolate PY_FORMAT_SIZE_T instead of #if'ing on
MS_WIN64.
Armin Rigo [Tue, 28 Mar 2006 20:30:45 +0000 (20:30 +0000)]
add the ctypes.test subpackage to a normal Unix installation --
otherwise, test/test_ctypes.py fails. What about ctypes.macholib?
Armin Rigo [Tue, 28 Mar 2006 19:27:56 +0000 (19:27 +0000)]
fix a comment.
Georg Brandl [Tue, 28 Mar 2006 19:19:56 +0000 (19:19 +0000)]
Revert r43399.
Armin Rigo [Tue, 28 Mar 2006 19:10:40 +0000 (19:10 +0000)]
answer a question from a comment
Martin v. Löwis [Tue, 28 Mar 2006 18:30:05 +0000 (18:30 +0000)]
Move product_codes in their own file.
Georg Brandl [Tue, 28 Mar 2006 18:02:44 +0000 (18:02 +0000)]
document sys.maxint in std objects
Georg Brandl [Tue, 28 Mar 2006 12:48:43 +0000 (12:48 +0000)]
Bug #
1459103 : add inter-section links for strftime section.
Georg Brandl [Tue, 28 Mar 2006 12:40:24 +0000 (12:40 +0000)]
Bug #
1459963 : urllib2 now normalizes HTTP header names correctly
with title().
Thomas Heller [Tue, 28 Mar 2006 11:00:08 +0000 (11:00 +0000)]
Make the tests succeed with -Qnew: Do not rely on the exact wording of a ZeroDivisionError.
Georg Brandl [Tue, 28 Mar 2006 10:29:45 +0000 (10:29 +0000)]
Make uu use floor division instead of classic division.
This was discovered by test_email failing with -Qnew.
Georg Brandl [Tue, 28 Mar 2006 10:26:45 +0000 (10:26 +0000)]
Make test_augassign pass with -Qnew and convert to unittest.