Martin v. Löwis
b41afb5544
Issue #1759169 : Drop _XOPEN_SOURCE on Solaris.
2010-05-28 15:28:47 +00:00
Victor Stinner
03883624a4
Issue #8835 : test_support.transient_internet() catchs gaierror(EAI_NONAME) and
...
gaierror(EAI_NODATA)
2010-05-27 22:29:48 +00:00
Alexander Belopolsky
9292ee0667
Issue #7150 : Raise OverflowError if the result of adding or subtracting
...
timedelta from date or datetime falls outside of the MINYEAR:MAXYEAR range.
2010-05-27 20:55:27 +00:00
Alexander Belopolsky
4a057e6509
Added Andrej Krpic. (Thanks for issue #7879 patch.)
2010-05-26 20:57:04 +00:00
Victor Stinner
708c0727f9
Issue #7449 : Skip test_socketserver if threading support is disabled
2010-05-26 17:25:28 +00:00
Victor Stinner
c49dfcc8dc
Issue #3798 : Write sys.exit() message to sys.stderr to use stderr encoding and
...
error handler, instead of writing to the C stderr file in utf-8
2010-05-25 22:30:32 +00:00
Martin v. Löwis
7c4d7d3e17
Add Alexander Belopolsky.
2010-05-25 20:06:02 +00:00
Brian Curtin
b64c89bd7a
Fix #2810 - handle the case where some registry calls return
...
ERROR_MORE_DATA, requiring another call to get the remaining data.
Patch by Daniel Stutzbach
2010-05-25 15:06:15 +00:00
Brett Cannon
eeaf33ee71
Make the contributor list alphabetical again.
2010-05-25 02:53:04 +00:00
Victor Stinner
04ee3375fb
Add the author of the last fix (Issue #6662 )
2010-05-24 21:37:28 +00:00
Victor Stinner
554a3b82e4
Issue #6662 : Fix parsing of malformatted charref (&#bad;)
2010-05-24 21:33:24 +00:00
Georg Brandl
f0757a2937
#8016 : add the CP858 codec (approved by Benjamin). (Also add CP720 to the tests, it was missing there.)
2010-05-24 21:29:07 +00:00
Georg Brandl
fee0f44b91
NEWS rewrap and punctuation consistency.
2010-05-22 21:26:21 +00:00
Victor Stinner
7df55dad3b
Issue #6268 : More bugfixes about BOM, UTF-16 and UTF-32
...
* Fix seek() method of codecs.open(), don't write the BOM twice after seek(0)
* Fix reset() method of codecs, UTF-16, UTF-32 and StreamWriter classes
* test_codecs: use "w+" mode instead of "wt+". "t" mode is not supported by
Solaris or Windows, but does it really exist? I found it the in the issue.
2010-05-22 13:37:56 +00:00
Georg Brandl
5d0ca2c832
Issue #3924 : Ignore cookies with invalid "version" field in cookielib.
2010-05-22 11:29:19 +00:00
Victor Stinner
262be5e70b
Issue #6268 : Fix seek() method of codecs.open(), don't read the BOM twice
...
after seek(0)
2010-05-22 02:11:07 +00:00
Victor Stinner
d6703b5e38
Issue #5640 : Fix Shift-JIS incremental encoder for error handlers different
...
than strict
2010-05-21 22:50:28 +00:00
Georg Brandl
93f6615a02
typo
2010-05-21 21:48:57 +00:00
Benjamin Peterson
266e454866
ensure the last line has a trailing newline #8782
2010-05-21 21:31:24 +00:00
Benjamin Peterson
eb318d3b16
return NotImplemented from Mapping when comparing to a non-mapping #8729
2010-05-21 20:51:45 +00:00
Antoine Pitrou
6a2656094d
Issue #5753 : A new C API function, :cfunc:`PySys_SetArgvEx`, allows
...
embedders of the interpreter to set sys.argv without also modifying
sys.path. This helps fix `CVE-2008-5983
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983 >`_.
2010-05-21 17:12:38 +00:00
Brett Cannon
eb3cd301ae
Turned out that if you used explicit relative import syntax
...
(e.g. from .os import sep) and it failed, import would still try the implicit
relative import semantics of an absolute import (from os import sep). That's
not right, so when level is negative, only do explicit relative import
semantics.
Fixes issue #7902 . Thanks to Meador Inge for the patch.
2010-05-20 18:37:55 +00:00
Tarek Ziadé
8f692275e9
#8759 : Fixed user paths in sysconfig for posix and os2 schemes
2010-05-19 22:20:14 +00:00
Antoine Pitrou
83137c2e16
Issue #7079 : Fix a possible crash when closing a file object while using
...
it from another thread. Patch by Daniel Stutzbach.
2010-05-17 19:56:59 +00:00
Florent Xicluna
af87f9f09f
Issue #1285086 : Speed up urllib.quote and urllib.unquote for simple cases.
2010-05-17 13:35:09 +00:00
Tarek Ziadé
422545f0e7
Fixed #8688 : Distutils now recalculates MANIFEST everytime.
2010-05-17 10:06:20 +00:00
Victor Stinner
db99092eae
NEWS: strip trailing spaces
2010-05-15 21:00:59 +00:00
Brett Cannon
42a0ba7b2c
subprocess.Popen.__del__ referenced global objects, which is a no-no thanks to
...
interpreter shutdown semantics. Same issue goes for the methods that __del__
called. Now all the methods capture the global objects it needs as default
values to private parameters (could have stuck them on the class object itself,
but since the objects have nothing directly to do with the class that seemed
wrong).
There is no test as making one that works is hard. This patch was
verified against a consistently failing test in Mercurial's test suite, though,
so it has been tested in some regard.
Closes issue #5099 . Thanks to Mary Stern for the bug report and Gabriel
Genellina for writing another patch for the same issue and attempting to write
a test.
2010-05-14 00:21:48 +00:00
Brett Cannon
da9af75d5f
test_site was failing under darwin for non-framework builds because a test was
...
assuming framework-specific site-packages directories were being used.
2010-05-13 23:59:41 +00:00
Antoine Pitrou
fc3bfad2e0
Issue #8681 : Make the zlib module's error messages more informative when
...
the zlib itself doesn't give any detailed explanation.
2010-05-11 23:42:28 +00:00
Antoine Pitrou
37ffc3e3ba
Issue #8672 : Add a zlib test ensuring that an incomplete stream can be
...
handled by a decompressor object without errors (it returns incomplete
uncompressed data).
2010-05-11 23:32:31 +00:00
Mark Dickinson
932e162a96
Issue #8674 : Fix incorrect and UB-inducing overflow checks in audioop
...
module. Thanks Tomas Hoger for the patch.
2010-05-10 16:07:42 +00:00
Giampaolo Rodolà
ff46d6e844
Issue #8490 : adds a more solid test suite for asyncore
2010-05-10 15:33:22 +00:00
Antoine Pitrou
6001b0b65c
Remove spurious newlines, and add version number.
2010-05-09 18:32:48 +00:00
Antoine Pitrou
c83ea137d7
Untabify C files. Will watch buildbots.
2010-05-09 14:46:46 +00:00
Mark Dickinson
7000e9e01b
Issue #8644 : Improve accuracy of timedelta.total_seconds method.
...
(Backport of r80979 to py3k.) Thanks Alexander Belopolsky.
2010-05-09 09:30:06 +00:00
Gregory P. Smith
860852fdf4
Revert r81012. buildbot problems and its questionable of me to even
...
add this to trunk while we're on the way to 2.7rc1.
When fixed this can go into py3k first. Sorry.
2010-05-09 01:20:20 +00:00
Gregory P. Smith
56fe6569fd
Fixes [issue7245] Better Ctrl-C support in pdb.
2010-05-08 23:38:49 +00:00
Jean-Paul Calderone
e54ddf1ed2
Skip signal handler re-installation if it is not necessary. Issue 8354.
2010-05-08 20:06:02 +00:00
Benjamin Peterson
534b8de63b
towards 2.7 release candidate 1
2010-05-08 18:53:42 +00:00
Benjamin Peterson
c251607d59
bump version to 2.7 beta 2
2010-05-08 17:08:17 +00:00
Antoine Pitrou
dac6aeb43c
Revert r80963 - it broke compilation everywhere
2010-05-08 15:23:57 +00:00
Ronald Oussoren
2f88bfdf96
Issue #8084 : ensure that the --user directory
...
conforms to platforms standars on OSX when
using a python framework.
2010-05-08 10:29:06 +00:00
Matthias Klose
a0bea5d5a2
- Issue #8510 : Update to autoconf2.65.
2010-05-08 10:00:28 +00:00
Ronald Oussoren
d875d3c36e
Fix for issue #7724 : make it possible to build using
...
the OSX 10.4u SDK on MacOSX 10.6 by honoring the specified
SDK when looking for files.
2010-05-08 08:44:37 +00:00
Antoine Pitrou
3843cd8e86
Issue #8571 : Fix an internal error when compressing or decompressing a
...
chunk larger than 1GB with the zlib module's compressor and decompressor
objects.
2010-05-07 16:50:34 +00:00
Giampaolo Rodolà
f7454fa98d
Fix asyncore issues 8573 and 8483: _strerror might throw ValueError; asyncore.__getattr__ cheap inheritance caused confusing error messages when accessing undefined class attributes; added an alias for __str__ which now is used as a fallback for __repr__
2010-05-06 17:57:06 +00:00
Mark Dickinson
d2f3e3fc1d
Issue #8625 : Turn off gcc optimization in debug builds.
2010-05-05 22:23:58 +00:00
Tarek Ziadé
38f81223ae
Fixed #4265 : shutil.copyfile() was leaking file descriptors when disk fills
2010-05-05 22:15:31 +00:00
Brett Cannon
5fb89df07b
Mention how Clang's static anaylzer was run over Objects/ and Python/.
2010-05-05 20:54:53 +00:00
Ronald Oussoren
9545a23c7f
In a number of places code still revers
...
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).
Fixes issue #7908 for the trunk.
2010-05-05 19:09:31 +00:00
Barry Warsaw
8efa867bcf
NEWS
2010-05-05 16:17:22 +00:00
Ronald Oussoren
3320696371
The C function used by uuid.uuid4 is broken on
...
OSX 10.6 in that after os.fork() the parent and
child generate the same sequence of UUIDs.
This patch falls back to the the Python implementation
on OSX 10.6 or later.
Fixes issue #8621 .
2010-05-05 14:48:37 +00:00
Marc-André Lemburg
9b90f7af49
Update the NEWS entry for issue #8211 .
2010-05-05 13:30:01 +00:00
Victor Stinner
926fd4ee32
Issue #8313 : traceback.format_exception_only() encodes unicode message to
...
ASCII with backslashreplace error handler if str(value) failed
2010-05-05 12:40:49 +00:00
Thomas Heller
06a7e2069a
On Windows, ctypes does no longer check the stack before and after
...
calling a foreign function. This allows to use the unmodified libffi
library.
Remove most files from _ctypes/libffi_msvc, only two include files
stay (updated from _ctypes/libffi/...). Other files are used in the
cross-platform _ctypes/libffi directory.
2010-05-04 18:44:42 +00:00
Mark Dickinson
a8d2668818
Issue #1533 : fix inconsistency in range function argument processing:
...
any non-float non-integer argument is now converted to an integer (if
possible) using its __int__ method. Previously, only small arguments
were treated this way; larger arguments (those whose __int__ was
outside the range of a C long) would produce a TypeError.
Patch by Alexander Belopolsky (with minor modifications).
2010-05-04 16:18:25 +00:00
Mark Dickinson
4f96f5ffc6
Issue #8567 : Fix incorrect precedence of signals in Decimal module.
...
When a Decimal operation raises multiple signals and more than one of
those signals is trapped, the specification determines the order in
which the signals should be handled. In many cases this order wasn't
being followed, leading to the wrong Python exception being raised.
This commit fixes those cases, and adds extra tests. The tests are
only enabled when EXTENDEDERRORTESTS is True, since they involve
rerunning each Decimal testcase several times.
2010-05-04 14:25:50 +00:00
Alexandre Vassalotti
268e4872d3
Issue #8404 : Fix set operations on dictionary views.
2010-05-04 03:21:51 +00:00
Brett Cannon
945df9a388
Mention the code clean-up thanks to Clang's static analyzer in Modules.
...
Was not applied to modules that will not compile under OS X, dbmmodule.c,
getaddrinfo.c, and getnameinfo.c.
2010-05-04 01:04:53 +00:00
Antoine Pitrou
f7fd8e4c94
Issue #7865 : The close() method of :mod:`io` objects should not swallow
...
exceptions raised by the implicit flush(). Also ensure that calling
close() several times is supported. Patch by Pascal Chambon.
2010-05-03 16:25:33 +00:00
Vinay Sajip
27a1370ae0
Issue #8576 : logging updated to remove usage of find_unused_port().
2010-05-03 15:11:53 +00:00
Brett Cannon
c1f5c2f333
Update the Vim syntax highlight file.
2010-05-02 21:51:23 +00:00
Antoine Pitrou
951919f558
Issue #4687 : Fix accuracy of garbage collection runtimes displayed with
...
gc.DEBUG_STATS.
2010-05-02 19:51:14 +00:00
Ronald Oussoren
4ef1c7e7ef
For for issue #7192 : with this patch webbrowser.get("firefox")
...
works on OSX
2010-05-02 09:48:21 +00:00
Antoine Pitrou
54f9f83e5c
Issue #8576 : Remove use of find_unused_port() in test_smtplib and
...
test_multiprocessing. Patch by Paul Moore.
2010-04-30 23:08:48 +00:00
Tarek Ziadé
a5cd18275e
Fixed #8577 . distutils.sysconfig.get_python_inc() now differenciates buildir and srcdir
2010-04-30 12:15:12 +00:00
Ronald Oussoren
01d149fc1f
Fix for issue #3646 : with this patch it is possible to do a
...
framework install of Python in your home directory (on OSX):
$ configure --enable-framework=${HOME}/Library/Frameworks
$ make && make install
Without this patch the framework would get installed just fine,
but 'make install' would try to install the application bundles
and command-line tools outside the user's home, which doesn't work
for non-admin users (and is bad form anyway).
2010-04-30 11:20:14 +00:00
Lars Gustäbel
5c4c4619b0
Issue #8464 : tarfile.open(name, mode="w|") no longer creates
...
files with execute permissions set.
2010-04-29 15:23:38 +00:00
Antoine Pitrou
f56a288b1e
Issue #7834 : Fix connect() of Bluetooth L2CAP sockets with recent versions
...
of the Linux kernel. Patch by Yaniv Aknin.
2010-04-29 10:05:40 +00:00
Senthil Kumaran
ed9204346e
Fixed Issue6312 - httplib fails with HEAD requests to pages with "transfer-encoding: chunked"
2010-04-28 17:20:43 +00:00
Nick Coghlan
c5e4485248
Issue 8202: when using the -m command line switch, sys.argv[0] is now '-m' instead of '-c' while searching for the module to be executed
2010-04-28 14:51:08 +00:00
Nick Coghlan
54677da895
Also mention patch submitter's name in NEWS, not just in the commit message
2010-04-28 14:34:30 +00:00
Nick Coghlan
dfb45dfd04
Issue 7490: make IGNORE_EXCEPTION_DETAIL also ignore details of the module containing the exception under test (original patch by Lennart Regebro)
2010-04-28 14:29:06 +00:00
Jesus Cea
616de77779
Issue #3928 : Support 'os.mknod()' in Solaris
2010-04-28 10:32:30 +00:00
Victor Stinner
6a10281d33
Issue #7449 , last part (11): fix many tests if thread support is disabled
...
* Use try/except ImportError or test_support.import_module() to import thread
and threading modules
* Add @unittest.skipUnless(threading, ...) to testcases using threads
2010-04-27 23:55:59 +00:00
Antoine Pitrou
4c7bcf1194
Issue #8086 : In :func:`ssl.DER_cert_to_PEM_cert()`, fix missing newline
...
before the certificate footer. Patch by Kyle VanderBeek.
2010-04-27 22:03:37 +00:00
Victor Stinner
d9d147b806
Issue #7449 , part 1: fix test_support.py for Python compiled without thread
2010-04-27 21:46:03 +00:00
Benjamin Peterson
a9bd6d5ea7
reject None as the buffering argument like the C implementation does #8546
2010-04-27 21:01:54 +00:00
Antoine Pitrou
1dc6b08f9e
Issue #8549 : Fix compiling the _ssl extension under AIX. Patch by
...
Sridhar Ratnakumar.
2010-04-27 19:09:59 +00:00
R. David Murray
3939dcdb72
Issue #6656 : fix locale.format_string to handle escaped percents and mappings.
...
Refactors format_string. Includes tests for the two problems noted in
the issue, but as far as I can see there are no other tests that confirm
that format_string conforms to normal % formatting rules.
2010-04-26 21:17:14 +00:00
Brett Cannon
1994969c15
When DeprecationWarning was silenced by default, it also silenced any use of -Q
...
by default as well. This change fixes that by treating -Q like -3 when it comes
to DeprecationWarning; using it causes the silencing to not occur.
Fixes issue #7319 .
2010-04-25 22:33:36 +00:00
Antoine Pitrou
a624040d72
Issue #2302 : Fix a race condition in SocketServer.BaseServer.shutdown,
...
where the method could block indefinitely if called just before the
event loop started running. This also fixes the occasional freezes
witnessed in test_httpservers.
2010-04-25 21:40:32 +00:00
Antoine Pitrou
fc69af1562
Issue #5103 : SSL handshake would ignore the socket timeout and block
...
indefinitely if the other end didn't respond.
2010-04-24 20:04:58 +00:00
Antoine Pitrou
4d3e372ff3
The do_handshake() method of SSL objects now adjusts the blocking mode of
...
the SSL structure if necessary (as other methods already do).
2010-04-24 19:57:01 +00:00
Matthias Klose
5183ebdaa7
- Issue #8509 : Fix quoting in help strings and code snippets in configure.in.
2010-04-24 16:38:36 +00:00
Georg Brandl
4341e54de8
#7507 : quote "!" in pipes.quote(); it is a special character for some shells.
2010-04-24 09:08:10 +00:00
Antoine Pitrou
b558f17b18
Issue #5238 : Calling makefile() on an SSL object would prevent the
...
underlying socket from being closed until all objects get truely destroyed.
2010-04-23 23:25:45 +00:00
Antoine Pitrou
dfb299bb95
Issue #7943 : Fix circular reference created when instantiating an SSL
...
socket. Initial patch by Péter Szabó.
2010-04-23 22:54:59 +00:00
Sean Reifscheider
f6ce3cb84e
issue8451: Making syslog module use sys.argv[0] for "ident".
2010-04-23 08:31:55 +00:00
Antoine Pitrou
a5c4b5515f
Issue #8108 : Fix the unwrap() method of SSL objects when the socket has
...
a non-infinite timeout. Also make that method friendlier with applications
wanting to continue using the socket in clear-text mode, by disabling
OpenSSL's internal readahead. Thanks to Darryl Miles for guidance.
Issue #8108 : test_ftplib's non-blocking SSL server now has proper handling
of SSL shutdowns.
2010-04-22 23:33:02 +00:00
Antoine Pitrou
18e63fbe64
Issue #7332 : Remove the 16KB stack-based buffer in
...
PyMarshal_ReadLastObjectFromFile, which doesn't bring any noticeable
benefit compared to the dynamic memory allocation fallback. Patch by
Charles-François Natali.
2010-04-21 22:53:29 +00:00
Matthias Klose
8a96d209f0
- Build the ossaudio extension on GNU/kFreeBSD.
2010-04-21 22:18:52 +00:00
Antoine Pitrou
c715a9ed08
Issue #8484 : Load all ciphers and digest algorithms when initializing
...
the _ssl extension, such that verification of some SSL certificates
doesn't fail because of an "unknown algorithm".
2010-04-21 19:28:03 +00:00
Martin v. Löwis
f0a4cceba6
Add Tim Golden.
2010-04-21 06:37:48 +00:00
Victor Stinner
a92e81bf48
Issue #8437 : Fix test_gdb failures, patch written by Dave Malcolm
2010-04-20 22:28:31 +00:00
Giampaolo Rodolà
607f7c056e
Fix Issue #4841 : timeout is now applied for connections resulting from PORT/EPRT commands
2010-04-19 21:46:28 +00:00
Tarek Ziadé
8a12f940fe
Fixed #8463 : added missing reference to bztar in shutil's documentation.
2010-04-19 21:28:21 +00:00
Antoine Pitrou
7c587bf53d
Issue #8438 : Remove reference to the missing "surrogateescape" encoding
...
error handler from the new IO library.
2010-04-19 18:52:43 +00:00
Ronald Oussoren
37805e5c1f
Fix for issue #7072
2010-04-18 13:47:49 +00:00
Giampaolo Rodolà
cf445fced4
Fix Issue #3817 : 225 is now considered a valid response code for ABOR
2010-04-18 12:55:03 +00:00
Martin v. Löwis
24f09fdb23
Issue #8279 : Fix test_gdb failures.
2010-04-17 22:40:40 +00:00
Martin v. Löwis
923cf657e9
Add Giampaolo.
2010-04-17 17:10:55 +00:00
Antoine Pitrou
0a6373c1a9
Issue #8322 : Add a *ciphers* argument to SSL sockets, so as to change the
...
available cipher list. Helps fix test_ssl with OpenSSL 1.0.0.
2010-04-17 17:10:38 +00:00
R. David Murray
e0e8a87d7e
Issue #3864 : Skip three test_signal tests on freebsd6 due to platform bug.
...
Two itimer tests and an interprocess signal test fail on FreeBSD 6 if
any test that starts a thread runs before test_signal. Since FreeBSD7
does not show this behavior, the bug is most likely a platform bug,
so this patch just skips the failing tests on freebsd6.
2010-04-17 05:26:26 +00:00
Benjamin Peterson
821a8ea39f
have a clear error when passing something > sys.maxsize to bytearray
2010-04-16 22:35:38 +00:00
Senthil Kumaran
8c6d9d7c8d
Fix issue2987: RFC2732 support for urlparse (IPv6 addresses)
2010-04-16 02:46:46 +00:00
Georg Brandl
4fabac545e
#5341 : typo.
2010-04-14 08:53:38 +00:00
R. David Murray
661303f27e
Issue #5277 : Fix quote counting when parsing RFC 2231 encoded parameters.
2010-04-13 20:57:40 +00:00
R. David Murray
1a14d3d169
Issue #7585 : use tab between components in unified and context diff headers.
...
Instead of spaces between the filename and date (or whatever the string
is that follows the filename, if any) use tabs. This is what the unix
'diff' command does, for example, and difflib was intended to follow
the 'standard' way of doing diffs. This improves compatibility with
patch tools. The docs and examples are also changed to recommended that
the date format used be the ISO 8601 format, which is what modern diff
tools emit by default.
Patch by Anatoly Techtonik.
2010-04-12 16:35:19 +00:00
R. David Murray
27ef93797c
Issue #7472 : ISO-2022 charsets now consistently use 7bit CTE.
...
Fixed a typo in the email.encoders module so that messages output using
an ISO-2022 character set will use a content-transfer-encoding of
7bit consistently. Previously if the input data had any eight bit
characters the output data would get marked as 8bit even though it
was actually 7bit.
2010-04-12 14:26:06 +00:00
Martin v. Löwis
7f7765ce39
Issue #8330 : Fix expected output in test_gdb.
2010-04-12 05:18:16 +00:00
Antoine Pitrou
ab5ce720e2
Fix misplaced items and incorrect title.
2010-04-11 22:45:47 +00:00
Antoine Pitrou
fc53153498
Issue #8374 : Update the internal alias table in the :mod:`locale` module
...
to cover recent locale changes and additions.
2010-04-11 22:32:39 +00:00
Andrew M. Kuchling
884d0a3c27
Two typo fixes
2010-04-11 12:48:08 +00:00
Benjamin Peterson
12409067c2
towards beta 2
2010-04-10 18:53:58 +00:00
Benjamin Peterson
fbac6c1590
bump version to 2.7b1
2010-04-10 16:22:05 +00:00
Martin v. Löwis
7bc26b9be6
Issue #8348 : Fix test ftp url in test_urllib2net.
2010-04-08 17:40:54 +00:00
Martin v. Löwis
e84089e3f1
Issue #8204 : Fix test_ttk notebook test by forcing focus.
2010-04-08 17:38:32 +00:00
Martin v. Löwis
1b287c7434
Issue #8344 : Fix test_ttk bug on FreeBSD.
2010-04-08 09:47:40 +00:00
Jeroen Ruigrok van der Werven
6d22cfcee4
Document the libffi FreeBSD fix.
2010-04-07 16:34:08 +00:00
Martin v. Löwis
16ea548f69
Issue #8314 : Fix unsigned long long bug in libffi on Sparc v8.
2010-04-07 11:01:46 +00:00
Philip Jenvey
5a5a37c346
document new PYTHONWARNINGS env var
2010-04-06 23:38:57 +00:00
Philip Jenvey
aebbaeb962
#7301 : add the environment variable $PYTHONWARNINGS to supplement the -W
...
command line option
patch from Brian Curtin
2010-04-06 23:24:45 +00:00
Benjamin Peterson
3a1dfa21c2
remove a optimization that resulted in unexpected behavior #8929
2010-04-06 21:50:00 +00:00
Antoine Pitrou
3b4c989cfd
Issue #8193 : Fix test_zlib failure with zlib 1.2.4.
2010-04-06 17:21:09 +00:00
Mark Dickinson
8279167af9
Misc/NEWS entry for r79843.
2010-04-06 16:47:55 +00:00
Georg Brandl
2b051d7459
Add JP.
2010-04-06 14:33:44 +00:00
Antoine Pitrou
f9de534c21
Issue #8321 : Give access to OpenSSL version numbers from the `ssl` module,
...
using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO`
and `ssl.OPENSSL_VERSION_NUMBER`.
2010-04-05 21:35:07 +00:00
Benjamin Peterson
76a23c17bc
fix dis on new style classes #8310
2010-04-04 23:23:22 +00:00
Raymond Hettinger
bb006cf26c
Add tests for cmp_to_key.
...
Adopt PEP 8 compliant function name.
Factor-out existing uses cmp_to_key.
Update documentation to use internal pointers instead of external resource.
2010-04-04 21:45:01 +00:00
Raymond Hettinger
a551f31d48
Add functools.CmpToKey()
2010-04-04 18:34:45 +00:00
Benjamin Peterson
4ceeeb09d8
ensure that the locale does not affect the tokenization of identifiers
2010-04-03 22:48:51 +00:00
Raymond Hettinger
5f516edd77
Add count() method to collections.deque().
2010-04-03 18:10:37 +00:00
Mark Dickinson
8a95071fc1
Add Misc/NEWS entry for r79609.
2010-04-03 15:47:46 +00:00
Mark Dickinson
4846a8e828
Issue #8300 : Let struct.pack use __index__ to convert and pack non-integers.
...
Based on a patch by Meador Inge.
2010-04-03 14:05:10 +00:00
Raymond Hettinger
34c35b2788
Add subtract() method to collections.Counter() objects.
2010-04-03 10:22:00 +00:00
Tarek Ziadé
0000295fe3
Issue #1222585 : Added LDCXXSHARED for C++ support
2010-04-03 08:37:59 +00:00
Benjamin Peterson
1c7c11ef61
give TypeError when trying to set T_STRING_INPLACE
2010-04-03 01:28:57 +00:00
Brian Curtin
85108e64a7
Add note about #1220212 (os.kill on Windows)
2010-04-02 23:31:28 +00:00
Michael Foord
a04c7a0f16
Issue #8038 : Addition of unittest.TestCase.assertNotRegexpMatches
2010-04-02 22:55:59 +00:00
Mark Dickinson
7c63eee485
Issue #8294 : Allow float and Decimal arguments in Fraction constructor.
2010-04-02 22:27:36 +00:00
Brian Curtin
19479fa437
Add a line about #7347 to Misc\News
2010-04-02 21:51:37 +00:00
Eric Smith
d44b2fc87c
Issue 7994: Make object.__format__ with a non-empty format string a PendingDecprecationWarning. Still need to remove uses of this from various tests.
2010-04-02 12:30:56 +00:00
Larry Hastings
3b958e3b57
Issue #8235 : _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is
...
a socket option available on FreeBSD 7.1 and newer.
2010-04-02 11:18:17 +00:00
Larry Hastings
5ac006dfd3
Capsule-related changes:
...
* PyCObject_AsVoidPtr() can now open capsules. This addresses
most of the remaining backwards-compatibility concerns about
the conversion of Python 2.7 from CObjects to capsules.
* CObjects were marked Pending Deprecation.
* Documentation about this pending deprecation was added to
cobject.h.
* The capsule source files were added to the legacy PC build
processes.
2010-04-02 11:01:35 +00:00
Mark Dickinson
f3eeca16cb
Issue #7279 : Make Decimal('nan') hashable. Decimal('snan') remains unhashable.
...
Also rewrite the Decimal __hash__ method so that it doesn't rely on
float('inf') being valid: float('inf') could raise an exception on
platforms not using IEEE 754 arithmetic.
2010-04-02 10:35:12 +00:00
Mark Dickinson
e096e82e82
Issue #7279 : Make comparisons involving a Decimal sNaN signal InvalidOperation.
2010-04-02 10:17:07 +00:00
Mark Dickinson
99d8096c17
Issue #2531 : Make float-to-decimal comparisons return correct results.
...
Float to decimal comparison operations now return a result based on
the numeric values of the operands. Decimal.__hash__ has also been
fixed so that Decimal and float values that compare equal have equal
hash value.
2010-04-02 08:53:22 +00:00
Antoine Pitrou
76c8649038
Issue #8276 : PyEval_CallObject() is now only available in macro form. The
...
function declaration, which was kept for backwards compatibility reasons,
is now removed (the macro was introduced in 1997!).
2010-04-01 16:42:11 +00:00