Georg Brandl
44a7b3a765
Bug #1546052 : clarify that PyString_FromString(AndSize) copies the
...
string pointed to by its parameter.
2006-09-30 12:02:57 +00:00
Georg Brandl
a92979a1db
Bug #1446043 : correctly raise a LookupError if an encoding name given
...
to encodings.search_function() contains a dot.
2006-09-30 11:22:28 +00:00
Georg Brandl
4ddfcd3b60
Bug #1556784 : allow format strings longer than 127 characters in
...
datetime's strftime function.
2006-09-30 11:17:34 +00:00
Georg Brandl
154324a8c3
Bug #1560617 : in pyclbr, return full module name not only for classes,
...
but also for functions.
2006-09-30 11:06:47 +00:00
Georg Brandl
05b3c450a8
Bug #1457823 : cgi.(Sv)FormContentDict's constructor now takes
...
keep_blank_values and strict_parsing keyword arguments.
2006-09-30 10:58:01 +00:00
Georg Brandl
8d1e5bffc1
Bug #1566602 : correct failure of posixpath unittest when $HOME ends
...
with a slash.
2006-09-30 09:13:21 +00:00
Georg Brandl
fb25773862
Bug #1566663 : remove obsolete example from datetime docs.
2006-09-30 09:06:45 +00:00
Georg Brandl
3267d28f9d
Bug #1566800 : make sure that EnvironmentError can be called with any
...
number of arguments, as was the case in Python 2.4.
2006-09-30 09:03:42 +00:00
Georg Brandl
5d59c09834
Patch #1567691 : super() and new.instancemethod() now don't accept
...
keyword arguments any more (previously they accepted them, but didn't
use them).
2006-09-30 08:43:30 +00:00
Georg Brandl
8c6674511b
Bug #1565661 : in webbrowser, split() the command for the default
...
GNOME browser in case it is a command with args.
2006-09-30 07:31:57 +00:00
Georg Brandl
21d994390c
Bug #1567375 : a minor logical glitch in example description.
2006-09-30 07:24:48 +00:00
Gregory P. Smith
f8508cca47
wording change
2006-09-30 06:08:20 +00:00
George Yoshida
5cee720aa6
SF bug #1567976 : fix typo
...
Will backport to 2.5.
2006-09-30 05:14:02 +00:00
Brett Cannon
94b69f6ba3
Very minor grammatical fix in a comment.
2006-09-28 22:10:14 +00:00
Andrew M. Kuchling
656aee7c44
Make examples do error checking on Py_InitModule
2006-09-27 19:23:05 +00:00
Andrew M. Kuchling
43889c0b9f
Add news item for rev. 51815
2006-09-27 16:37:30 +00:00
Brett Cannon
11b3535280
Make the error message for when the time data and format do not match clearer.
2006-09-26 23:38:24 +00:00
Armin Rigo
c839c2f226
Another crasher.
2006-09-25 15:16:26 +00:00
Georg Brandl
c7986cee76
Fix a bug in traceback.format_exception_only() that led to an error
...
being raised when print_exc() was called without an exception set.
In version 2.4, this printed "None", restored that behavior.
2006-09-24 12:50:24 +00:00
Georg Brandl
a10d3afed2
Fix a bug in the parser's future statement handling that led to "with"
...
not being recognized as a keyword after, e.g., this statement:
from __future__ import division, with_statement
2006-09-24 12:35:36 +00:00
Georg Brandl
2c94bf7d41
Fix webbrowser.BackgroundBrowser on Windows.
2006-09-24 10:36:01 +00:00
Brett Cannon
e042601251
Make output on test_strptime() be more verbose in face of failure. This is in
...
hopes that more information will help debug the failing test on HPPA Ubuntu.
2006-09-23 19:53:20 +00:00
Neal Norwitz
9356e11223
SF Bug #1563963 , add missing word and cleanup first sentance
2006-09-23 18:11:58 +00:00
Neal Norwitz
d3f91908dd
Remove extra semi-colons reported by Johnny Lee on python-dev. Backport if anyone cares.
2006-09-23 04:11:38 +00:00
Fred Drake
62e955ad13
add boilerplate "What's New" document so the docs will build
2006-09-23 00:26:31 +00:00
Neal Norwitz
02743ca014
Mostly revert this file to the same version as before. Only force setting
...
of PY_FORMAT_SIZE_T to "l" for Mac OSX. I don't know a better define
to use. This should get rid of the warnings on other platforms and Mac too.
2006-09-22 08:47:23 +00:00
Neal Norwitz
3a23017bb2
Bug #1557232 : fix seg fault with def f((((x)))) and def f(((x),)).
...
These tests should be improved. Hopefully this fixes variations when
flipping back and forth between fpdef and fplist.
Backport candidate.
2006-09-22 08:18:10 +00:00
Neal Norwitz
4a8fbdb1b2
Fix %zd string formatting on Mac OS X so it prints negative numbers.
...
In addition to testing positive numbers, verify negative numbers work in configure.
In order to avoid compiler warnings on OS X 10.4, also change the order of the check
for the format character to use (PY_FORMAT_SIZE_T) in the sprintf format
for Py_ssize_t. This patch changes PY_FORMAT_SIZE_T from "" to "l" if it wasn't
defined at configure time. Need to verify the buildbot results.
Backport candidate (if everyone thinks this patch can't be improved).
2006-09-22 08:16:26 +00:00
Jack Diederich
d10a0f7766
added itertools.count(-n) fix
2006-09-21 20:34:49 +00:00
Jack Diederich
36234e8f66
* regression bug, count_next was coercing a Py_ssize_t to an unsigned Py_size_t
...
which breaks negative counts
* added test for negative numbers
will backport to 2.5.1
2006-09-21 17:50:26 +00:00
Walter Dörwald
d14bf61d05
Fix typo.
2006-09-21 15:09:55 +00:00
Brett Cannon
c8939d23fe
Make python.vim output more deterministic.
2006-09-20 19:28:35 +00:00
Brett Cannon
f6aa86e33b
Allow exceptions to be directly sliced again
...
(e.g., ``BaseException(1,2,3)[0:2]``).
Discovered in Python 2.5.0 by Thomas Heller and reported to python-dev. This
should be backported to 2.5 .
2006-09-20 18:43:13 +00:00
Brett Cannon
9adeab7b96
Accidentally didn't commit Misc/NEWS entry on when __unicode__() was removed
...
from exceptions.
2006-09-20 18:34:28 +00:00
Gregory P. Smith
2fa067982c
Fixes a bug with bsddb.DB.stat where the flags and txn keyword
...
arguments are transposed. (reported by Louis Zechtzer)
..already committed to release24-maint
..needs committing to release25-maint
2006-09-19 17:35:04 +00:00
Guido van Rossum
790e1944a0
Make this thing executable.
2006-09-18 21:36:16 +00:00
Ronald Oussoren
a6790f1aab
Tweak Mac/Makefile in to ensure that pythonw gets rebuild when the major version
...
of python changes (2.5 -> 2.6). Bug #1552935 .
2006-09-17 19:23:27 +00:00
Ronald Oussoren
3564c4622f
Port of revision 51902 in release25-maint to the trunk
2006-09-17 18:42:53 +00:00
Martin v. Löwis
43fd99c8f8
Patch #1557515 : Add RLIMIT_SBSIZE.
2006-09-16 17:36:37 +00:00
Fred Drake
13782a3359
revise explanation of returns_unicode to reflect bool values
...
and to include the default value
(merged from release25-maint revision 51890)
2006-09-15 16:11:27 +00:00
Fred Drake
a58f123602
- fix module name in links in formatted documentation
...
- minor markup cleanup
(forward-ported from release25-maint revision 51888)
2006-09-15 15:18:04 +00:00
Georg Brandl
c9ded90368
Correct elementtree module index entry.
2006-09-15 05:22:24 +00:00
Ka-Ping Yee
cdf6afde1a
Fix grammar errors and improve clarity.
2006-09-15 00:34:19 +00:00
Andrew M. Kuchling
e2782bb379
Rewrite help message to remove some of the parentheticals. (There were a lot of them.)
2006-09-14 11:28:50 +00:00
Andrew M. Kuchling
8964688274
Make --help mention that -v can be supplied multiple times
2006-09-14 11:22:18 +00:00
Andrew M. Kuchling
ab856873f1
More wordsmithing
2006-09-12 21:21:51 +00:00
Andrew M. Kuchling
32cec80b02
Some editing, markup fixes
2006-09-12 21:09:02 +00:00
Andrew M. Kuchling
abd5520cff
Markup typo fix
2006-09-12 20:50:23 +00:00
Martin v. Löwis
c0fdb18a04
Forward-port 51862: Add sgml_input.html.
2006-09-12 19:49:20 +00:00
Georg Brandl
ec6c2dfb63
Forward-port of rev. 51857:
...
Building with HP's cc on HP-UX turned up a couple of problems.
_PyGILState_NoteThreadState was declared as static inconsistently.
Make it static as it's not necessary outside of this module.
Some tests failed because errno was reset to 0. (I think the tests
that failed were at least: test_fcntl and test_mailbox).
Ensure that errno doesn't change after a call to Py_END_ALLOW_THREADS.
This only affected debug builds.
2006-09-11 09:38:35 +00:00