Javier Domingo added the comment:
Yes, indeed it is. Would it be possible to reconsider this functionality? It
plays a key role when trying to rewrite full applications to async.
Rewriting the full stack of libraries at once is impossible, but the patching
can easily be done in many cases
New submission from Javier Domingo:
The current architecture of asyncio makes it really hard to combine both async
and sync code.
When porting a Thread based application to asyncio, the first step is usually
to start merging threads to the main loop, by using `run_coroutine_threadsafe
Javier Domingo added the comment:
I found this while trying to test an async context manager. This is a critical
feature to enable migrations to async code, as the impossibility to test
something properly is not acceptable in many environments.
Implementing it in a way that __call__ returns
Javier Domingo added the comment:
I know that is the problem, but that shouldn't happen! if you remove a item
from a list, that doesn't happen. That is why I tagged the error as
minidom's
El 08/01/2013 04:24, Ezio Melotti rep...@bugs.python.org escribió:
Ezio Melotti added the comment
Javier Domingo added the comment:
Ok, sorry then.
Javier Domingo
2013/1/8 Ezio Melotti rep...@bugs.python.org
Ezio Melotti added the comment:
It happens with lists too:
l = list(range(10))
for x in l:
... l.remove(x)
...
l
[1, 3, 5, 7, 9
New submission from Javier Domingo:
Hi I found something like a bug, I can't get this working:
import xml.dom.minidom as minidom
document=a
b
c /
c /
/b
/a
dom = minidom.parseString(document)
dom.childNodes
dom.childNodes[0].childNodes
dom.childNodes[0].childNodes[1
Javier Domingo added the comment:
I am currently using a subprocess with a call to xmllint to make it create a
temporal file that gets created on execution for xmllint use.
I have seen about lxml, but I wondered if there is any place in the standard
python to put xml validation
New submission from Javier Domingo:
Hi,
I am trying to find any tip on how to use minidom or etree xml implementations
to check the xml syntax.
I just found that the only way to check xml syntax throught dtds is using lxml.
Would it be possible to implement this in the minidom or ElementTree