Le mercredi 8 janvier 2014 20:00:02 UTC+1, Bischoop a écrit :
Walter Hurry wrote:
On Mon, 30 Dec 2013 18:38:20 +, Bischoop wrote:
I have a txt file with some words, and need simply program that will
print me words containing provided letters.
For example:
Roy Smith r...@panix.com writes:
In article mailman.5231.1389240235.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
On Thu, Jan 9, 2014 at 2:35 PM, Roy Smith r...@panix.com wrote:
Yes, it *is* simple. It *is* easy. I've been working with pure-UTC
times (either called
On 09/01/2014 01:27, Roy Smith wrote:
In article laknps$umv$1...@dont-email.me,
Kevin Walzer k...@codebykevin.com wrote:
I haven't updated my Python apps to 3.x because there's nothing in 3.x
that offers benefits to my users.
I almost found a reason to move to Python 3 today. Then I got
On 09/01/2014 06:06, Kushal Kumaran wrote:
My local copy of the python 3.2.3 docs says:
classmethod datetime.utcnow()
Return the current UTC date and time, with tzinfo None. This is like
now(), but returns the current UTC date and time, as a naive
datetime object. An aware
Kushal Kumaran kushal.kuma...@gmail.com writes:
Roy Smith r...@panix.com writes:
How, in Python, do you get an aware UTC datetime object?
My local copy of the python 3.2.3 docs says:
classmethod datetime.utcnow()
Return the current UTC date and time, with tzinfo None. This is
Ben Finney ben+pyt...@benfinney.id.au writes:
Kushal Kumaran kushal.kuma...@gmail.com writes:
Roy Smith r...@panix.com writes:
How, in Python, do you get an aware UTC datetime object?
My local copy of the python 3.2.3 docs says:
classmethod datetime.utcnow()
Return the current UTC
On 09/01/2014 09:03, Ben Finney wrote:
Kushal Kumaran kushal.kuma...@gmail.com writes:
Roy Smith r...@panix.com writes:
How, in Python, do you get an aware UTC datetime object?
My local copy of the python 3.2.3 docs says:
classmethod datetime.utcnow()
Return the current UTC date and
jeremiahvalerio...@gmail.com wrote:
Hi, hows it going I've been self teaching myself python, and i typed up
this small script now i know its not the best the coding is not the best
but i would like to know of ways to make a small script like this better
so all constructive critisim is
Thanks for that. I will have a play and see how I can apply your example.
On 07/01/2014, at 11:19 PM, Jean-Michel Pichavant jeanmic...@sequans.com
wrote:
- Original Message -
Thanks for that. It resolved the issue and it was so simple compared
to everything else I saw on the net.
Autobahn now also supports asyncio on Python 2!
https://github.com/tavendo/AutobahnPython#python-support
This is made possible by Trollius, an awesome backport of asyncio:
https://pypi.python.org/pypi/trollius/0.1.2
-Ursprüngliche Nachricht-
Von: Python-list [mailto:python-list-
Kushal Kumaran kushal.kuma...@gmail.com writes:
Yes, but the documentation for utcnow explicitly tells you how to get
an aware object.
An aware current UTC datetime can be obtained by calling
datetime.now(timezone.utc).
And in Python 2.7 you can just copy the definition of utc from the
On Wed, 08 Jan 2014 19:49:40 -0800, Dan Stromberg wrote:
The third quote, from Brian Kernighan, seems to underestimate the
complexity of asynchronous programming in the large - it's probably not
just twice as hard.
Perhaps it should be rephrased as at least twice as hard
It really does pay
Hi all,
I'm using python gtk to upload file to S3 service by boto API ,
GUI struck when uploading file and releases the GUI after completed download
I'm using thread to show progress of upload in GUI but it struck.
Can you some suggestion how to show progress of upload in GUI or any
spinner until
On Thu, 09 Jan 2014 07:17:25 +, Mark Lawrence wrote:
On 09/01/2014 04:14, Chris Angelico wrote:
On Thu, Jan 9, 2014 at 2:54 PM, Ben Finney ben+pyt...@benfinney.id.au
wrote:
I'm approaching it with the goal of knowing better what I'm talking
about when I advocate scrapping the whole DST
Kushal Kumaran kushal.kuma...@gmail.com writes:
Ben Finney ben+pyt...@benfinney.id.au writes:
Kushal Kumaran kushal.kuma...@gmail.com writes:
Roy Smith r...@panix.com writes:
How, in Python, do you get an aware UTC datetime object?
classmethod datetime.utcnow()
Return the
Chris Angelico ros...@gmail.com writes:
On Thu, Jan 9, 2014 at 2:34 PM, Ben Finney ben+pyt...@benfinney.id.au wrote:
[ a bunch of stuff that I totally agree with ]
No response needed here :)
So I was wrong on the specific example of .today(), but asking the
question the other way is at
In article mailman.5244.1389254198.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
What can you (Roy), with your use-case, achieve with datetime that
you can't achieve (at least reasonably easily) with a timestamp?
As I'm mentioned several times, when you print a
On Fri, Jan 10, 2014 at 1:06 AM, Piet van Oostrum p...@vanoostrum.org wrote:
Chris Angelico ros...@gmail.com writes:
On Thu, Jan 9, 2014 at 2:34 PM, Ben Finney ben+pyt...@benfinney.id.au
wrote:
With time zones, as with text encodings, there is a single technically
elegant solution (for
In article mailman.5259.1389278063.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
Actually, the nearest parallel to Unicode is probably use UTC
everywhere, which makes for a superb internal representation and
transmission format, but bugs most human beings :)
It is, by
In article mailman.5257.1389274514.18130.python-l...@python.org,
Ben Finney ben+pyt...@benfinney.id.au wrote:
Kushal Kumaran kushal.kuma...@gmail.com writes:
Ben Finney ben+pyt...@benfinney.id.au writes:
Kushal Kumaran kushal.kuma...@gmail.com writes:
Roy Smith r...@panix.com
On Fri, Jan 10, 2014 at 1:14 AM, Roy Smith r...@panix.com wrote:
In article mailman.5244.1389254198.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
What can you (Roy), with your use-case, achieve with datetime that
you can't achieve (at least reasonably easily) with a
On Thu, 09 Jan 2014 09:14:22 -0500, Roy Smith wrote:
Oh, and another thing I can do with a datetime that I can't do with a
unix timestamp. I can represent the day I was born.
At the risk of dating myself, the day I was born is -231094800.
Dan
--
On 2014-01-09 11:53, Prapulla Kumar wrote:
Hi all,
I'm using python gtk to upload file to S3 service by boto API ,
GUI struck when uploading file and releases the GUI after completed download
I'm using thread to show progress of upload in GUI but it struck.
Can you some suggestion how to show
On Fri, Jan 10, 2014 at 2:01 AM, Dan Sommers d...@tombstonezero.net wrote:
On Thu, 09 Jan 2014 09:14:22 -0500, Roy Smith wrote:
Oh, and another thing I can do with a datetime that I can't do with a
unix timestamp. I can represent the day I was born.
At the risk of dating myself, the day I
On Thu, Jan 9, 2014 at 5:20 AM, Florian Lindner mailingli...@xgm.de wrote:
def norm_path(*parts):
Returns the normalized, absolute, expanded and joined path, assembled
of all parts.
parts = [ str(p) for p in parts ]
return
On Friday, 23 November 2001 04:13:40 UTC+5:30, MANUEL FERNANDEZ PEREZ
wrote:
Hello,
I'm looking for an editor for Python.I' m interested it works on
Windows.Can
anybody help me?
It's an IDE rather than just an editor but how about PyCharm 3 Community
Edition? [1]
[1]
On Thu, 9 Jan 2014 15:14:55 +1100, Chris Angelico ros...@gmail.com
wrote:
[1] For those who aren't right up on timezone trivia, AZ has no DST.
Similarly the Australian state of Queensland does not shift its
clocks.
And Indiana.
--
DaveA
--
https://mail.python.org/mailman/listinfo/python-list
- Original Message -
On Jan 8, 2014, at 10:53 AM, Jean-Michel Pichavant
jeanmic...@sequans.com wrote:
-- IMPORTANT NOTICE:
too late you have sent this to a public forum
No pb with that, the python list is the intended recipient :)
I tried to negotiate this with my
Hi,
I have a script (https://github.com/mcepl/gg_scraper) where I need to
read possibly malformed mbox messages. I use subprocess.Popen() and
/usr/bin/formail to clean up them to be correct mbox messages (with
correct leading From line etc.). Now I try to run tests for my script on
Travis-CI,
On Thursday, January 9, 2014 9:57:57 AM UTC-5, Chris Angelico wrote:
And months are more
complicated still, so it's probably easiest to use strftime:
time.strftime(%Y%m,time.gmtime(ts))
'201401'
strftime is a non-starter at far as easy goes. I don't know about you, but I
certainly
On 09/01/2014 16:21, Roy Smith wrote:
No, it would be solved by a built-in method. Recipes are a cop-out. If
something is complicated enough to require a recipe, and used frequently enough
to be worth writing that recipe up and documenting it, you might as well have
gone the one additional
On 09/01/2014 16:30, Mark Lawrence wrote:
On 09/01/2014 16:21, Roy Smith wrote:
No, it would be solved by a built-in method. Recipes are a cop-out.
If something is complicated enough to require a recipe, and used
frequently enough to be worth writing that recipe up and documenting
it, you
and %s (which is incredibly useful) is not even documented (I suspect it's
also not available on all platforms).
The format specifiers available to Python are just whatever is available to the
underlying c time.h.
The manpage for strftime indicates that %s isn't part of the C standard, but
On 09/01/2014 16:42, Nick Cash wrote:
and %s (which is incredibly useful) is not even documented (I suspect it's
also not available on all platforms).
The format specifiers available to Python are just whatever is available to the
underlying c time.h.
The manpage for strftime indicates that
On 01/09/2014 12:42 AM, Mark Lawrence wrote:
On 09/01/2014 01:27, Roy Smith wrote:
Naive datetimes are what everybody uses. It's what utcnow() gives you.
So why make life difficult for everybody? Python 3 didn't win a convert
today.
Yep, dates and times are easy. That's why there are 17
Chris Angelico ros...@gmail.com writes:
On Fri, Jan 10, 2014 at 1:06 AM, Piet van Oostrum p...@vanoostrum.org wrote:
Chris Angelico ros...@gmail.com writes:
On Thu, Jan 9, 2014 at 2:34 PM, Ben Finney ben+pyt...@benfinney.id.au
wrote:
With time zones, as with text encodings, there is a
On 01/09/2014 06:57 AM, Chris Angelico wrote:
On Fri, Jan 10, 2014 at 1:14 AM, Roy Smith r...@panix.com wrote:
Thanks for this collection! Now we can discuss.
[snip]
Datetimes are self-describing. If I have a datetime or a timedelta, I
know what I've got. I've written more than one bug
I wrote:
Recipes are a cop-out
On Thursday, January 9, 2014 11:30:31 AM UTC-5, Mark Lawrence wrote:
So all of the itertools recipes should be part of the Python module and
not in more-itertools on pypi?
Certainly, the recipes that are documented on the official itertools page, yes.
--
Ned Batchelder n...@nedbatchelder.com writes:
On 1/8/14 11:08 AM, wxjmfa...@gmail.com wrote:
Byte strings (encoded code points) or native unicode is one
thing.
But on the other side, the problem is elsewhere. These very
talented ascii narrow minded, unicode illiterate devs only
succeded to
On 01/09/2014 09:05 AM, Piet van Oostrum wrote:
Ned Batchelder n...@nedbatchelder.com writes:
On 1/8/14 11:08 AM, wxjmfa...@gmail.com wrote:
Byte strings (encoded code points) or native unicode is one
thing.
But on the other side, the problem is elsewhere. These very
talented ascii narrow
On 09/01/2014 16:01, Ethan Furman wrote:
On 01/09/2014 12:42 AM, Mark Lawrence wrote:
On 09/01/2014 01:27, Roy Smith wrote:
Naive datetimes are what everybody uses. It's what utcnow() gives you.
So why make life difficult for everybody? Python 3 didn't win a convert
today.
Yep, dates and
On 09/01/2014 17:07, Roy Smith wrote:
I wrote:
Recipes are a cop-out
On Thursday, January 9, 2014 11:30:31 AM UTC-5, Mark Lawrence wrote:
So all of the itertools recipes should be part of the Python module and
not in more-itertools on pypi?
Certainly, the recipes that are documented on the
On 01/09/2014 10:18 AM, Mark Lawrence wrote:
On 09/01/2014 16:01, Ethan Furman wrote:
On 01/09/2014 12:42 AM, Mark Lawrence wrote:
On 09/01/2014 01:27, Roy Smith wrote:
Naive datetimes are what everybody uses. It's what utcnow() gives you.
So why make life difficult for everybody? Python 3
On 01/09/2014 10:20 AM, Mark Lawrence wrote:
On Thursday, January 9, 2014 11:30:31 AM UTC-5, Mark Lawrence wrote:
So all of the itertools recipes should be part of the Python module and
not in more-itertools on pypi?
Certainly, the recipes that are documented on the official itertools page,
09.01.14 19:28, Ethan Furman написав(ла):
On 01/09/2014 09:05 AM, Piet van Oostrum wrote:
Please ignore jmf's repeated nonsense.
Or ban him. His one, minor, contribution has been completely swamped by
the rest of his belligerent, unfounded, refuted posts.
Please not. I have a fun from
So I'm working with postgres, and I get a datadump which I try to restore to my
test system, and I get this:
ERROR: value too long for type character varying(4)
CONTEXT: COPY res_currency, line 32, column symbol: руб
py6 sure looks like it should fit, but it don't. Further investigation
Ethan Furman wrote:
So I'm working with postgres, and I get a datadump which I try to restore
to my test system, and I get this:
ERROR: value too long for type character varying(4)
CONTEXT: COPY res_currency, line 32, column symbol: руб
py6 sure looks like it should fit, but it don't.
On Thursday, January 9, 2014 3:56:37 AM UTC-6, Peter Otten wrote:
jeremiahvalerio...@gmail.com wrote:
Hi, hows it going I've been self teaching myself python, and i typed up
this small script now i know its not the best the coding is not the best
but i would like to know of ways
On Fri, Jan 10, 2014 at 3:21 AM, Roy Smith r...@panix.com wrote:
On Thursday, January 9, 2014 9:57:57 AM UTC-5, Chris Angelico wrote:
And months are more
complicated still, so it's probably easiest to use strftime:
time.strftime(%Y%m,time.gmtime(ts))
'201401'
strftime is a non-starter at
On 01/09/2014 10:49 AM, Ethan Furman wrote:
So I'm working with postgres, and I get a datadump which I try to restore to my
test system, and I get this:
ERROR: value too long for type character varying(4)
CONTEXT: COPY res_currency, line 32, column symbol: руб
py6 sure looks like it should
On Fri, Jan 10, 2014 at 3:51 AM, Piet van Oostrum p...@vanoostrum.org wrote:
I don't know how other countries do it, but here, when the clock goes back,
it goes from 03:00 to 02:00. So I wonder how they communicate when your plane
leaves at 02:30 in that night. Which 02:30? In that case using
On 01/08/2014 11:56 PM, jeremiahvalerio...@gmail.com wrote:
Hi, hows it going I've been self teaching myself python, and i typed up this
small script now i know its not the best the coding is not the best but i would
like to know of ways to make a small script like this better so all
On Fri, Jan 10, 2014 at 6:51 AM, Ethan Furman et...@stoneleaf.us wrote:
The problem was I had created the database from template0 instead of
template1, and 0 is SQL-ASCII while 1 is UTF8.
Ah, this is one of the traps with Postgres. This is one of the reasons
I prefer not to touch template[01]
On Thursday, January 9, 2014 3:35:05 PM UTC-5, Chris Angelico wrote:
In fact, I've given end users the ability to enter strftime strings (eg
to construct a filename), and it's worked just fine.
I assume you realize that
../../../../../../../../../../../../../../../../etc/passwd is a valid
On Thursday, January 9, 2014 2:54:44 PM UTC-6, Christopher Welborn wrote:
On 01/08/2014 11:56 PM, jeremiahvalerio...@gmail.com wrote:
Hi, hows it going I've been self teaching myself python, and i typed up
this small script now i know its not the best the coding is not the best
but i
On Fri, Jan 10, 2014 at 7:54 AM, Roy Smith r...@panix.com wrote:
On Thursday, January 9, 2014 3:35:05 PM UTC-5, Chris Angelico wrote:
In fact, I've given end users the ability to enter strftime strings (eg
to construct a filename), and it's worked just fine.
I assume you realize that
On Thu, Jan 9, 2014 at 10:50 AM, Jean-Michel Pichavant
jeanmic...@sequans.com wrote:
- Original Message -
On Jan 8, 2014, at 10:53 AM, Jean-Michel Pichavant
jeanmic...@sequans.com wrote:
I tried to negotiate this with my IT guys, but it looks like it's
now mandatory, something
This is kind of surprising. I'm running Python 2.7.1. I've got a class
with a staticmethod that I want to monkeypatch with a lambda:
--
class Foo:
@staticmethod
def x():
return 1
Foo.x = lambda: 2
print Foo.x()
--
On 01/09/2014 08:15 AM, MRAB wrote:
On 2014-01-09 11:53, Prapulla Kumar wrote:
Hi all,
I'm using python gtk to upload file to S3 service by boto API ,
GUI struck when uploading file and releases the GUI after completed download
I'm using thread to show progress of upload in GUI but it struck.
On Thu, Jan 9, 2014 at 10:23 PM, Roy Smith r...@panix.com wrote:
This is kind of surprising. I'm running Python 2.7.1. I've got a class
with a staticmethod that I want to monkeypatch with a lambda:
--
class Foo:
@staticmethod
def x():
in 714232 20140109 120741 Alister alister.w...@ntlworld.com wrote:
On Thu, 09 Jan 2014 07:17:25 +, Mark Lawrence wrote:
On 09/01/2014 04:14, Chris Angelico wrote:
On Thu, Jan 9, 2014 at 2:54 PM, Ben Finney ben+pyt...@benfinney.id.au
wrote:
I'm approaching it with the goal of knowing
New submission from Ryan Smith-Roberts:
socket.sendto is apparently even weirder than addch or range: the optional
argument is in the *middle*. Attempting this configuration gets me:
Function sendto has an unsupported group configuration. (Unexpected state 5)
An expected unexpected
Vajrasky Kok added the comment:
Okay, this is my second attempt. I want to get METH_VARGS but I always get
METH_O for positional parameters. Is there any way to circumvent this? The
documentation does not cover this.
--
Added file:
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - eli.bendersky
dependencies: +Add docstrings for ElementTree module
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20159
New submission from Serhiy Storchaka:
In 3.4 pydoc fails for the TkappType and TkttType names in the _tkinter module.
$ ./python -m pydoc _tkinter.TkappType
Traceback (most recent call last):
File /home/serhiy/py/cpython/Lib/runpy.py, line 189, in _run_module_as_main
__main__, mod_spec)
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +brett.cannon, eric.snow, ncoghlan
priority: normal - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20204
___
Stefano Lattarini added the comment:
Since I too was bitten by this issue, I'd like to support Gregory's
request, and report my rationale for changing the current behaviour.
With the current behaviour, we could see (and I *have* seen) scenarios
like this:
1. A test exposing a known
Roundup Robot added the comment:
New changeset 0cf1defd5ac4 by Serhiy Storchaka in branch '3.3':
Issue #20078: Reading malformed zipfiles no longer hangs with 100% CPU
http://hg.python.org/cpython/rev/0cf1defd5ac4
New changeset 79ea4ce431b1 by Serhiy Storchaka in branch 'default':
Issue #20078:
New submission from Stefan Müller:
Following situation
* python 2.7.6
* module loaded via a PEP302 loader.
* the loader has get_source(fullname)
* assigns a dummy string as a file: module.__file__ == mymodule
Then
inspect.getsource(module)
throws
IOError: could not get source code
I
New submission from Andras Timar:
Try this sample script:
# coding=utf-8
import email
import email.charset
import email.message
c = email.charset.Charset('utf-8')
c.body_encoding = email.charset.QP
m = email.message.Message()
m.set_payload(This is a Greek letter upsilon: υ, c)
Milap Bhojak added the comment:
hope it will fix that issue
--
nosy: +milap.py
versions: +Python 2.7 -Python 3.3
Added file: http://bugs.python.org/file33376/email.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20206
Martin Häcker added the comment:
Sorry, I got the title wrong on the first try. (Already corrected).
I think the problem is that the API of dict.keys() is surprising. One gets back
something that behaves like a list, the name 'keys' suggests that it is a list
and for lists there is no
Meador Inge added the comment:
I will pick this one up.
--
assignee: - meador.inge
nosy: +meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20178
___
Alan Hourihane added the comment:
Anyone ?
--
resolution: - remind
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19346
___
___
Python-bugs-list
Changes by Alan Hourihane al...@fairlite.co.uk:
--
resolution: - remind
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19036
___
___
Alan Hourihane added the comment:
Anyone ?
--
resolution: - remind
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19348
___
___
Python-bugs-list
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20205
___
___
R. David Murray added the comment:
This is a bug in quoprimime.body_encode. If you put a newline on the end of
your string, it will work as expected.
The patch in issue 5803 does not have the bug, so I'll probably just apply that
to both 3.3 and 3.4.
--
components: +email
Stefan Krah added the comment:
Thanks, this is working here for the parameters. Is there a way to
specify the return annotation manually in the docstring?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20189
Stefan Krah added the comment:
The patch looks correct to me. locale.h is at least C99 (I don't have the
earlier standards).
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19036
STINNER Victor added the comment:
dict.keys() has been changed 5 years ago, when Python 3 was created.
dict.keys() is now a nice read-only view of dictionary keys. When the
dictionary is updated, the view is also updated. See the
documentation:
Roundup Robot added the comment:
New changeset 1bdcaf6c0eb5 by Serhiy Storchaka in branch '3.3':
Issue #18960: Fix bugs with Python source code encoding in the second line.
http://hg.python.org/cpython/rev/1bdcaf6c0eb5
New changeset 04c05e408cbd by Serhiy Storchaka in branch 'default':
Issue
New submission from Alex Gaynor:
SSLv2 has numerous security issues, and thus is in limited use on the web.
Continuing to allow SSLv2 handshakes only serves to limit security.
--
components: Library (Lib)
messages: 207748
nosy: alex
priority: normal
severity: normal
status: open
title:
Donald Stufft added the comment:
+1
--
nosy: +dstufft
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20207
___
___
Python-bugs-list mailing list
Changes by Christian Heimes li...@cheimes.de:
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20207
___
___
Antoine Pitrou added the comment:
Here is a patch. Can someone try it with a non-patched OpenSSL? (e.g. OS X)
--
keywords: +patch
Added file: http://bugs.python.org/file33377/no_sslv2.patch
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
Note that this probably would have to be applied to 3.x too, for consistency.
--
versions: +Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20207
Alex Gaynor added the comment:
Yes, OP_NO_SSLv2 should be used by default.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20207
___
___
Antoine Pitrou added the comment:
(by trying, I mean at least ./python -m test.regrtest -unetwork -v test_ssl)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20207
___
Alex Gaynor added the comment:
I can confirm the tests pass on OS X and it's possible to open a connection to
howsmyssl.com
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20207
___
New submission from Brett Cannon:
Reported on my G+ share of the latest reworking:
The only part I found confusing is when you first introduce from _future_
import unicode_literals --- it looks like you forgot to explain what it does.
It turns out that you explain it somewhat two paragraphs
Serhiy Storchaka added the comment:
Now traceback test is failed.
http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.3/builds/1358/steps/test/logs/stdio
==
FAIL: test_encoded_file
Changes by Brian Morrow bmorro...@gmail.com:
--
nosy: +bmorrow92
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20175
___
___
Python-bugs-list
Changes by Dmitry Shachnev mity...@gmail.com:
--
nosy: +mitya57
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20208
___
___
Python-bugs-list
Larry Hastings added the comment:
Yes, it's just Python syntax, so you'd use -. However, you are not
permitted to according to PEP 8:
The Python standard library will not use function annotations as that would
result in a premature commitment to a particular annotation style.
--
Alex Gaynor added the comment:
I'm not sure this is needed on Python 3, it already has:
http://hg.python.org/cpython/file/default/Lib/ssl.py#l388
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20207
Antoine Pitrou added the comment:
I'm not sure this is needed on Python 3, it already has:
http://hg.python.org/cpython/file/default/Lib/ssl.py#l388
It doesn't get executed when you create a SSLContext directly, though.
--
___
Python tracker
New submission from Antoine Pitrou:
It sounds like we may deprecate PROTOCOL_SSLv2 in 3.5.
--
components: Library (Lib)
messages: 207762
nosy: christian.heimes, giampaolo.rodola, janssen, pitrou
priority: low
severity: normal
status: open
title: Deprecate PROTOCOL_SSLv2
type: behavior
Hynek Schlawack added the comment:
I’m +1 too since supporting it serves no other purpose then enabling downgrade
attacks. Shipping a client with SSL 2 on is nothing short a security bug.
--
nosy: +hynek
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
Please qualify the request a bit: do you mean something should be done in the
ssl module? One solution is to add OP_NO_SSLv2 when the user asks for a
PROTOCOL_SSLv23 socket. Is it what you mean?
--
nosy: +pitrou
type: - behavior
1 - 100 of 201 matches
Mail list logo