[issue23025] ssl.RAND_bytes docs should mention os.urandom

2014-12-10 Thread Donald Stufft
Donald Stufft added the comment: I agree completely. This is something that should generally be discouraged all together. See: http://sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers/ -- nosy: +dstufft ___ Python tracker

[issue14965] super() and property inheritance behavior

2014-12-10 Thread Simon Zack
Simon Zack added the comment: +1 to this feature, this will dramatically simplify property setting code. -- nosy: +simonzack ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14965 ___

[issue22518] integer overflow in encoding unicode

2014-12-10 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22518 ___

[issue22520] integer overflow in computing unicode's object representation

2014-12-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: As Serhiy has noted on other bugs, the fact that the tests must be restricted to 32-bits limits their usefulness unfortunately. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python

[issue21600] mock.patch.stopall doesn't work with patch.dict to sys.modules

2014-12-10 Thread Colton Leekley-Winslow
Colton Leekley-Winslow added the comment: Patching sys.modules is an idea I got from the official documentation https://docs.python.org/3/library/unittest.mock.html#patch-dict http://mock.readthedocs.org/en/latest/patch.html#patch-dict -- ___

[issue23024] Python Compile Error on Mac os X ld: unknown option: -export-dynamic

2014-12-10 Thread Ned Deily
Ned Deily added the comment: The -export-dynamic compile option is not supported nor selected at configure time for normal builds on OS X. Exactly what configure options did you use? I see that you have checked Cross-Build for components. What sort of cross-building are you attempting?

[issue23026] Winreg module doesn't support REG_QWORD, small DWORD doc update

2014-12-10 Thread Mark Grandi
New submission from Mark Grandi: The winreg module has constants for the different Windows registry types: https://docs.python.org/3/library/winreg.html?highlight=winreg#value-types It also links to the Microsoft documentation on the registry types, and I noticed that python doesn't have

[issue23016] uncaught exception in lib/warnings.py when executed with pythonw

2014-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset d04dab84388f by Serhiy Storchaka in branch '3.4': Issue #23016: A warning no longer produces AttributeError when the program https://hg.python.org/cpython/rev/d04dab84388f New changeset 0050e770b34c by Serhiy Storchaka in branch 'default': Issue

[issue22992] Adding a git developer's guide to Mercurial to devguide

2014-12-10 Thread Demian Brecht
Demian Brecht added the comment: After some further investigation, this seems to be what's happening. Note: this is based on a small amount of research and hasn't been validated by any mercurial devs, so it might be missing key pieces: In cases where a local topological head is unknown to a

[issue22992] Adding a git developer's guide to Mercurial to devguide

2014-12-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: I suggest you post your findings on the mercurial mailing-list (http://selenic.com/mailman/listinfo/mercurial, there's a gmane mirror also). I would be surprised if there weren't an easy way of circumventing it. --

[issue23027] test_warnings fails with -Werror

2014-12-10 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: $ ./python -Werror -m test.regrtest -v test_warnings ... == ERROR: test_warning_classes (test.test_warnings.CWarnTests) --

[issue23028] CEnvironmentVariableTests and PyEnvironmentVariableTests test the same implementation

2014-12-10 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: CEnvironmentVariableTests and PyEnvironmentVariableTests are purposed to test C and Python implementations. But they are test the same implementation because execute test code in a subprocess and changes of sys.modules in current process don't affect a

[issue23029] test_warnings produces extra output in quit mode

2014-12-10 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: $ ./python -m test.regrtest -q test_warnings test.test_warnings:559: UserWarning: test This is 2.7 only issue. -- components: Tests messages: 232448 nosy: serhiy.storchaka priority: normal severity: normal status: open title: test_warnings produces

[issue23016] uncaught exception in lib/warnings.py when executed with pythonw

2014-12-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23016

[issue22992] Adding a git developer's guide to Mercurial to devguide

2014-12-10 Thread Demian Brecht
Demian Brecht added the comment: The issue and solution was confirmed on IRC in #mercurial by mpm (Matt Mackall). According to him, there is also no easy way to change this behaviour from the client. The problem isn't /really/ a Mercurial issue, but an issue with web server specific defaults.

[issue23027] test_warnings fails with -Werror

2014-12-10 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23027 ___

[issue23029] test_warnings produces extra output in quiet mode

2014-12-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- title: test_warnings produces extra output in quit mode - test_warnings produces extra output in quiet mode ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23029

[issue19527] Test failures with COUNT_ALLOCS

2014-12-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- components: +Tests nosy: +serhiy.storchaka stage: - patch review type: - behavior versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19527

[issue19527] Test failures with COUNT_ALLOCS

2014-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why do you check hasattr(sys, 'getrefcount') in test_io.py, but hasattr(sys, 'getcounts') in all other tests? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19527

[issue18383] test_warnings modifies warnings.filters when running with -W default

2014-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch fixes symptoms. It would be better to fix the cause of the issue -- warnings.filters shouldn't duplicate after module reloading. -- nosy: +serhiy.storchaka versions: +Python 3.5 -Python 3.3 ___ Python

[issue14784] Re-importing _warnings changes warnings.filters

2014-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue18383 is a duplicate of this issue but it has a patch (not perfect). -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14784

[issue22823] Use set literals instead of creating a set from a list

2014-12-10 Thread Michael Foord
Michael Foord added the comment: Patch looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22823 ___ ___ Python-bugs-list mailing

[issue23006] Improve the doc and indexing of adict.__missing__.

2014-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0fe3fb886c38 by Terry Jan Reedy in branch '2.7': Issue #23006: Improve the documentation and indexing of dict.__missing__. https://hg.python.org/cpython/rev/0fe3fb886c38 New changeset 31875b244bdf by Terry Jan Reedy in branch '3.4': Issue #23006:

[issue23006] Improve the doc and indexing of adict.__missing__.

2014-12-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I made a couple more minor revisions to the 3.4 stdtypes text and copied the revised paragraph, with the code example, to 2.7 -- resolution: - fixed stage: needs patch - resolved status: open - closed ___ Python

[issue20866] segfailt with os.popen and SIGPIPE

2014-12-10 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - fixed stage: test needed - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20866 ___

[issue22992] Adding a git developer's guide to Mercurial to devguide

2014-12-10 Thread Demian Brecht
Demian Brecht added the comment: I've added a section about rebasing and removed the comment about merging. Of course, I'm assuming that the config changes can be made to Apache to allow for this workflow. -- Added file: http://bugs.python.org/file37412/issue22992_1.patch

[issue22225] Add SQLite support to http.cookiejar

2014-12-10 Thread Demian Brecht
Demian Brecht added the comment: Coming back to this, it's likely a bad idea as an addition to the standard library as an update may be required out of band with scheduled deployments should schemas and such change. This is best developed as an external module. Closing. -- status:

[issue21600] mock.patch.stopall doesn't work with patch.dict to sys.modules

2014-12-10 Thread Eric Snow
Eric Snow added the comment: At least for CPython sys.modules is initially set to the modules dict on the interpreter struct. As of 3.4 the import system itself only cares about sys.modules (I'll have to double check on builtin___import__). However, if I recall correctly at least part of

[issue23024] Python Compile Error on Mac os X ld: unknown option: -export-dynamic

2014-12-10 Thread zhuoyikang
zhuoyikang added the comment: Sorry, i am not cross-build , i just building it on my mac os x machine : i fellow this = Build Instructions -- On Unix, Linux, BSD, OSX, and Cygwin: New text ./configure make make test sudo make install This will install Python

[issue23024] Python Compile Error on Mac os X ld: unknown option: -export-dynamic

2014-12-10 Thread Ned Deily
Ned Deily added the comment: That should work just fine, assuming you are using an unmodified Python 3.4.x source download or the 3.4 branch of a source repo. My best guess as to why you are running into problems is that you may be picking up build tools other than those supplied by Apple.

[issue22823] Use set literals instead of creating a set from a list

2014-12-10 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: michael.foord - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22823 ___

<    1   2