Senthil Kumaran sent...@uthcode.com added the comment:
Keith, was your python compiled with ssl? Any extra information to reproduce
this can help. (Download 2.7.2 from python.org, do a ./configure;make and
verify if this can bug can be reproduced).
--
nosy: +orsenthil
Changes by Senthil Kumaran sent...@uthcode.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13024
___
___
Python-bugs-list
Changes by Senthil Kumaran sent...@uthcode.com:
--
assignee: - orsenthil
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12966
___
Keith Briggs kbri...@users.sourceforge.net added the comment:
Senthil: thanks for the reply. That's how I did build python 2.7.2 anyway.
But I can't see anything about SSL in the generated config files.However,
on another system (Fedora 15 with python 2.7.1), I don't get the problem.
Paulie Pena paul...@gmail.com added the comment:
RFC 2109's Section 4.1 Syntax: General (http://www.ietf.org/rfc/rfc2109.txt)
states that the attributes and values should be tokens, which the define as
(informally, a sequence of non-special, non-white space characters) from the
HTTP/1.1
Ezio Melotti ezio.melo...@gmail.com added the comment:
If the function is public I guess that some external module might use it, and
possibly pass a wrong argument that triggers the leak.
--
nosy: +ezio.melotti
___
Python tracker
Meador Inge mead...@gmail.com added the comment:
If the function is public I guess that some external module
might use it
Agreed; That is the only case I could deduce as well, which I hinted at
in msg144397. So, I will leave the error check and keep the function
public for now.
I will
Christoph Schindler h...@30hopsmax.at added the comment:
The doc string refers to string instead of byte string as well.
--
nosy: +hop
Added file: http://bugs.python.org/file23245/subprocess_doc_string.diff
___
Python tracker rep...@bugs.python.org
New submission from Carl Meyer c...@dirtcircle.com:
As discussed at
http://groups.google.com/group/the-fellowship-of-the-packaging/browse_frm/thread/3b7a8ddd307d1020
, distutils2 should not allow a distribution to install files into a top-level
package that is already installed from a
Larry Hastings la...@hastings.org added the comment:
Mark Dickinson wrote:
I think this could work.
could? Oh ye of little faith!
Attached is a patch against a nice fresh trunk (2b47f0146639) that adds Decimal
attributes ctime, mtime, and atime to the object returned by os.stat().
The
Brett Cannon br...@python.org added the comment:
It's probably not a bad thing it's undocumented either since importing by file
path was removed in Python 3, so this is another case where imp.find_module()
differentiates from __import__.
--
___
Brett Cannon br...@python.org added the comment:
I don't think this is undocumented as much as it's unexpected behavior. I
really doubt this functionality was on purpose.
--
___
Python tracker rep...@bugs.python.org
Brett Cannon br...@python.org added the comment:
I'm w/ Ezio on this; imp.find_module() handling modules whose names can't be
used by __import__() is fine.
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
By it crashes on the invalid line do you mean Python raises an exception,
prints a traceback, and exits? Or does it seqfault, dump core, or the Windows
equivavlent?
--
___
Python tracker
Paulie Pena paul...@gmail.com added the comment:
Sorry, by crash I did mean that it raised an exception. My program wasn't
expecting cookielib to fail while reading a cookie file that it had written, so
I didn't wrap the code to read the cookie file in a try..except. I would
imagine that
Terry J. Reedy tjre...@udel.edu added the comment:
It would be better to raise an exception* upon receiving a cookie. On the other
hand, I presume cookies are stored in files that any process can mess with, so
reading failures are always a possibility. So if you want to catch a (very
rare)
Paulie Pena paul...@gmail.com added the comment:
OK, I'll wrap it in a try-except. Do you think the documentation should
updated to make users aware of this possible problem?
Thanks,
Paulie
--
___
Python tracker rep...@bugs.python.org
17 matches
Mail list logo