Serhiy Storchaka added the comment:
What troubles?
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23007
___
___
New submission from Alexey Poryadin:
When is called `select`, but registered no one `fileobject` rise exception:
...
polled = self._selector.select(timeout)
File /usr/lib/python3.4/selectors.py, line 424, in select
fd_event_list = self._epoll.poll(timeout, max_ev)
ValueError: maxevents
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo, neologix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23009
___
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23009
___
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
components: +asyncio
nosy: +gvanrossum, yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23009
___
Martin Richard added the comment:
Currently, this is what I do in the child after the fork:
selector = loop._selector
parent_class = selector.__class__.__bases__[0]
selector.unregister = lambda fd: parent_class.unregister(selector, fd)
It replaces unregister() by
New submission from Walter Doekes:
If you define a FileHandler in your logging dictConfig but fail to use it in
the same configuration, the file handle is leaked and a ResourceWarning is
thrown.
Versions:
$ python3 -V
Python 3.4.0
$ apt-cache show python3.4 | grep ^Version
New submission from berndca:
There is a duplication of the first section of 18.2.2 (JSON) Encoders and
Decoders of the python 2.7.9RC1 doc as well of the corresponding paragraph in
19.2.2 of the Python 3 docs.
--
assignee: docs@python
components: Documentation
messages: 232303
nosy:
Simeon Visser added the comment:
What paragraph are you referring to? Various documented parameters are similar
but I don't see duplicate paragraphs.
--
nosy: +simeon.visser
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23011
Changes by Trent Nelson tr...@snakebite.org:
--
nosy: +trent
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18835
___
___
Python-bugs-list mailing
New submission from Armin Rigo:
It's not possible to write a settrace() or setprofile() function that remains
active if we're about to run out of stack. If we are, we get a RuntimeError
when the function is called. The RuntimeError is normally propagated, but in
case it is eaten (e.g. see
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23012
___
___
Python-bugs-list
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23010
___
___
Brett Cannon added the comment:
That's enough reason for me to close this as out of date. =)
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20603
Yury Selivanov added the comment:
Patch attached. Tests pass on Linux.
--
keywords: +patch
Added file: http://bugs.python.org/file37387/epoll_01.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23009
STINNER Victor added the comment:
I suggest to split this issue: create a new issue focus on
selectors.EpollSelector, it doesn't behave well with forking. If I understood
correctly, you can workaround this specific issue by forcing the selector to
selectors.SelectSelector for example, right?
STINNER Victor added the comment:
+s.select(timeout=0)
I suggest to ensure that the result is an empty list.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23009
___
Changes by Yury Selivanov yseliva...@gmail.com:
Added file: http://bugs.python.org/file37388/epoll_02.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23009
___
Yury Selivanov added the comment:
I agree. Please see another one.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23009
___
___
Python-bugs-list
STINNER Victor added the comment:
It's a little bit surprising to call epoll_wait() without any FD subscribed,
but select([], [], [], delay) is a known way to sleep 'delay' seconds, so why
not using epoll in a similar way? :-)
epoll_02.patch looks good to me. Can you please also apply the
New submission from Brett Cannon:
The docs for importlib.util.LazyLoader emphatically say that a loader cannot
define importlib.abc.Loader.create_module() if it is to be subclassed. What in
fact should say is that the subclass' create_module() will not be called;
whether it is defined or not
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23008
___
___
New submission from Brett Cannon:
I continue to be bothered by how we designed
importlib.abc.Loader.create_module(). I don't like that it's optional and I
don't like that it can return None.
I would much rather make it so that importlib.abc.Loader.create_module() was a
static method that
Guido van Rossum added the comment:
Please add a comment explaining the complaint from epoll.poll() we're
trying to avoid here.
I presume Tulip never gets into this state because of the self-pipe.
On Mon, Dec 8, 2014 at 8:01 AM, STINNER Victor rep...@bugs.python.org
wrote:
STINNER Victor
Kurt Roeckx added the comment:
I did update the documentation to mention that, but it seems none of my
documentation changes got applied.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22935
Roundup Robot added the comment:
New changeset b2ee06684b6a by Yury Selivanov in branch '3.4':
selectors: Make sure EpollSelecrtor.select() works when no FD is registered.
https://hg.python.org/cpython/rev/b2ee06684b6a
New changeset 202995833ef4 by Yury Selivanov in branch 'default':
selectors:
Yury Selivanov added the comment:
Please add a comment explaining the complaint from epoll.poll() we're
trying to avoid here.
Good point! Committed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23009
Changes by Yury Selivanov yseliva...@gmail.com:
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23009
___
Charles-François Natali added the comment:
Thanks for taking care of this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23009
___
___
Mark Dickinson added the comment:
What troubles?
Well, I imagine that something like bisect(a, 155, lo=numpy.uint8(0),
hi=numpy.uint8(254)) would be asking for trouble. But (a) it's hard to
imagine why anyone would want to do that given that NumPy has its own bisection
code, and (b) you'd
Roundup Robot added the comment:
New changeset 8f1be68dfcab by Yury Selivanov in branch '3.4':
NEWS: Add news entry for issue #23009.
https://hg.python.org/cpython/rev/8f1be68dfcab
New changeset d36711410f48 by Yury Selivanov in branch 'default':
NEWS: Add news entry for issue #23009.
Vinay Sajip added the comment:
Well, it's possible that you could configure handlers in the configuration for
later use (i.e. at some point after the dictConfig() call returns).
If you want to avoid opening the file until it's actually needed, you can
specify delay=True, and then you
Yury Selivanov added the comment:
@Claudiu, you should also add this test and make sure that it passes:
class Parent:
__doc__ = 'some documentation'
class Child(Parent):
__doc__ = None
assert getdoc(Child) is None
In other words -- we use __doc__ defined in parent
Claudiu Popa added the comment:
Alright, I'll update my patch later this week.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15582
___
___
Roundup Robot added the comment:
New changeset d22ca7496c54 by Yury Selivanov in branch 'default':
Issue #21740: Support wrapped callables in pydoc. Patch by Claudiu Popa.
https://hg.python.org/cpython/rev/d22ca7496c54
--
nosy: +python-dev
___
Python
Yury Selivanov added the comment:
Thank you for the patch, Claudiu!
--
nosy: +yselivanov
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21740
Walter Doekes added the comment:
Thanks for the quick response!
Well, it's possible that you could configure handlers in the configuration
for later use (i.e. at some point after the dictConfig() call returns).
After the dictConfig call returns, the StreamHandler/FileHandler is not
New submission from Serhiy Storchaka:
Proposed patch makes following changes to test_uuid.
* Report the test as skipped if this method to determine MAC address doesn't
work on this platform.
* Output found node value if test ran with -vv.
* Output node values in hexadecimal if node tests fail.
Roundup Robot added the comment:
New changeset 8e2505d535c8 by Yury Selivanov in branch 'default':
inspect: Fix getsource() to load updated source of reloaded module
https://hg.python.org/cpython/rev/8e2505d535c8
--
nosy: +python-dev
___
Python
Changes by Yury Selivanov yseliva...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1218234
___
Yury Selivanov added the comment:
Fixed in 3.5. Not sure if we need to backport this to 3.4 and 2.7.
Closing this issue. Thanks to Björn Lindqvist and Berker Peksag!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1218234
Serhiy Storchaka added the comment:
The patch is updated to current sources. Please test on NetBSD5.
--
nosy: +serhiy.storchaka
stage: - patch review
versions: +Python 3.4, Python 3.5 -Python 3.2
Added file: http://bugs.python.org/file37390/uuid_arp_getnode_netbsd.patch
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +needs review
stage: needs patch - patch review
versions: +Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19164
Terry J. Reedy added the comment:
Donald, can you look at this one-line patch? Éric has not responded.
--
nosy: +dstufft, terry.reedy -tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1703178
Jason R. Coombs added the comment:
FWIW, I'd appreciate a backport to 3.4, given that 3.5 is scheduled for release
in Sep 2015.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1218234
___
Éric Araujo added the comment:
Thanks for the patch. It looks good to me.
--
assignee: eric.araujo -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1703178
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: patch review - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1218234
___
___
Nick Coghlan added the comment:
I mostly like the idea, but am wary of having the base class implement it
as a static method that subclasses are then likely to override with a
normal instance method.
A module level function somewhere + a base class instance method that just
delegates to the
Roundup Robot added the comment:
New changeset e52d8e888df1 by Yury Selivanov in branch '3.4':
inspect: Fix getsource() to load updated source of reloaded module
https://hg.python.org/cpython/rev/e52d8e888df1
--
___
Python tracker
Yury Selivanov added the comment:
@Jason: done ;)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1218234
___
___
Python-bugs-list mailing list
Vinay Sajip added the comment:
The delay= is not really a workaround for this particular circumstance, it's
mainly there to avoid leaving empty files around and allocating resources that
might never be used (which is analogous to this issue, but delay was not
implemented to work around this
Josh Rosenberg added the comment:
I think you're overinterpreting. The bug probably still exists on Windows if
you're using a poorly designed anti-virus or indexing tool; nothing fundamental
has changed in how files are deleted on Windows since this was opened.
--
Eric Snow added the comment:
It's not a builtin yet, solely because we get far fewer arguments about the
contents of the types module than we do builtins :)
Exactly. As Mark noted, I did have hopes of it reaching that status though. :)
So +1 from me for adding the namespace builtin!
Philip Jenvey added the comment:
I can't find the paper trail of what I originally thought was a consensus or
even that many clear pronouncements about it, but I recall Nick being
originally opposed to it but he later changed his mind, you can see his
approval here:
Terry J. Reedy added the comment:
I sometimes have problems deleting files in Windows Explorer. Sometimes I have
to wait for reboot, sometimes I have to login as admin. None of this is a bug
in Python. The original post, nearly 9 years ago, was not obviously a Python
bug report but appears
New submission from stockbsd Li:
in py3k, the following simple code will throw an uncatched exception when
executed with pythonw:
import warnings
warnings.warn('test')
the problem occurs in showarning function: in py3k's pythonw , stderr/stdout is
set to None, so the file.write(...)
New submission from Steve Ward:
string.printable includes all whitespace characters. However, the only
whitespace character that is printable is the space (0x20).
By definition, the only ASCII characters considered printable are:
alphanumeric characters
punctuation characters
the
Steve Dower added the comment:
Small incremental patch from Zach's feedback and a few sysconfig changes I
missed.
--
Added file: http://bugs.python.org/file37392/round6incremental.patch
___
Python tracker rep...@bugs.python.org
New submission from Steve Dower:
We should include the version resource in python[w].exe as well as python35.dll
so that it can be properly identified. (If possible, we should do .pyd files
too, though I don't think the version info will be displayed, so it's probably
not worth it.)
Steve Dower added the comment:
Patch for the version info, and also for half of #19143 since I was there.
--
components: +Windows
keywords: +patch
nosy: +tim.golden, zach.ware
Added file: http://bugs.python.org/file37393/23018.patch
___
Python
Dmitry Shachnev added the comment:
Here is the updated patch based on Alexander’s suggestion.
Works fine, the only difference with previous behavior is that the zero time
zone is now + instead of -.
--
Added file: http://bugs.python.org/file37394/issue22932_v2.patch
New submission from Björn Karge:
expat.errors should expose the enum values and NOT the associated message
strings, so they can be tested against ExpatError.code
--
components: Library (Lib)
messages: 232348
nosy: bkarge
priority: normal
severity: normal
status: open
title:
62 matches
Mail list logo