]> granicus.if.org Git - python/log
python
15 years agoRemove C++/C99-style comments.
Brett Cannon [Fri, 15 Jan 2010 01:31:45 +0000 (01:31 +0000)]
Remove C++/C99-style comments.

15 years agoIssue #7701: Fix crash in binascii.b2a_uu() in debug mode when given a
Antoine Pitrou [Fri, 15 Jan 2010 00:18:00 +0000 (00:18 +0000)]
Issue #7701: Fix crash in binascii.b2a_uu() in debug mode when given a
1-byte argument.  Patch by Victor Stinner.

15 years agoThe silencing of DeprecationWarning was not taking -3 into consideration. Since
Brett Cannon [Thu, 14 Jan 2010 20:00:28 +0000 (20:00 +0000)]
The silencing of DeprecationWarning was not taking -3 into consideration. Since
Py3K warnings are DeprecationWarning by default this was causing -3 to
essentially be a no-op. Now DeprecationWarning is only silenced if -3 is not
used.

Closes issue #7700. Thanks Ezio Melotti and Florent Xicluna for patch help.

15 years agoIssue #3299: Fix possible crash in the _sre module when given bad
Antoine Pitrou [Thu, 14 Jan 2010 17:25:24 +0000 (17:25 +0000)]
Issue #3299: Fix possible crash in the _sre module when given bad
argument values in debug mode.  Patch by Victor Stinner.

15 years agoIssue #7703: Add support for the new buffer API to functions of the
Antoine Pitrou [Thu, 14 Jan 2010 16:27:09 +0000 (16:27 +0000)]
Issue #7703: Add support for the new buffer API to functions of the
binascii module.  Backported from py3k by Florent Xicluna, with some
additional tests.

15 years agoIssue #7632: add tests for bugs fixed so far.
Mark Dickinson [Thu, 14 Jan 2010 15:22:33 +0000 (15:22 +0000)]
Issue #7632:  add tests for bugs fixed so far.

15 years agoIssue 7632: fix incorrect rounding for long input strings with values very close...
Mark Dickinson [Thu, 14 Jan 2010 14:40:20 +0000 (14:40 +0000)]
Issue 7632:  fix incorrect rounding for long input strings with values very close to a power of 2.  (See Bug 4 in the tracker discussion.)

15 years agoIssue 7632: fix a dtoa.c bug (bug 6) causing incorrect rounding. Tests to follow.
Mark Dickinson [Thu, 14 Jan 2010 13:14:49 +0000 (13:14 +0000)]
Issue 7632: fix a dtoa.c bug (bug 6) causing incorrect rounding.  Tests to follow.

15 years agoFix off-by-one error introduced in r77483. I have a test for this, but it currently...
Mark Dickinson [Thu, 14 Jan 2010 13:02:36 +0000 (13:02 +0000)]
Fix off-by-one error introduced in r77483.  I have a test for this, but it currently fails due to a different dtoa.c bug;  I'll add the test once that bug is fixed.

15 years agoFixed typo
Ezio Melotti [Thu, 14 Jan 2010 11:34:10 +0000 (11:34 +0000)]
Fixed typo

15 years agouse more robust quoting
Benjamin Peterson [Thu, 14 Jan 2010 02:40:10 +0000 (02:40 +0000)]
use more robust quoting

15 years agoUpdate PyEval_EvalFrame to PyEval_EvalFrameEx. This looks to have been done
Skip Montanaro [Thu, 14 Jan 2010 01:12:34 +0000 (01:12 +0000)]
Update PyEval_EvalFrame to PyEval_EvalFrameEx.  This looks to have been done
partially before.  Also add a comment describing how this might have to work
with different versions of the interpreter.

15 years agoMore dtoa.c cleanup; remove the need for bc.dplen, bc.dp0 and bc.dp1.
Mark Dickinson [Wed, 13 Jan 2010 22:20:10 +0000 (22:20 +0000)]
More dtoa.c cleanup;  remove the need for bc.dplen, bc.dp0 and bc.dp1.

15 years agoFix buggy comparison: LHS of comparison was being treated as unsigned.
Mark Dickinson [Wed, 13 Jan 2010 22:15:53 +0000 (22:15 +0000)]
Fix buggy comparison:  LHS of comparison was being treated as unsigned.

15 years agoSimplify and annotate the bigcomp function, removing unused special cases.
Mark Dickinson [Wed, 13 Jan 2010 20:55:03 +0000 (20:55 +0000)]
Simplify and annotate the bigcomp function, removing unused special cases.

15 years agoClarify that sulp expects a nonnegative input, but that +0.0 is fine.
Mark Dickinson [Wed, 13 Jan 2010 19:02:37 +0000 (19:02 +0000)]
Clarify that sulp expects a nonnegative input, but that +0.0 is fine.

15 years agoAdd comments explaining the role of the bigcomp function in dtoa.c.
Mark Dickinson [Wed, 13 Jan 2010 18:21:53 +0000 (18:21 +0000)]
Add comments explaining the role of the bigcomp function in dtoa.c.

15 years agoIssue #7625: Add more tests that bytearray methods return new objects,
Antoine Pitrou [Wed, 13 Jan 2010 15:02:13 +0000 (15:02 +0000)]
Issue #7625: Add more tests that bytearray methods return new objects,
even if identical.  Patch by Florent Xicluna (again).

15 years agoAdd ACKS entry for r77472.
Antoine Pitrou [Wed, 13 Jan 2010 14:32:51 +0000 (14:32 +0000)]
Add ACKS entry for r77472.

15 years agoIssue #2846: Add support for gzip.GzipFile reading zero-padded files.
Antoine Pitrou [Wed, 13 Jan 2010 14:32:10 +0000 (14:32 +0000)]
Issue #2846: Add support for gzip.GzipFile reading zero-padded files.
Patch by Brian Curtin.

15 years agoSanitize bloom filter macros
Antoine Pitrou [Wed, 13 Jan 2010 14:01:26 +0000 (14:01 +0000)]
Sanitize bloom filter macros

15 years agoTest commit to try to diagnose failures of the IA-64 buildbot
Antoine Pitrou [Wed, 13 Jan 2010 13:43:37 +0000 (13:43 +0000)]
Test commit to try to diagnose failures of the IA-64 buildbot

15 years agoUse `with`
Antoine Pitrou [Wed, 13 Jan 2010 11:57:42 +0000 (11:57 +0000)]
Use `with`

15 years agoIssue #7661: Allow ctypes to be built from a non-ASCII directory path.
Antoine Pitrou [Wed, 13 Jan 2010 11:47:49 +0000 (11:47 +0000)]
Issue #7661: Allow ctypes to be built from a non-ASCII directory path.
Patch by Florent Xicluna.

15 years agoFix Windows build (re r77461)
Antoine Pitrou [Wed, 13 Jan 2010 08:55:20 +0000 (08:55 +0000)]
Fix Windows build (re r77461)

15 years agoIssue #7622: Improve the split(), rsplit(), splitlines() and replace()
Antoine Pitrou [Wed, 13 Jan 2010 07:55:48 +0000 (07:55 +0000)]
Issue #7622: Improve the split(), rsplit(), splitlines() and replace()
methods of bytes, bytearray and unicode objects by using a common
implementation based on stringlib's fast search.  Patch by Florent Xicluna.

15 years ago#7685: typo
Ezio Melotti [Wed, 13 Jan 2010 00:25:03 +0000 (00:25 +0000)]
#7685: typo

15 years agoIssue #7632: Fix a bug in dtoa.c that could lead to incorrectly-rounded results.
Mark Dickinson [Tue, 12 Jan 2010 22:55:51 +0000 (22:55 +0000)]
Issue #7632:  Fix a bug in dtoa.c that could lead to incorrectly-rounded results.

15 years agoIssue #7632: Fix a problem with _Py_dg_strtod that could lead to
Mark Dickinson [Tue, 12 Jan 2010 22:23:56 +0000 (22:23 +0000)]
Issue #7632: Fix a problem with _Py_dg_strtod that could lead to
crashes in debug builds, for certain long numeric strings
corresponding to subnormal values.

15 years agoIssue #7654: enable additional bytes/bytearray tests. Patch by Florent Xicluna.
Antoine Pitrou [Tue, 12 Jan 2010 22:02:10 +0000 (22:02 +0000)]
Issue #7654: enable additional bytes/bytearray tests.  Patch by Florent Xicluna.

15 years agoAdded documentation for dictionary views fixer.
Alexandre Vassalotti [Tue, 12 Jan 2010 18:25:33 +0000 (18:25 +0000)]
Added documentation for dictionary views fixer.

15 years ago#5827: make sure that normpath preserves unicode
Ezio Melotti [Tue, 12 Jan 2010 03:32:05 +0000 (03:32 +0000)]
#5827: make sure that normpath preserves unicode

15 years agoFixed repr of dictionary views.
Alexandre Vassalotti [Tue, 12 Jan 2010 01:34:43 +0000 (01:34 +0000)]
Fixed repr of dictionary views.

15 years agomodule cleanup
Tarek Ziadé [Mon, 11 Jan 2010 23:41:32 +0000 (23:41 +0000)]
module cleanup

15 years agoIssue #1967: Backport dictionary views.
Alexandre Vassalotti [Mon, 11 Jan 2010 23:17:10 +0000 (23:17 +0000)]
Issue #1967: Backport dictionary views.

15 years agoAdd missing NEWS entry for r77422.
Alexandre Vassalotti [Mon, 11 Jan 2010 23:13:49 +0000 (23:13 +0000)]
Add missing NEWS entry for r77422.

15 years agoFixed #5372: .o files are now always rebuilt because file age test don't work in...
Tarek Ziadé [Mon, 11 Jan 2010 22:50:29 +0000 (22:50 +0000)]
Fixed #5372: .o files are now always rebuilt because file age test don't work in some case

15 years agoUpdate version information for AST changes in r77422.
Alexandre Vassalotti [Mon, 11 Jan 2010 22:46:43 +0000 (22:46 +0000)]
Update version information for AST changes in r77422.

15 years agoIssue #2333: Backport set and dict comprehensions syntax.
Alexandre Vassalotti [Mon, 11 Jan 2010 22:36:12 +0000 (22:36 +0000)]
Issue #2333: Backport set and dict comprehensions syntax.

15 years agoChange a variable type to avoid signed overflow; replace repeated '19999' constant...
Mark Dickinson [Mon, 11 Jan 2010 17:15:13 +0000 (17:15 +0000)]
Change a variable type to avoid signed overflow; replace repeated '19999' constant by a define.

15 years agofix test_popen when the path to python has spaces #7671
Benjamin Peterson [Sun, 10 Jan 2010 20:42:03 +0000 (20:42 +0000)]
fix test_popen when the path to python has spaces #7671

15 years agoIssue #7119: document that a program-generated Message object
R. David Murray [Sun, 10 Jan 2010 17:41:28 +0000 (17:41 +0000)]
Issue #7119: document that a program-generated Message object
tree may be mutated when serialized.

15 years agoFixed issue7648 - test_urllib2 fails on Windows if not run from C:
Senthil Kumaran [Sun, 10 Jan 2010 17:35:05 +0000 (17:35 +0000)]
Fixed issue7648 - test_urllib2 fails on Windows if not run from C:

15 years agoRemove unused BCinfo fields and an unused macro.
Mark Dickinson [Sun, 10 Jan 2010 13:06:31 +0000 (13:06 +0000)]
Remove unused BCinfo fields and an unused macro.

15 years agoUpdate root certificate to CAcert.
Martin v. Löwis [Sun, 10 Jan 2010 10:29:54 +0000 (10:29 +0000)]
Update root certificate to CAcert.

15 years agoDeprecationWarning is now silent by default.
Brett Cannon [Sun, 10 Jan 2010 02:56:19 +0000 (02:56 +0000)]
DeprecationWarning is now silent by default.

This was originally suggested by Guido, discussed on the stdlib-sig mailing
list, and given the OK by Guido directly to me. What this change essentially
means is that Python has taken a policy of silencing warnings that are only
of interest to developers by default. This should prevent users from seeing
warnings which are triggered by an application being run against a new
interpreter before the app developer has a chance to update their code.

Closes issue #7319. Thanks to Antoine Pitrou, Ezio Melotti, and Brian Curtin
for helping with the issue.

15 years agoUpdate the version # of Python-ast.c based on the backport of set literals from
Brett Cannon [Sun, 10 Jan 2010 02:48:50 +0000 (02:48 +0000)]
Update the version # of Python-ast.c based on the backport of set literals from
r77400.

15 years agoIssue #2335: Backport set literals syntax from Python 3.x.
Alexandre Vassalotti [Sat, 9 Jan 2010 23:35:54 +0000 (23:35 +0000)]
Issue #2335: Backport set literals syntax from Python 3.x.

15 years agoIssue #7532: Add additional slicing test cases for new- and old-style
Mark Dickinson [Sat, 9 Jan 2010 18:50:50 +0000 (18:50 +0000)]
Issue #7532: Add additional slicing test cases for new- and old-style
classes.  Patch by Florent Xicluna.

15 years agopost release version adjustment
Benjamin Peterson [Sat, 9 Jan 2010 17:30:31 +0000 (17:30 +0000)]
post release version adjustment

15 years agotag 2.7 alpha 2
Benjamin Peterson [Sat, 9 Jan 2010 16:36:09 +0000 (16:36 +0000)]
tag 2.7 alpha 2

15 years agobump version to 2.7a2 v2.7a2
Benjamin Peterson [Sat, 9 Jan 2010 16:34:06 +0000 (16:34 +0000)]
bump version to 2.7a2

15 years ago#7422: make it clear that getargspec() only works on Python functions.
Georg Brandl [Sat, 9 Jan 2010 09:47:11 +0000 (09:47 +0000)]
#7422: make it clear that getargspec() only works on Python functions.

15 years agoFixed #7617: all flavors of gcc should be recognized now
Tarek Ziadé [Fri, 8 Jan 2010 23:42:23 +0000 (23:42 +0000)]
Fixed #7617: all flavors of gcc should be recognized now

15 years agoRemove obsolete warning filters in regrtest.py (from issue #7092 -- patch by
Antoine Pitrou [Fri, 8 Jan 2010 19:39:04 +0000 (19:39 +0000)]
Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch by
Florent Xicluna).

15 years agoFix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration
Senthil Kumaran [Fri, 8 Jan 2010 19:20:25 +0000 (19:20 +0000)]
Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration

15 years agoIssue #7092: Remove py3k warning when importing cPickle. 2to3 handles
Antoine Pitrou [Fri, 8 Jan 2010 19:20:17 +0000 (19:20 +0000)]
Issue #7092: Remove py3k warning when importing cPickle.  2to3 handles
renaming of `cPickle` to `pickle`.  The warning was annoying since there's
no alternative to cPickle if you care about performance.  Patch by Florent
Xicluna.

15 years agoReverting the Revision: 77368. I committed Flox's big patch for tests by
Senthil Kumaran [Fri, 8 Jan 2010 19:04:16 +0000 (19:04 +0000)]
Reverting the Revision: 77368.  I committed Flox's big patch for tests by
mistake. ( It may come in for sure tough)

15 years agoFixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch...
Senthil Kumaran [Fri, 8 Jan 2010 18:41:40 +0000 (18:41 +0000)]
Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox

15 years agoBackport some float repr tests that were missed in issue 7117.
Mark Dickinson [Fri, 8 Jan 2010 16:53:56 +0000 (16:53 +0000)]
Backport some float repr tests that were missed in issue 7117.

15 years ago#7653: clarify how the PythonPath registry key should look like.
Georg Brandl [Thu, 7 Jan 2010 21:48:47 +0000 (21:48 +0000)]
#7653: clarify how the PythonPath registry key should look like.

15 years agoFix description for Py_GetPath(); it sounded like it always returned sys.path.
Georg Brandl [Thu, 7 Jan 2010 20:54:45 +0000 (20:54 +0000)]
Fix description for Py_GetPath(); it sounded like it always returned sys.path.

15 years agoFix reattribution mistake when fixing attribution mistake!
Antoine Pitrou [Thu, 7 Jan 2010 17:54:10 +0000 (17:54 +0000)]
Fix reattribution mistake when fixing attribution mistake!

15 years agoFix attribution. Florent actually repackaged and reviewed Victor's patch (sorry!).
Antoine Pitrou [Thu, 7 Jan 2010 17:49:37 +0000 (17:49 +0000)]
Fix attribution. Florent actually repackaged and reviewed Victor's patch (sorry!).

15 years agoIssue #7455: Fix possible crash in cPickle on invalid input. Patch by
Antoine Pitrou [Thu, 7 Jan 2010 17:46:49 +0000 (17:46 +0000)]
Issue #7455: Fix possible crash in cPickle on invalid input.  Patch by
Florent Xicluna.

15 years agoEric Smith was missing fro m the issue 7117 whatsnew attribution.
Mark Dickinson [Thu, 7 Jan 2010 09:28:29 +0000 (09:28 +0000)]
Eric Smith was missing fro m the issue 7117 whatsnew attribution.

15 years agoFix inadvertent checkin of debug line.
R. David Murray [Thu, 7 Jan 2010 04:04:28 +0000 (04:04 +0000)]
Fix inadvertent checkin of debug line.

15 years agoAdd -W to the 'basics', 'opt', and 'all' test runs so that we get verbose
R. David Murray [Thu, 7 Jan 2010 03:09:08 +0000 (03:09 +0000)]
Add -W to the 'basics', 'opt', and 'all' test runs so that we get verbose
information if a failure happens.

15 years ago#5950: document that zip files with comments are unsupported in zipimport.
Georg Brandl [Wed, 6 Jan 2010 18:26:08 +0000 (18:26 +0000)]
#5950: document that zip files with comments are unsupported in zipimport.

15 years ago#5991: let completion for the "help" command include help topics.
Georg Brandl [Wed, 6 Jan 2010 18:02:16 +0000 (18:02 +0000)]
#5991: let completion for the "help" command include help topics.

This also simplifies the Cmd.get_names() method implementation; it was written
at a time where dir() didn't consider base class attributes.

15 years agoSmall fixes to test_cmd: fix signature of do_shell, remove duplicate import, add...
Georg Brandl [Wed, 6 Jan 2010 17:43:06 +0000 (17:43 +0000)]
Small fixes to test_cmd: fix signature of do_shell, remove duplicate import, add option to run the custom Cmd class.

15 years agoAdd missing docstring for Context.divmod. Thanks Juan José Conti.
Mark Dickinson [Wed, 6 Jan 2010 16:20:22 +0000 (16:20 +0000)]
Add missing docstring for Context.divmod.  Thanks Juan José Conti.

15 years agoAdd Stefan.
Georg Brandl [Tue, 5 Jan 2010 18:14:52 +0000 (18:14 +0000)]
Add Stefan.

15 years agoadd a test about hashing array.array
Benjamin Peterson [Tue, 5 Jan 2010 00:04:19 +0000 (00:04 +0000)]
add a test about hashing array.array

15 years agoKill a couple of "<>"
Antoine Pitrou [Mon, 4 Jan 2010 23:28:16 +0000 (23:28 +0000)]
Kill a couple of "<>"

15 years agoIssue #7092: Fix the DeprecationWarnings emitted by the standard library
Antoine Pitrou [Mon, 4 Jan 2010 23:22:44 +0000 (23:22 +0000)]
Issue #7092: Fix the DeprecationWarnings emitted by the standard library
when using the -3 flag.  Patch by Florent Xicluna.

15 years ago#3340: document print/get_usage and print/get_version
Ezio Melotti [Mon, 4 Jan 2010 21:43:02 +0000 (21:43 +0000)]
#3340: document print/get_usage and print/get_version

15 years agoFix typo in comment.
Mark Dickinson [Mon, 4 Jan 2010 21:32:02 +0000 (21:32 +0000)]
Fix typo in comment.

15 years agofixed markup errors
Ezio Melotti [Mon, 4 Jan 2010 09:00:11 +0000 (09:00 +0000)]
fixed markup errors

15 years agofactor out __complex__ lookup code to fix another case
Benjamin Peterson [Mon, 4 Jan 2010 01:00:47 +0000 (01:00 +0000)]
factor out __complex__ lookup code to fix another case

15 years agodo correct lookup of the __complex__ method
Benjamin Peterson [Mon, 4 Jan 2010 00:43:01 +0000 (00:43 +0000)]
do correct lookup of the __complex__ method

15 years agoCredit Nir Aides for r77288
Antoine Pitrou [Sun, 3 Jan 2010 22:38:50 +0000 (22:38 +0000)]
Credit Nir Aides for r77288

15 years agoIssue #7471: Improve the performance of GzipFile's buffering mechanism,
Antoine Pitrou [Sun, 3 Jan 2010 22:29:56 +0000 (22:29 +0000)]
Issue #7471: Improve the performance of GzipFile's buffering mechanism,
and make it implement the `io.BufferedIOBase` ABC to allow for further
speedups by wrapping it in an `io.BufferedReader`.  Patch by Nir Aides.

15 years agoFix testSourceAddress to not test the host, it wasn't passing on some platforms.
Gregory P. Smith [Sun, 3 Jan 2010 15:05:52 +0000 (15:05 +0000)]
Fix testSourceAddress to not test the host, it wasn't passing on some platforms.

15 years agoremove an obsolete file that should've gone with r77252
Gregory P. Smith [Sun, 3 Jan 2010 14:56:28 +0000 (14:56 +0000)]
remove an obsolete file that should've gone with r77252

15 years agoUpdate doc build step.
Georg Brandl [Sun, 3 Jan 2010 13:05:39 +0000 (13:05 +0000)]
Update doc build step.

15 years agoMake use of PyLong_AsLongAndOverflow in math_ldexp.
Mark Dickinson [Sun, 3 Jan 2010 12:03:03 +0000 (12:03 +0000)]
Make use of PyLong_AsLongAndOverflow in math_ldexp.

15 years ago:stmt: -> :keyword:
Ezio Melotti [Sun, 3 Jan 2010 09:09:55 +0000 (09:09 +0000)]
:stmt: -> :keyword:

15 years ago#7618: fix highlight of code blocks
Ezio Melotti [Sun, 3 Jan 2010 09:01:27 +0000 (09:01 +0000)]
#7618: fix highlight of code blocks

15 years agor77152 to Doc/Makefile broke doc build due to (at least some) make
Kurt B. Kaiser [Sun, 3 Jan 2010 08:36:45 +0000 (08:36 +0000)]
r77152 to Doc/Makefile broke doc build due to (at least some) make
binaries running clean prereq after checkout.
1. So, fix the insane make call in build.sh - seems to solve it.
2. Fix a missing redirection.
3. Check in the rsync opts that actually work during upload.

15 years agoissue3972: HTTPConnection and HTTPSConnection now support a
Gregory P. Smith [Sun, 3 Jan 2010 02:06:07 +0000 (02:06 +0000)]
issue3972: HTTPConnection and HTTPSConnection now support a
source_address parameter.

Also cleans up an annotation in the socket documentation.

15 years agoAdds an optional source_address parameter to socket.create_connection().
Gregory P. Smith [Sun, 3 Jan 2010 01:29:44 +0000 (01:29 +0000)]
Adds an optional source_address parameter to socket.create_connection().

For use by issue3972.

15 years agoAdd a few items
Andrew M. Kuchling [Sun, 3 Jan 2010 01:15:21 +0000 (01:15 +0000)]
Add a few items

15 years agomake setup.py similar to py3k's when reporting on _hashlib as missing or not.
Gregory P. Smith [Sun, 3 Jan 2010 00:43:02 +0000 (00:43 +0000)]
make setup.py similar to py3k's when reporting on _hashlib as missing or not.

15 years agoImport all implementations of the hash algorithms (OpenSSL & builtin) and run
Gregory P. Smith [Sun, 3 Jan 2010 00:19:04 +0000 (00:19 +0000)]
Import all implementations of the hash algorithms (OpenSSL & builtin) and run
the test suite across all that are available.  Warns about extension modules
that could not be imported when python was compiled with Py_DEBUG.

That warning could be made fatal but I didn't want to do that initially as
I suspect non setup.py based build processes (windows, any others?) won't
compile them all conditionally based on the Py_DEBUG setting today.

15 years agoFix typo.
Georg Brandl [Sat, 2 Jan 2010 22:55:55 +0000 (22:55 +0000)]
Fix typo.

15 years agomention the r77252 change
Gregory P. Smith [Sat, 2 Jan 2010 22:42:50 +0000 (22:42 +0000)]
mention the r77252 change

15 years agoIssue #3745: Undo the requirement for new buffer API only objects to be passed
Gregory P. Smith [Sat, 2 Jan 2010 22:28:48 +0000 (22:28 +0000)]
Issue #3745: Undo the requirement for new buffer API only objects to be passed
to hashlib functions in python 2.x.  The module now uses the 's*' for argument
parsing which auto encodes unicode objects to the system default encoding for
us.

15 years agoAlways compile the all versions of the hashlib algorithm modules when Python
Gregory P. Smith [Sat, 2 Jan 2010 22:25:29 +0000 (22:25 +0000)]
Always compile the all versions of the hashlib algorithm modules when Python
was compiled with Py_DEBUG defined.  Otherwise the builtins are not compiled by
default for many developers due to OpenSSL being present, making it easier for
bugs to slip by.  A future commit will add test code compare the behaviors of
all implementations when they are all available.

15 years agoRemove silly conditional.
Antoine Pitrou [Sat, 2 Jan 2010 21:53:44 +0000 (21:53 +0000)]
Remove silly conditional.