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
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
___
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22518
___
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
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
--
___
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?
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
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
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
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.
--
New submission from Serhiy Storchaka:
$ ./python -Werror -m test.regrtest -v test_warnings
...
==
ERROR: test_warning_classes (test.test_warnings.CWarnTests)
--
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
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
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
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.
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
___
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
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
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
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
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
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
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:
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
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
___
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
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:
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
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
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.
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: michael.foord - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22823
___
101 - 131 of 131 matches
Mail list logo