[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2016-08-15 Thread Pas

Changes by Pas <pasthe...@gmail.com>:


--
nosy: +pas

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11566>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23061] Update pep8 to specify explicitly 'module level' imports at top of file

2016-02-19 Thread Pas

Changes by Pas <pasthe...@gmail.com>:


--
nosy: +pas

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23061>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22684] message.as_bytes() produces recursion depth exceeded

2014-10-21 Thread Pas

New submission from Pas:

Please see the attached traceback (or this http://pastebin.com/WYinRGie for 
fancy colors).

It depends on message size, we're trying to send Multipart MIME messages (a PDF 
attached, that has an image embedded).

After editing flask_mail.py to use the fallback ( 
message().as_string().encode(self.charset or 'utf-8') ) things work again.

If anyone could help confirm if this is a bug, or help me understand how I 
misuse the library, I'd be grateful. Thanks!

--
components: email
files: py34-email.message.as_bytes-recursion-depth-exceeded.txt
messages: 229762
nosy: barry, pas, r.david.murray
priority: normal
severity: normal
status: open
title: message.as_bytes() produces recursion depth exceeded
type: behavior
versions: Python 3.4
Added file: 
http://bugs.python.org/file36988/py34-email.message.as_bytes-recursion-depth-exceeded.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22684
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15790] Python 3.3.0rc1 release notes claims PEP-405 support, yet pysetup is not in the package (needs more usage documentation, to get pip working)

2012-08-27 Thread Pas

New submission from Pas:

Python 3.3.0rc1 release notes ( http://python.org/download/releases/3.3.0/ ) 
claims PEP-405 support, yet pysetup is not in the tarball. (After reading 
through mailing lists and bugs it's clear that the move to packaging module 
got pulled, so it's still just distutils in there.)

There is no documentation on how to get a pyvenv (or virtualenv, or any other 
virtual enviroment solution) built venv to gain setuptools/pip support.

--
assignee: docs@python
components: Documentation
messages: 169194
nosy: docs@python, pas
priority: normal
severity: normal
status: open
title: Python 3.3.0rc1 release notes claims PEP-405 support, yet pysetup is not 
in the package (needs more usage documentation, to get pip working)
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15790
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15790] Python 3.3.0rc1 release notes claims PEP-405 support, yet pysetup is not in the package (needs more usage documentation, to get pip working)

2012-08-27 Thread Pas

Pas added the comment:

It's not straightforward, at all.

# (v3.3rc1) /home/pas/wololo/pip-1.1$ python setup.py install

Traceback (most recent call last):
  File setup.py, line 3, in module
from setuptools import setup
ImportError: No module named 'setuptools'


Then, of course one can try installing setuptools, but it won't work.

Traceback (most recent call last):
  File setup.py, line 7, in module
execfile(convert_path('setuptools/command/__init__.py'), d)
NameError: name 'execfile' is not defined

So, yes, venv is available. Great. But Python is not so great without those 
batteries, which are allegedly included.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15790
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15790] Python 3.3.0rc1 release notes claims PEP-405 support, yet pysetup is not in the package (needs more usage documentation, to get pip working)

2012-08-27 Thread Pas

Pas added the comment:

Thank you. The missing detail was to install distribute when a package needs 
setuptools.

So, documentation. The setuptools page doesn't even mention distribute. The PEP 
mentions both, even though setuptools pretty much looks incompatible with Py3.3.

Anyway. I'm honestly grateful for your immediate responses. Thanks again for 
sorting this out, let's hope others will find this via a search engine.

--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15790
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10399] AST Optimization: inlining of function calls

2011-05-05 Thread Pas

Changes by Pas pasthe...@gmail.com:


--
nosy: +pas

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10399
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1479611] speed up function calls

2011-05-05 Thread Pas

Changes by Pas pasthe...@gmail.com:


--
nosy: +pas

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1479611
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: Getting HTTP responses - a python linkchecking script.

2006-05-08 Thread p-d-p=pas-de-spam
[EMAIL PROTECTED] a écrit :
 Hi Folks,
 
 I'm thinking about writing a script that can be run over a whole site
 and produce a report about broken links etc...
 
 I've been playing with the urllib2 and httplib modules as a starting
 point and have found that with urllib2 it doesn't seem possible to get
 HTTP status codes.
 
 I've had more success with httplib...
 Firstly I create a new HTTPConnection object with a given hostname and
 port then I try connecting to the host and catch any socket errors
 which I can assume mean the server is either down or doesn't exist at
 this place anymore.
 If the connection was successful I try requesting the resource in
 question, I then get the response and check the status code.
 
 So, I've got the tools I need to do the job sufficiently.  Just
 wondering whether anybody can recommend any alternatives.
 
 Cheers,
-Blair
 
have a look at

urllib2 - The Missing Manual

http://www.voidspace.org.uk/python/articles/urllib2.shtml
-- 
http://mail.python.org/mailman/listinfo/python-list