Georg Brandl
fc8375748a
Bug #1575746 : fix typo in property() docs.
2006-10-12 07:38:04 +00:00
Ronald Oussoren
74d3eef73e
MacOSX: fix permission problem in the generated installer
2006-10-10 07:55:06 +00:00
Martin v. Löwis
f43893a878
Bug #1565150 : Fix subsecond processing for os.utime on Windows.
2006-10-09 20:44:25 +00:00
Barry Warsaw
e5ec613c4b
List gc.get_count() in the module docstring.
2006-10-09 19:43:24 +00:00
Georg Brandl
412a9ea10e
Patch #1572724 : fix typo ('=' instead of '==') in _msi.c.
2006-10-09 19:03:06 +00:00
Andrew M. Kuchling
b3f37556bc
Fix wording in comment
2006-10-09 18:05:19 +00:00
Andrew M. Kuchling
99994790a0
Add news item for rev. 52211 change
2006-10-09 17:10:12 +00:00
Ronald Oussoren
b80b6e1e12
MacOSX: add more logic to recognize the correct startup file to patch to the
...
shell profile patching post-install script.
2006-10-08 18:18:26 +00:00
Ronald Oussoren
d6272a3cf6
MacOSX: The universal build requires that users have the MacOSX10.4u SDK
...
installed to build extensions. This patch makes distutils emit a warning when
the compiler should use an SDK but that SDK is not installed, hopefully reducing
some confusion.
2006-10-08 17:51:46 +00:00
Ronald Oussoren
d610369e8b
MacOSX: distutils changes the values of BASECFLAGS and LDFLAGS when using a
...
universal build of python on OSX 10.3 to ensure that those flags can be used
to compile code (the universal build uses compiler flags that aren't supported
on 10.3). This patches gives the same treatment to CFLAGS, PY_CFLAGS and
BLDSHARED.
2006-10-08 17:49:52 +00:00
Ronald Oussoren
3778bf526c
Fix for bug #1570284
2006-10-08 17:40:02 +00:00
Ronald Oussoren
5b5d110be6
Add version number to the link to the python documentation in
...
/Developer/Documentation/Python, better for users that install multiple versions
of python.
2006-10-08 17:37:58 +00:00
Hye-Shik Chang
b788346573
Bug #1572832 : fix a bug in ISO-2022 codecs which may cause segfault
...
when encoding non-BMP unicode characters. (Submitted by Ray Chason)
2006-10-08 13:48:34 +00:00
Georg Brandl
846f73a530
Add missing NEWS entry for rev. 52129.
2006-10-08 07:11:54 +00:00
Skip Montanaro
fe6e46d42a
Note that the excel_tab class is registered as the "excel-tab" dialect.
...
Fixes 1572471. Make a similar change for the excel class and clean up
references to the Dialects and Formatting Parameters section in a few
places.
2006-10-07 11:05:02 +00:00
Andrew M. Kuchling
9b3a824097
Comment grammar
2006-10-06 18:51:55 +00:00
Armin Rigo
615842fba6
A very minor bug fix: this code looks like it is designed to accept
...
any hue value and do the modulo itself, except it doesn't quite do
it in all cases. At least, the "cannot get here" comment was wrong.
2006-10-06 16:33:22 +00:00
Andrew M. Kuchling
9d57e53e4e
[Bug #1545341 ] Allow 'classifier' parameter to be a tuple as well as a list. Will backport.
2006-10-06 13:18:26 +00:00
Georg Brandl
0750b1f220
Fix name.
2006-10-06 12:46:08 +00:00
Andrew M. Kuchling
c536a64b89
Case fix
2006-10-06 10:41:01 +00:00
Fred Drake
3c108b0e44
- update links
...
- remove Sleepycat name now that they have been bought
2006-10-06 00:03:45 +00:00
Brett Cannon
710513ef83
Clarify what "re-initialization" means for init_builtin() and init_dynamic().
...
Also remove warning about re-initialization as possibly raising an execption as
both call _PyImport_FindExtension() which pulls any module that was already
imported from the Python process' extension cache and just copies the __dict__
into the module stored in sys.modules.
2006-10-05 22:02:31 +00:00
Martin v. Löwis
8b274265f0
Add MSVC8 project files to create wininst-8.exe.
2006-10-04 15:25:28 +00:00
Andrew M. Kuchling
36126c424a
Cause a PyObject_Malloc() failure to trigger a MemoryError, and then
...
add 'if (PyErr_Occurred())' checks to various places so that NULL is
returned properly.
2.4 backport candidate.
2006-10-04 13:42:43 +00:00
Armin Rigo
7ccbca93a2
Forward-port of r52136,52138: a review of overflow-detecting code.
...
* unified the way intobject, longobject and mystrtoul handle
values around -sys.maxint-1.
* in general, trying to entierely avoid overflows in any computation
involving signed ints or longs is extremely involved. Fixed a few
simple cases where a compiler might be too clever (but that's all
guesswork).
* more overflow checks against bad data in marshal.c.
* 2.5 specific: fixed a number of places that were still confusing int
and Py_ssize_t. Some of them could potentially have caused
"real-world" breakage.
* list.pop(x): fixing overflow issues on x was messy. I just reverted
to PyArg_ParseTuple("n"), which does the right thing. (An obscure
test was trying to give a Decimal to list.pop()... doesn't make
sense any more IMHO)
* trying to write a few tests...
2006-10-04 12:17:45 +00:00
Armin Rigo
0d2f498a4c
Compilation problem caused by conflicting typedefs for uint32_t
...
(unsigned long vs. unsigned int).
2006-10-04 10:23:57 +00:00
Martin v. Löwis
1c08bb95b7
Forward port r52134: Add uuids for 2.4.4.
2006-10-04 09:21:20 +00:00
Martin v. Löwis
820d6ac9d7
Fix integer negation and absolute value to not rely
...
on undefined behaviour of the C compiler anymore.
Will backport to 2.5 and 2.4.
2006-10-04 05:47:34 +00:00
Jeremy Hylton
82271f13e7
Fix for SF bug 1569998: break permitted inside try.
...
The compiler was checking that there was something on the fblock
stack, but not that there was a loop on the stack. Fixed that and
added a test for the specific syntax error.
Bug fix candidate.
2006-10-04 02:24:52 +00:00
Barry Warsaw
1e3c3b15df
decode_rfc2231(): As Christian Robottom Reis points out, it makes no sense to
...
test for parts > 3 when we use .split(..., 2).
2006-10-04 02:06:36 +00:00
Brett Cannon
373d90b365
Convert test_imp over to unittest.
2006-10-03 23:23:14 +00:00
Brett Cannon
5a9aa4f31c
Fix minor typo in a comment.
2006-10-03 21:58:55 +00:00
Vinay Sajip
2c050af28b
Modified LogRecord.__init__ to make the func parameter optional. (See SF #1569622 ).
2006-10-03 18:21:56 +00:00
Vinay Sajip
f4686f995e
Documentation clarified to mention optional parameters.
2006-10-03 18:20:26 +00:00
Vinay Sajip
cfbb7df4b0
Documentation omitted the additional parameter to LogRecord.__init__ which was added in 2.5. (See SF #1569622 ).
2006-10-03 18:02:37 +00:00
Martin v. Löwis
40e9aed050
Guard uintptr_t test with HAVE_STDINT_H, test for
...
stdint.h. Will backport.
2006-10-02 15:20:37 +00:00
Martin v. Löwis
ebe26709d2
Fix test for uintptr_t. Fixes #1568842 .
...
Will backport.
2006-10-02 14:55:51 +00:00
Kurt B. Kaiser
e0b673573b
Add comment explaining that error msgs may be due to user code when
...
running w/o subprocess.
2006-10-01 21:54:37 +00:00
Kurt B. Kaiser
c426ffcdfc
Some syntax errors were being caught by tokenize during the tabnanny
...
check, resulting in obscure error messages. Do the syntax check
first. Bug 1562716, 1562719
2006-10-01 21:16:45 +00:00
Georg Brandl
54c3db55a2
Convert test_import to unittest.
2006-09-30 12:16:03 +00:00
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