- 19 Mar, 2008 2 commits
-
-
Gregory P. Smith authored
Some people look for them in hashlib.
-
Andrew M. Kuchling authored
-
- 18 Mar, 2008 38 commits
-
-
Eric Smith authored
This work is substantially Anthony Baxter's, from issue 1633807. I just freshened it, made a few minor tweaks, and added the test cases. I also created issue 2412, which is to check for 2to3's behavior with the print function. I also added myself to ACKS.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Gregory P. Smith authored
Fix a buglet in binascii.crc32, the second optional argument could previously have a signedness mismatch with the C variable its going into.
-
Steven Bethard authored
Add py3k warnings for code and method inequality comparisons. This should resolve issue 2373. The codeobject.c and methodobject.c changes are both just backports of the Python 3 code.
-
Steven Bethard authored
-
David Wolever authored
-
Brett Cannon authored
-
Gregory P. Smith authored
-
Neal Norwitz authored
-
Steven Bethard authored
Fix test_atexit so that it still passes when -3 is supplied. (It was catching the warning messages on stdio from using the reload() function.)
-
Gregory P. Smith authored
uid and gid input to accept values >=2**31 as valid while still accepting negative numbers to pass -1 to chown for "no change". Fixes issue1747858. This should be backported to release25-maint.
-
Steven Bethard authored
_have_soundcard() is a bad check for winsound.Beep, since you can have a soundcard but have the beep driver disabled. This revision basically disables the beep tests by wrapping them in a try/except. The Right Way To Do It is to come up with a _have_enabled_beep_driver() and use that.
-
Steven Bethard authored
-
Neal Norwitz authored
-
Steven Bethard authored
Add py3k warnings for object, type, cell and dict comparisons. This should resolve issue2342 and partly resolve issue2373.
-
Brett Cannon authored
some verification: - Runs reindent.py on all .py files. - Checks if any changes in Doc exist. - Whether Misc/ACKS was changed. - Whether Misc/NEWS was changed. The hope is that ``make check`` can become a command anybody can run to get reminders about what all the requisite steps needed to create a proper patch/checkin.
-
Sean Reifscheider authored
copy, now it is doing a os.rename() if it's on the same file-system.
-
Brett Cannon authored
on OS X.
-
Steven Bethard authored
Use test_support.unlink instead of os.unlink in tearDown(). (Seems to fix an occasional failure in Windows Vista.)
-
Brett Cannon authored
-
Brett Cannon authored
The removal of strerror.c led to the function check being removed from configure.in.
-
Thomas Heller authored
It would probably be better to have a configure test for that, but this is outside of my configure expertise.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Trent Nelson authored
The behaviour of winsound.Beep() seems to differ between different versions of Windows when there's either: a) no sound card entirely b) legacy beep driver has been disabled c) the legacy beep driver has been uninstalled Sometimes RuntimeErrors are raised, sometimes they're not. If _have_soundcard() returns False, don't expect winsound.Beep() to raise a RuntimeError, as this clearly isn't the case, as demonstrated by the various Win32 XP buildbots.
-
Trent Nelson authored
Issue 2286: bump up the stack size of the 64-bit debug python_d.exe to 2100000. The default value of 200000 causes a stack overflow at 1965 iterations of r_object() in marshal.c, 35 iterations before the 2000 limit enforced by MAX_MARSHAL_STACK_DEPTH.
-
Neal Norwitz authored
-
Jeffrey Yasskin authored
their times.
-
Brett Cannon authored
-
Neal Norwitz authored
-
Jeffrey Yasskin authored
instead of every integer from 0 to 400. Exhaustive testing wastes time without providing enough more assurance that the code is correct.
-
Jeffrey Yasskin authored
still sleep at all to make it likely that all threads are active at the same time.
-
Neal Norwitz authored
-
Travis E. Oliphant authored
Finish backporting new buffer API to Python 2.6. Left to do: memoryview object and structmodule. But, these need to be finished in Python 3.0 first. No objects support the new buffer API in Python 2.6 as of yet, and except for the memoryview object, I don't think they will.
-
Guido van Rossum authored
exception instances.
-