Brock Mendel added the comment:
> Does using with block similar to https://bugs.python.org/issue22831 solve
> this problem?
The motivating use case uses `with codecs.open(buf, "w", encoding=encoding) as
f:`
https://github.com/pandas-dev/pandas/blob/master/pandas/io/format
New submission from Brock Mendel :
xref https://github.com/pandas-dev/pandas/pull/30034
codecs.open does `file = open(...)` before validating the encoding kwarg,
leaving the open file behind if that validation raises.
--
messages: 357811
nosy: Brock Mendel
priority: normal
severity
Dillon Brock added the comment:
Ping.
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28407>
___
___
Python-bugs-list mailing list
New submission from Dillon Brock:
There were 2 lines of email.utils.make_msgid() that were not covered (lines 202
and 204 of Lib/email/utils.py), so I wrote a quick patch to cover them.
--
components: Tests, email
files: make_msgid_coverage.patch
keywords: patch
messages: 278430
nosy
Jeremy Brock added the comment:
Hello Giampaolo,
It is the same timeout in PASV with Prot_P, please see attached documentation.
Something I did not mention before is that the file being written shows up on
the server but I can't view it because it is being used by another process.
When
New submission from Jeremy Brock:
Recently I have been working on a project to utilize the new FTP_TLS library
from ftplib in Python 2.7.3. What I found is that no matter what I try, when
prot_p() is called prior to transferring files to 2008 Server R2 running
FTP7.5, the python client
everything working to my satisfaction, but I'm
curious about how this module (and those lines in particular) were
designed to be used. Any insight would be appreciated.
Thanks,
Brock
--
http://mail.python.org/mailman/listinfo/python-list
) a variable containing the list of suffixes that are applies to the
prefixes, like lib/pythonversion/site-packages
3) a way of handing the *.pth files
Thanks in advance for the help,
Brock
--
http://mail.python.org/mailman/listinfo/python-list
will be greatly appreciated.
Many thanks,
Brock
--
http://mail.python.org/mailman/listinfo/python-list
of reference.
Many thanks!
- Brock
--
http://mail.python.org/mailman/listinfo/python-list
Google this: drawing graphs with dot dotguide.pdf
Look at page ~40ff.
Perhaps a simple script to generate graphviz input. Then let those
excellent tools do the heavy lifting.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of E. J. Gold is the Hi-Tech
Hi list. I have a little problem when using
SocketServer.ThreadingTCPServer. I want to make a list
of thread-objects generated by the
ThreadingTCPServer. How can I get the thread object?
Thank you.
I personally would first try to dump the quotes and use standard
attributes -- countries.us.Colorado... -- and the __get/set/delattr__
methods.
If I do that, the attributes (that was a stupid name for me to choose)
and children would have to not share any names with each other, with
the
If I do that, the attributes (that was a stupid name for me to
choose)
and children would have to not share any names with each other,
Since multiple objects can indeed have duplicate attribute names, and
such
duplication is rampant in Python, I am not sure what you mean.
... or something like that.
I have an XMLish data structure whose nodes' __get/set/del item__
methods resolve as:
node['foo'] - node.children['foo']
node['@bar'] - node.attributes['bar']
so you can say:
countries['us']['Colorado']['Denver']['@population']
This is going to be used in
15 matches
Mail list logo