[issue17020] random.random() generating values >= 1.0

2013-01-25 Thread R. David Murray
R. David Murray added the comment: Excellent. Thanks for testing. And thanks for pointing out the duplicate, Peter. -- assignee: ronaldoussoren -> resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Value returned by random.random() out of v

[issue15484] CROSS: use _PYTHON_PROJECT_BASE in distutils sysconfig

2013-01-25 Thread Roumen Petrov
Roumen Petrov added the comment: Matthias Klose wrote: > 2-CROSS-set-_PYTHON_PROJECT_BASE-to-current-build-dir.patch > I'll use abs_builddir instead. Yes after some fixes related to issue 15819 (msg173144) this is preferred. Roumen -- ___ Python trac

[issue16979] Broken error handling in codecs.unicode_escape_decode()

2013-01-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file28752/unicode_escape_decode_error_handling-3.4.patch ___ Python tracker ___ __

[issue16979] Broken error handling in codecs.unicode_escape_decode()

2013-01-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a set of patches for all versions (patch for 3.4 updated). -- Added file: http://bugs.python.org/file28833/unicode_escape_decode_error_handling-2.7.patch Added file: http://bugs.python.org/file28834/unicode_escape_decode_error_handling-3.2.pa

[issue16769] Remove some old Visual Studio versions from PC/ directory

2013-01-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 01bbac9369e8 by Brian Curtin in branch 'default': Fix #16769. Remove outdated Visual Studio project directories for VC6, VS7.1, and VS8. http://hg.python.org/cpython/rev/01bbac9369e8 -- nosy: +python-dev ___

[issue16769] Remove some old Visual Studio versions from PC/ directory

2013-01-25 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Pyt

[issue1674555] sys.path in tests contains system directories

2013-01-25 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue17015] mock could be smarter and inspect the spec's signature

2013-01-25 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue17010] Windows launcher ignores active virtual environment

2013-01-25 Thread Éric Araujo
Changes by Éric Araujo : -- components: +Interpreter Core -Installation nosy: +brian.curtin, tim.golden, vinay.sajip stage: -> needs patch versions: +Python 3.4 ___ Python tracker _

[issue17036] Implementation of the PEP 433: Easier suppression of file descriptor inheritance

2013-01-25 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file28832/297b3529876a.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue9253] argparse: optional subparsers

2013-01-25 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue17036] Implementation of the PEP 433: Easier suppression of file descriptor inheritance

2013-01-25 Thread STINNER Victor
STINNER Victor added the comment: Here is a patch of the latest revision. configure and Python/importlib.h must be regenerated (are not part of the diff). -- Added file: http://bugs.python.org/file28837/9bdfa1a3ea8c.patch ___ Python tracker

[issue17036] Implementation of the PEP 433: Easier suppression of file descriptor inheritance

2013-01-25 Thread STINNER Victor
STINNER Victor added the comment: I tested 9bdfa1a3ea8c.patch on Fedora 16 (Linux 3.6, glibc 2.14), Debian Etch (Linux 2.6.19), OpenBSD 5.2, OpenIndiana, FreeBSD 8.2, Windows 7. I tested both cases (works/not supported) for O_CLOEXEC and SOCK_CLOEXEC. For the WSA_FLAG_NO_HANDLE_INHERIT flag, I

[issue17036] Implementation of the PEP 433: Easier suppression of file descriptor inheritance

2013-01-25 Thread STINNER Victor
STINNER Victor added the comment: The select module may need more work. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue16651] Find out what stdlib modules lack a pure Python implementation

2013-01-25 Thread Ezio Melotti
Changes by Ezio Melotti : -- dependencies: +Add OrderedDict written in C nosy: +ezio.melotti type: -> enhancement ___ Python tracker ___

[issue17036] Implementation of the PEP 433: Easier suppression of file descriptor inheritance

2013-01-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue16770] Selection in IDLE often skips first character

2013-01-25 Thread Irwin Jungreis
Irwin Jungreis added the comment: I have reopened this issue because there are still cases where it does not work. I installed 8.5.13 and the IDLE patch as suggested. That fixed the particular case that I had used to demonstrate the problem (a file containing just two characters M1). However,

[issue16991] Add OrderedDict written in C

2013-01-25 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16991] Add OrderedDict written in C

2013-01-25 Thread Eric Snow
Eric Snow added the comment: Here's a cleanup of test.test_collections that helps keep the subsequent patch (still forthcoming) cleaner. -- Added file: http://bugs.python.org/file28839/cleanup-test-collections.diff ___ Python tracker

[issue17037] Add conforms_to_pep399() to test.support

2013-01-25 Thread Eric Snow
New submission from Eric Snow: Related to issue #16817 and to my efforts on a C OrderedDict, I think it would be nice to have a class decorator that handles most of the PEP 399 requirements for you. The attached patch adds such a decorator to test.support. -- assignee: eric.snow compo

[issue16817] test___all__ affects other tests by doing too much importing

2013-01-25 Thread Eric Snow
Eric Snow added the comment: So the current solution is to temporarily put the relevant module in place in sys.modules, right? That seems to be the solution that Stefan recommended and used in the decimal module. Sounds good to me. I'm hitting this while doing the PEP 399 two-step for the co

[issue17037] Add conforms_to_pep399() to test.support

2013-01-25 Thread Eric Snow
Eric Snow added the comment: One lingering doubt I have is about how I throw the two new test case classes into the globals. They're already getting bound, as a pair, to the original test class's name... -- ___ Python tracker

[issue17037] Add conforms_to_pep399() to test.support

2013-01-25 Thread Eric Snow
Eric Snow added the comment: One step I left out is handling the whole pickle/copyreg case outlined by #16817. -- ___ Python tracker ___

[issue14715] test.support.DirsOnSysPath should be replaced by importlib.test.util.import_state

2013-01-25 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue17037] Add conforms_to_pep399() to test.support

2013-01-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue17033] RPM spec file has old config_binsuffix value

2013-01-25 Thread Nick Coghlan
Nick Coghlan added the comment: Do we even *use* the spec file in Misc/RPM for anything any more? Should we just delete the entire directory? (Added Sean and Dave Malcolm to the nosy list) -- nosy: +dmalcolm, jafo ___ Python tracker

<    1   2