Antoine Pitrou
2a08b42e95
Add NEWS entry as per RDM's suggestion (the bug was actually present
...
in 2.7 alpha 1)
2009-12-13 16:18:14 +00:00
Benjamin Peterson
3e6eb59790
add 2.6.x point releases
2009-12-13 14:18:08 +00:00
Lars Gustäbel
92ca7561bb
Issue #7357 : No longer suppress fatal extraction errors by
...
default.
TarFile's errorlevel argument controls how errors are
handled that occur during extraction. There are three
possible levels 0, 1 and 2. If errorlevel is set to 1 or 2
fatal errors (e.g. a full filesystem) are raised as
exceptions. If it is set to 0, which is the default value,
extraction errors are suppressed, and error messages are
written to the debug log instead. But, if the debug log is
not activated, which is the default as well, all these
errors go unnoticed.
The original intention was to imitate GNU tar which tries
to extract as many members as possible instead of stopping
on the first error. It turns out that this is no good
default behaviour for a tar library. This patch simply
changes the default value for the errorlevel argument from
0 to 1, so that fatal extraction errors are raised as
EnvironmentError exceptions.
2009-12-13 11:32:27 +00:00
Benjamin Peterson
5f429e0227
account for PyObject_IsInstance's new ability to fail
2009-12-13 00:54:15 +00:00
Antoine Pitrou
c169c781a8
Issue #7466 : segmentation fault when the garbage collector is called
...
in the middle of populating a tuple. Patch by Florent Xicluna.
(note: no NEWS entry for trunk since the bug was introduced in 2.7/3.1)
2009-12-12 19:13:08 +00:00
Mark Dickinson
9be87bc992
Issue #3366 : Add lgamma function to math module.
2009-12-11 17:29:33 +00:00
Vinay Sajip
5cc4e2a040
Issue #7470 : logging: fix bug in Unicode encoding fallback.
2009-12-11 09:16:01 +00:00
Tarek Ziadé
6c4847fbee
using an existing file to avoid dealing with a sleep to test file ages
2009-12-10 19:29:53 +00:00
Tarek Ziadé
1bd9b5e925
added test coverage for distutils.dep_util, and cleaned up the module
2009-12-10 15:29:03 +00:00
Mark Dickinson
fd25634715
Replace the size check for PyMem_MALLOC and PyMem_REALLOC with an almost
...
equivalent[*] check that doesn't produce compiler warnings about a 'x < 0'
check on an unsigned type.
[*] it's equivalent for inputs of type size_t or Py_ssize_t, or any smaller
unsigned or signed integer type.
2009-12-10 10:36:32 +00:00
Ronald Oussoren
9fa9a0d635
Fix an issue with the detection of a non-existing SDK
...
on OSX. Without this patch it wasn't possible after all
to compile extensions on OSX 10.6 with the binary
installer unless the user had installed the (non-default)
10.4u SDK.
2009-12-10 10:27:09 +00:00
Raymond Hettinger
a5fd24e97d
Add a reverse() method to collections.deque().
2009-12-10 06:42:54 +00:00
Raymond Hettinger
0b3263b073
Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d)
2009-12-10 06:00:33 +00:00
Benjamin Peterson
5fb877027b
substitute PyDict_Check() for PyObject_IsInstance
2009-12-10 03:37:59 +00:00
R. David Murray
d4e31a4316
Skip new imaplib SSL tests if ssl is not available.
2009-12-09 16:41:39 +00:00
R. David Murray
93321f333c
Issue 5949: fixed IMAP4_SSL hang when the IMAP server response is
...
missing proper end-of-line termination. Patch and tests by
Scott Dial. The new tests include a test harness which will
make it easier to add additional tests.
2009-12-09 15:15:31 +00:00
Antoine Pitrou
29dcdabf40
Make test_pipes a little bit more robust.
2009-12-08 19:46:38 +00:00
Antoine Pitrou
ca173e2a07
Fix transient refleaks in test_urllib. Thanks to Florent Xicluna.
2009-12-08 19:35:12 +00:00
Antoine Pitrou
8c54e7819a
Fix the transient refleaks in test_zipimport_support.
...
Diagnosis and original patch by Florent Xicluna (flox).
2009-12-08 19:25:51 +00:00
Ronald Oussoren
a254302f52
Fix for issue 7452: HAVE_GCC_ASM_FOR_X87 gets set when doing a universal build on
...
an i386 based machine, but should only be active when compiling the x86 part of
the universal binary.
2009-12-08 16:32:52 +00:00
Antoine Pitrou
187177fc55
Issue #6986 : Fix crash in the JSON C accelerator when called with the
...
wrong parameter types. Patch by Victor Stinner.
2009-12-08 15:40:51 +00:00
Tarek Ziadé
4b7f9439c0
removed the usage of rfc822 in favor of email.message.Message
2009-12-08 09:39:51 +00:00
Tarek Ziadé
a939ecd95b
Issue #7457 : added a read_pkg_file method to distutils.dist.DistributionMetadata so we can read back PKG-INFO files
2009-12-08 08:56:49 +00:00
Andrew M. Kuchling
8f254e7f6e
Typo fix; grammar fix
2009-12-08 02:37:05 +00:00
Benjamin Peterson
a4a04d1a89
fix test_parser from tokenizer tweak
2009-12-06 21:24:30 +00:00
Martin v. Löwis
add792fa7d
Add UUIDs for 2.7. Drop UUIDs for 2.4.
2009-12-06 18:27:29 +00:00
Vinay Sajip
bd1094a4a5
logging: Improved support for SMTP over TLS.
2009-12-06 18:05:04 +00:00
Vinay Sajip
4830566751
logging: Added optional 'secure' parameter to SMTPHandler.
2009-12-06 17:57:11 +00:00
Benjamin Peterson
42d63847c3
rewrite translate_newlines for clarity
2009-12-06 17:37:48 +00:00
Tarek Ziadé
4f38317d5a
Fixed #1923 : make sure we don't strip meaningful whitespace in PKG-INFO Description field
2009-12-06 09:22:40 +00:00
Benjamin Peterson
3513c87a21
fix date
2009-12-05 18:48:13 +00:00
Benjamin Peterson
4f51baf466
post release version bump
2009-12-05 18:40:02 +00:00
Benjamin Peterson
d2bdd503df
tag 2.7 alpha 1
2009-12-05 17:48:36 +00:00
Benjamin Peterson
d78cec5f39
bump version to 2.7a1
2009-12-05 17:47:56 +00:00
Benjamin Peterson
3b94c0bb10
move RPM spec for 2.7
2009-12-05 17:46:33 +00:00
Benjamin Peterson
c0321aa0d9
regenerate pydoc_topics
2009-12-05 17:45:40 +00:00
Mark Dickinson
2628590970
Add missing issue number in Misc/NEWS entry.
2009-12-04 11:30:16 +00:00
Mark Dickinson
1691025ff2
Avoid undefined behaviour due to overflow in i_divmod (Objects/intobject.c).
2009-12-04 11:24:38 +00:00
R. David Murray
820b0ea36c
Issue 7431: use TESTFN in test_linecache instead of trying to create a
...
file in the Lib/test directory, which might be read-only for the
user running the tests.
2009-12-03 23:57:59 +00:00
Martin v. Löwis
642017224a
Add Christoph Gohlke, for the issue 4120 work.
2009-12-03 21:01:16 +00:00
Martin v. Löwis
c218a2fac8
Issue #4120 : Drop reference to CRT from manifest when building
...
extensions with msvc9compiler.
2009-12-03 20:53:51 +00:00
Mark Dickinson
3dc254181a
Issue #6985 : number of range() items should be constrained to lie
...
in a Py_ssize_t, not an int.
2009-12-03 12:08:56 +00:00
Benjamin Peterson
91c12ebc3d
disable pymalloc tricks with the --with-valgrind option #2422
...
Patch from James Henstridge.
2009-12-03 02:52:39 +00:00
Philip Jenvey
0299d0d7f0
actually close files
2009-12-03 02:40:13 +00:00
Philip Jenvey
2627553afa
#7177 : clarify the potential PIPE deadlock warnings
2009-12-03 02:25:54 +00:00
Antoine Pitrou
30b3b35cba
Issue #7333 : The `posix` module gains an `initgroups()` function providing
...
access to the initgroups(3) C library call on Unix systems which implement
it. Patch by Jean-Paul Calderone.
2009-12-02 20:37:54 +00:00
Eric Smith
f2bf0d2a51
Issue #4482 : Add tests for special float value formatting.
2009-12-02 17:43:06 +00:00
Mark Dickinson
34398184eb
Issue #7406 : Fix some occurrences of potential signed overflow in int
...
arithmetic.
2009-12-02 17:33:41 +00:00
Andrew M. Kuchling
5a73ff81f1
Markup fixes
2009-12-02 14:27:11 +00:00
Amaury Forgeot d'Arc
d728871ee1
#7419 : Fix a crash on Windows in locale.setlocale() when the category
...
is outside the allowed range.
2009-12-01 21:51:04 +00:00