Ibad Kureshi U0850037 u0850...@hud.ac.uk writes:
I am bit new to python and am struggling to install NumPy and SciPy on to
Python 2.7. Based on my understanding I believe that the problem is with my
Python install rather than the way I am installing NumPy. I have seen only
two other
Dave Angel da...@davea.name wrote:
The decorator function will execute while *compiling* the class A, and
the one in class B is unreferenced.
No, the decorator function is called when *executing* the class body of A.
Compilation could have happened weeks earlier.
It really does make it a
It Is Not Just A Religion
This brief video shows the truth about religion Islam, it clarifies
the doubts that were put forward by people of other faiths and
religions
http://youtube.googleapis.com/v/Bj5kozRnxPw?rel=0
thank you
--
http://mail.python.org/mailman/listinfo/python-list
On Sunday, February 3, 2013 10:35:30 PM UTC-6, Steven D'Aprano wrote:
On Sun, 03 Feb 2013 17:08:47 -0800, Saul Spatz wrote:
I don't understand what's going on at all. Can't I dynamically define
__getattr__? How should I go about it?
Special dunder methods (DoubleUNDERscore)
Hi,
experimenting with zmq. I like to start/stop/restart
n independent subscriber with one deamon service in Python.
How I should adapt a common daemon class in python?
Thanks for a starting point
Christian
--
http://mail.python.org/mailman/listinfo/python-list
Saul Spatz wrote:
Now I have another question. If dunder methods are looked up only in the
class, not the instance, why did defining __nonzero__ the way I did work?
Shouldn't I have had to define it with a def? Is __nonzero__ a special
case?
Unfortunately the situation is a bit more
Dennis Lee Bieber wrote:
Untested:
SELECT DISTINCT * from
(select homenr as nr, home as club FROM Runde20122013
WHERE place=karlsruhe
UNION SELECT guestnr as nr, guest as club FROM 20122013
WHERE place=karlsruhe)
limit 10
Hi
Peter Otten wrote:
Saul Spatz wrote:
Now I have another question. If dunder methods are looked up only in the
class, not the instance, why did defining __nonzero__ the way I did work?
Shouldn't I have had to define it with a def? Is __nonzero__ a special
case?
Unfortunately the
This isn't particularly related to the post I'm quoting, it's more a
point of curiosity.
On Mon, Feb 4, 2013 at 10:53 AM, João Bernardo jbv...@gmail.com wrote:
Re: [Python-ideas] constant/enum type in stdlib
I have my own implementation with a basic api somewhat borrowed from
flufl.enum (plus a
On 02/04/2013 09:30 AM, Steffen Mutter wrote:
snip
359|TV Calmbach
21101|SG Heidel/Helm
21236|JSG Neuth/Büch
23108|TG Eggenstein
23108|TGEggenstein 2 -
23109|TV Ettlingenw
23109|TV Ettlingenw 2 -
23112|TSV Jöhlingen
23112|TSV Jöhlingen 2 -
23112|TSV Jöhlingen 3 -
Still not like what I'm looking
On Feb 4, 10:10 am, Chris Angelico ros...@gmail.com wrote:
This isn't particularly related to the post I'm quoting, it's more a
point of curiosity.
On Mon, Feb 4, 2013 at 10:53 AM, João Bernardo jbv...@gmail.com wrote:
Re: [Python-ideas] constant/enum type in stdlib
I have my own
Steffen Mutter wrote:
Dennis Lee Bieber wrote:
Untested:
SELECT DISTINCT * from
(select homenr as nr, home as club FROM Runde20122013
WHERE place=karlsruhe
UNION SELECT guestnr as nr, guest as club FROM 20122013
WHERE place=karlsruhe)
limit 10
Hi Dennis,
here the output of your
On Feb 4, 2013 4:27 PM, nn prueba...@latinmail.com wrote:
On Feb 4, 10:10 am, Chris Angelico ros...@gmail.com wrote:
This isn't particularly related to the post I'm quoting, it's more a
point of curiosity.
On Mon, Feb 4, 2013 at 10:53 AM, João Bernardo jbv...@gmail.com wrote:
Re:
Thanks, Peter. I realize this is getting sort of academic now, as I know how
to do exactly what I want, but I'm still confused. Is __getattr__ a special
case then, even for classic classes?
class Adder(): # python 2.7, classic class
def __init__(self, x):
self.x = x
Looking for a new Pelican theme? Look no further than
https://github.com/demianbrecht/pelican-bold
Still a little rough around the edges, feel free to fork and contribute.
(Using it for my personal blog, and yes, I'm very much aware that the
content needs some lovin' :))
Demian Brecht
Saul Spatz wrote:
Thanks, Peter. I realize this is getting sort of academic now, as I know
how to do exactly what I want, but I'm still confused. Is __getattr__ a
special case then, even for classic classes?
Well, it never occured to me to try a per-instance __getattr__(), but you
are
Jabba Laci jabba.l...@gmail.com wrote:
Hi,
I'd like to set autoflush on/off in my script. I have a loop that is
checking something and every 5 second I want to print a '.' (dot). I
do it with sys.stdout.write and since there is no newline, it is
buffered and not visible immediately.
My
Am 04.02.2013 18:12, schrieb Jabba Laci:
autoflush_on = False
def unbuffered():
Switch autoflush on.
global autoflush_on
# reopen stdout file descriptor with write mode
# and 0 as the buffer size (unbuffered)
if not autoflush_on:
sys.stdout =
On 2/4/2013 10:10 AM, Chris Angelico wrote:
This isn't particularly related to the post I'm quoting, it's more a
point of curiosity.
On Mon, Feb 4, 2013 at 10:53 AM, João Bernardo jbv...@gmail.com wrote:
Re: [Python-ideas] constant/enum type in stdlib
I have my own implementation with a basic
On Tue, Feb 5, 2013 at 7:50 AM, Terry Reedy tjre...@udel.edu wrote:
I have mostly followed pydev since it began, and as far as I know, it is
Barry's private joke, perhaps developed in private conversations.
Thanks Terry, Simon. I'll listen to that tonight when I get a chance
(no way I can
On 2/4/2013 12:12 PM, Jabba Laci wrote:
Hi,
I'd like to set autoflush on/off in my script. I have a loop that is
checking something and every 5 second I want to print a '.' (dot). I
do it with sys.stdout.write and since there is no newline, it is
buffered and not visible immediately. I have
For the life of me I cant figure out why this exception is being thrown.
How could I use pdb to debug this?
$ python udp_local2.py server
File udp_local2.py, line 36
except:
^
SyntaxError: invalid syntax
#!/usr/bin/env python
import random, socket, sys
s =
On Tue, Feb 5, 2013 at 8:49 AM, Rodrick Brown rodrick.br...@gmail.com wrote:
if delay 2.0:
raise RuntimeError('I think the server is down')
except:
raise
else:
break
I think you have an indentation error
Dennis Lee Bieber wrote:
I suspect you have a poorly normalized database (what does that
trailing number identify? Heck, are the leading initials unique to the
subsequent name?). The trailing number should probably be something
stored as a separate field. If the initials are unique,
Rodrick Brown wrote:
For the life of me I cant figure out why this exception is being thrown.
How could I use pdb to debug this?
$ python udp_local2.py server
File udp_local2.py, line 36
except:
^
SyntaxError: invalid syntax
You can't use pdb to debug it, because you
Should it not be try-except-else' instead of 'if-except-else'?
try:
if delay 2.0:
raise RuntimeError('I think the server is down')
except:
raise
else:
break
On Mon, Feb 4, 2013 at 5:21 PM,
The eternal conflict between Look Before You Leap and Easier to Ask for
Forgiveness than Permission (LBYL vs EAFP) continues...
I want to check that a value is a number. Let's say I don't care what sort
of number -- float, int, complex, Fraction, Decimal, something else -- just
that it is a
On Tue, Feb 5, 2013 at 10:16 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
A third option is not to check x at all, and hope that it will blow up at
some arbitrary place in the middle of my code rather than silently do the
wrong thing. I don't like this idea because, even if
On Feb 4, 2013 4:24 PM, Steven Dapos;Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
The eternal conflict between Look Before You Leap and Easier to Ask for
Forgiveness than Permission (LBYL vs EAFP) continues...
I want to check that a value is a number. Let's say I don't care what sort
On 02/04/2013 06:38 PM, Chris Angelico wrote:
On Tue, Feb 5, 2013 at 10:16 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
A third option is not to check x at all, and hope that it will blow up at
some arbitrary place in the middle of my code rather than silently do the
wrong
Hi,
Thanks for the answers. I like the context manager idea but setting
the sys.stdout back to the original value doesn't work.
Example:
class Unbuff(object):
def __init__(self):
self.stdout_bak = sys.stdout
def __enter__(self):
sys.stdout.flush()
sys.stdout =
On Tue, Feb 5, 2013 at 10:16 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
from numbers import Number
if isinstance(x, Number):
...
else:
raise TypeError
or Ask Forgiveness:
x + 0
...
where in both cases the ellipsis ... is the
On 02/04/2013 03:16 PM, Steven D'Aprano wrote:
The eternal conflict between Look Before You Leap and Easier to Ask for
Forgiveness than Permission (LBYL vs EAFP) continues...
I want to check that a value is a number. Let's say I don't care what sort
of number -- float, int, complex, Fraction,
On Mon, Feb 4, 2013, at 04:49 PM, Rodrick Brown wrote:
For the life of me I cant figure out why this exception is being thrown.
How could I use pdb to debug this?
$ python udp_local2.py server
File udp_local2.py, line 36
except:
^
SyntaxError: invalid syntax
On 4 February 2013 23:16, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
I want to check that a value is a number. Let's say I don't care what sort
of number -- float, int, complex, Fraction, Decimal, something else -- just
that it is a number. Should I:
Look Before I Leap:
On Tue, Feb 5, 2013 at 4:29 AM, Saul Spatz saul.sp...@gmail.com wrote:
class Adder(): # python 2.7, classic class
Why does this work for __add__ and not for __getattr__?
Is this a case of why bother trying to understand it, just use
new-style classes? They do make more sense in
On Tue, 05 Feb 2013 10:38:41 +1100, Chris Angelico wrote:
On Tue, Feb 5, 2013 at 10:16 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
A third option is not to check x at all, and hope that it will blow up
at some arbitrary place in the middle of my code rather than silently
I need to pick up a language that would cover the Linux platform. I use
Powershell for a scripting language on the Windows side of things. Very simple
copy files script. Is this the best way to do it?
import os
objdir = (C:\\temp2)
colDir = os.listdir(objdir)
for f in colDir:
Just started learning Python. I just wrote a simple copy files script. I use
Powershell now as my main scripting language but I wanted to extend into the
linux platform as well. Is this the best way to do it?
import os
objdir = (C:\\temp2)
colDir = os.listdir(objdir)
for f in
On Mon, 04 Feb 2013 16:46:11 -0700, Ian Kelly wrote:
Presumably if the operation requires
a number, then it will at some point perform some kind of numerical
manipulation that will raise a TypeError if one is not passed. If the
operation succeeds, then the object supported all the operations
On Tue, Feb 5, 2013 at 2:52 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Tue, 05 Feb 2013 10:38:41 +1100, Chris Angelico wrote:
On Tue, Feb 5, 2013 at 10:16 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
A third option is not to check x at all, and hope
On Tue, Feb 5, 2013 at 3:52 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
There's also the principle that it is best to raise an exception as early
as possible. It's easier to track down errors at the point they are
introduced than long afterwards.
Yes, definitely, especially
On Mon, Feb 4, 2013 at 9:52 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
You seem to be making the
classic mistake of thinking that exceptions are something to avoid:
Far from it. You've extrapolated a lot more than what I actually
said, and I completely agree with
Secure your position during Pre-Launch!
http://www.TheAppThatPays.ca
One of a kind, mobile application that makes it possible for the
average, every day person, to profit.
Check it out!
--
http://mail.python.org/mailman/listinfo/python-list
On 02/04/2013 09:14 PM, Anthony Correia wrote:
I need to pick up a language that would cover the Linux platform. I
use Powershell for a scripting language on the Windows side of things.
Very simple copy files script. Is this the best way to do it?
import os
objdir = (C:\\temp2)
On Tue, 05 Feb 2013 16:20:19 +1100, Chris Angelico wrote:
On Tue, Feb 5, 2013 at 3:52 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
There's also the principle that it is best to raise an exception as
early as possible. It's easier to track down errors at the point they
are
On 2/4/2013 7:09 PM, Jabba Laci wrote:
Hi,
Thanks for the answers. I like the context manager idea but setting
the sys.stdout back to the original value doesn't work.
Example:
class Unbuff(object):
def __init__(self):
self.stdout_bak = sys.stdout
This could/should go in the
The original message was received at Tue, 5 Feb 2013 09:14:21 +0200
from python.org [28.133.101.57]
- The following addresses had permanent fatal errors -
python-list@python.org
- Transcript of session follows -
while talking to python.org.:
MAIL From:Automatic Email Delivery
Terry Reedy tjre...@udel.edu writes:
It looks like you should perhaps just forget about reopening and just
use sys.stdout.flush(). This works fine even on IDLE.
As an alternative, can't you just use sys.stderr for printing such
feedback? sys.stderr is unbuffered by default...
ciao, lele.
--
One more thing, apart from what Albert mentioned.
Exceptions must be classes or instances. In effect you cannot just do
'raise'. 'raise' statement must be followed by a class or an instance.
On Tue, Feb 5, 2013 at 6:28 AM, Albert Hopkins mar...@letterboxes.orgwrote:
On Mon, Feb 4, 2013, at
On 2/4/2013 6:16 PM, Steven D'Aprano wrote:
The eternal conflict between Look Before You Leap and Easier to Ask for
Forgiveness than Permission (LBYL vs EAFP) continues...
A somewhat different answer is that it depends on what you want the
function to do, as documented and *tested*. And that
On Tue, Feb 5, 2013 at 5:51 PM, Laxmikant Chitare
laxmikant.gene...@gmail.com wrote:
One more thing, apart from what Albert mentioned.
Exceptions must be classes or instances. In effect you cannot just do
'raise'. 'raise' statement must be followed by a class or an instance.
You can inside an
Senthil Kumaran added the comment:
Here is he patch against the default that would address this reported issue.
Same would go for other 3.x branches. The 2.7 only can just see the addition of
getcode() documented.
--
assignee: - orsenthil
keywords: +patch
stage: - patch review
type:
Serhiy Storchaka added the comment:
Thank you for review and enlightenment Gregory. Here is an updated patch which
doesn't change an ABI.
--
Added file: http://bugs.python.org/file28951/cStringIO64_2.patch
___
Python tracker rep...@bugs.python.org
New submission from Christian Heimes:
In the light of Ruby's recent issues and man in the middle attacks on PyPI
(http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a/)
we should include secure uploads in distutils.
Martin has created a SSH uploader
Antoine Pitrou added the comment:
Martin has created a SSH uploader for distutils
http://pypi.python.org/pypi/pypissh. I suggest that we include the
feature in the next security update for Python 2.6 to 3.3. I'm well
aware that this beats the no new feature clause but in my opinion
security
Christian Heimes added the comment:
Python 2.6 to 3.1 don't do HTTPS server cert validation. This leaves the upload
process open to MITM attacks ...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17121
Roundup Robot added the comment:
New changeset a4c85f9b8f58 by Serhiy Storchaka in branch '2.7':
Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple
http://hg.python.org/cpython/rev/a4c85f9b8f58
New changeset 4bac47eb444c by Serhiy Storchaka in branch '3.2':
Issue #6083:
Hynek Schlawack added the comment:
I would strongly prefer to back port certificate validation instead. Is there
anything *practical* that makes it hard/impossible?
If we want to keep features stable, we can add it privately so it’s only usable
by distutils. The susceptibility to (easy!) MITM
Swarnkar Rajesh added the comment:
Sure, Here it is:
[Rajesh_Python_Settings]
definition-foreground = #86deff
error-foreground = #ff1c1c
normal-foreground = #ff
keyword-foreground = #fff900
hilite-foreground = #00
comment-background = #511633
hit-foreground = #ff
builtin-background
New submission from Serhiy Storchaka:
Since changeset fcfaca024160 (issue12428) subclassing of partial actually is
not tested (subclassed partial overwritten in setUp() method). The proposed
patch fixes this and some other minor issues and cleanup the code.
--
assignee:
Serhiy Storchaka added the comment:
Run IDLE from command line and you will see:
configparser.DuplicateOptionError: While reading from
.../.idlerc/config-highlight.cfg [line 29]: option 'cursor-foreground' in
section 'Rajesh_Python_Settings' already exists
Your configuration is wrong. Just
Swarnkar Rajesh added the comment:
Thank you Serhiy Storchaka.
It worked well. I did not noticed that.
Thanks again.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17114
___
Serhiy Storchaka added the comment:
ConfigParser is more strong by default since 3.2. Here is a simple patch which
made IDLE more tolerant for such kind of user errors.
--
assignee: - serhiy.storchaka
keywords: +patch
stage: needs patch - patch review
Added file:
Donald Stufft added the comment:
+1 for back porting SSL validation even if it's a private to distutils backport.
pypissh requires a SSH Binary which isn't all that great on Windows where SSH
is not typically installed by default.
--
nosy: +dstufft
Christian Heimes added the comment:
Infrastructure needs to get a proper SSL cert first and we have to ship the
CA's public key so we can verify the cert everywhere.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17121
Swarnkar Rajesh added the comment:
How can i install this patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17114
___
___
Python-bugs-list
Donald Stufft added the comment:
Well Infrastructure *should* get a proper cert anyways else MITM is trivial via
the web interface anyways.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17121
Serhiy Storchaka added the comment:
I do not have possibility and desires blind-repair a test on alien platform, so
just temporarily disable a new test in Lib/ctypes/test/test_returnfuncptrs.py
on Windows. If someone has a desire to fix it fell free to do this.
I do not close this issue
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: serhiy.storchaka -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6083
___
___
Changes by Ramchandra Apte maniandra...@gmail.com:
--
title: ampersand in path prevents from compiling pthon - ampersand in
path prevents compilation of Python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17103
Éric Araujo added the comment:
Benjamin, does this have to wait for 2.7.5?
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16555
___
Benjamin Peterson added the comment:
Is there some sort of reference for these aliases? Where do they come from?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16555
___
Roundup Robot added the comment:
New changeset 4206f91c974c by Serhiy Storchaka in branch '3.2':
Issue #16903: Popen.communicate() on Unix now accepts strings when
http://hg.python.org/cpython/rev/4206f91c974c
--
nosy: +python-dev
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16903
Éric Araujo added the comment:
The general idea is absolutely right: using proper keyrings (or ssh) is an
excellent thing for security and ease of use. A big obstacle however is the
rules for stdlib inclusion: a module such as keyring which is tied to specific
applications/libs/file formats
Roundup Robot added the comment:
New changeset 0cc51c04aa20 by R David Murray in branch '3.2':
#17091: update docstring for _thread.Lock.acquire.
http://hg.python.org/cpython/rev/0cc51c04aa20
New changeset b414b2dfd3d3 by R David Murray in branch '3.3':
merge #17091: update docstring for
Éric Araujo added the comment:
I have no objection to the patch. I can’t test it on cygwin (unless snakebite
provides it, I’ll ask) but I can check that a linux build still works.
--
keywords: +needs review
stage: - patch review
versions: +Python 3.3, Python 3.4
R. David Murray added the comment:
Thanks, Ian.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17091
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +doko, eric.araujo
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15485
___
Éric Araujo added the comment:
Can this be closed?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15298
___
___
Python-bugs-list mailing list
Antoine Pitrou added the comment:
PyPI *has* a proper cert, it's just not in the default trusted certs of most
distributions and browsers (i.e., it uses CACert). It would be easy to bundle
CACert's root cert with distutils, if we wanted to.
--
___
Éric Araujo added the comment:
Are these the addinfourl getters that Ezio wants to deprecate?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17069
___
Serhiy Storchaka added the comment:
Committed changeset 4be538a058a8. Thank you for the patch.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Ian Cordasco graffatcolmin...@gmail.com:
--
nosy: +icordasc, larry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12779
___
___
Benjamin Ash added the comment:
Hi Charles-François,
I am using a recent version of Python-2.7 that does in fact contains this patch
http://hg.python.org/cpython/rev/16bc59d37866:
python-2.7.3-4.fc16.x86_64 (Fedora 16)
The CPU usage spikes after I make the initial client connection to the
Changes by Ian Cordasco graffatcolmin...@gmail.com:
--
nosy: +icordasc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6761
___
___
Python-bugs-list
New submission from Christian Heimes:
Python's ssl module doesn't support OCSP [1]. The example code at [2] doesn't
look too complicated. We should consider OCSP at least for 3.4 and may want to
backport it to older versions to prevent MITM attacks on PyPI downloads.
Éric Araujo added the comment:
pysetup is no more.
--
resolution: - wont fix
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14940
Donald Stufft added the comment:
CACert is not *proper* irregardless of what that projects goals are. It is not
trusted by default therefore it does not provide the same level of security in
the browser (Very few people will bother to look at the difference between a
CACert and a self signed
Éric Araujo added the comment:
Packaging is removed from the stdlib and distutils2 is evolving into decoupled
libs/tools. Closing this effort :(
--
resolution: - wont fix
stage: - committed/rejected
status: open - closed
___
Python tracker
Christian Heimes added the comment:
And there is OCSP. I'm getting sec_error_ocsp_invalid_signing_cert for
https://pypi.python.org/pypi. I haven't been able to do a successful HTTPS
request from Firefox to PyPI all day.
--
___
Python tracker
Roundup Robot added the comment:
New changeset 3cc2a2de36e3 by Serhiy Storchaka in branch '3.2':
Issue #17089: Expat parser now correctly works with string input not only when
http://hg.python.org/cpython/rev/3cc2a2de36e3
New changeset 6c27b0e09c43 by Serhiy Storchaka in branch '3.3':
Issue
Benjamin Ash added the comment:
After doing a bit more testing, I was able to prevent the problem from
occurring in asyncore_test.py with the following patch:
--- /proc/self/fd/112013-02-04 11:24:41.298347199 -0500
+++ asyncore_test.py2013-02-04 11:24:40.393318513 -0500
@@ -19,10
New submission from Dave Jones:
import subprocess hangs for ~25 seconds, 700+ files in dir - py 2.7.3, 2.6.6
I'm running this test from a LiveCD to make sure the environment is relatively
clean.
--
localhost Desktop # python --version
Python 2.7.3
--- works
New submission from Tyler Crompton:
Line 402 in lib/python3.3/tokenize.py, contains the following line:
if first.startswith(BOM_UTF8):
BOM_UTF8 is a bytes object. str.startswith does not accept bytes objects. I was
able to use tokenize.tokenize only after making the following changes:
Dave Jones added the comment:
That line (1) seems to pop up every time the subprocess call hangs
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17124
___
Dave Jones added the comment:
Distros tested with include Funduntu 2012-4, Fuduntu 2013-1, Fedora 17,
Scientific Linux 6.3 OpenSUSE 12.2 (all 32-bit) on the same hardware.
--
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
The docs could certainly be more explicit...currently they state that tokenize
is *detecting* the encoding of the file, which *implies* but does not make
explicit that the input must be binary, not text.
The doc problem will get fixed as part of the fix to
Antoine Pitrou added the comment:
Can you explain how OCSP helps prevent MITM attacks?
- Mail original -
De: Christian Heimes rep...@bugs.python.org
À: pit...@free.fr
Envoyé: Lundi 4 Février 2013 17:14:32
Objet: [issue17123] Add OCSP support to ssl module
New submission from
1 - 100 of 191 matches
Mail list logo