Τη Παρασκευή, 7 Ιουνίου 2013 4:25:40 π.μ. UTC+3, ο χρήστης Steven D'Aprano
έγραψε:
MRAB tells you to work with the bytes, because the filenames' bytes are
invalid decoded as UTF-8. If you fix the file names by renaming using a
terminal set to UTF-8, then they will be valid and you can
On Fri, Jun 7, 2013 at 4:35 PM, nagia.rets...@gmail.com wrote:
Yes, but but 'putty' seems to always forget when i tell it to use utf8 for
displaying and always picks up the Win8's default charset and it doesnt have
a save options dialog. I cant always remember to switch to utf8 charset or
On 7/6/2013 4:01 πμ, Cameron Simpson wrote:
On 06Jun2013 11:46, =?utf-8?B?zp3Or866zr/PgiDOk866z4EzM866?=
nikos.gr...@gmail.com wrote:
| Τη Πέμπτη, 6 Ιουνίου 2013 3:44:52 μ.μ. UTC+3, ο χρήστης Steven D'Aprano
έγραψε:
| py s = '999-Eυχή-του-Ιησού'
| py bytes_as_utf8 = s.encode('utf-8')
| py t
nagia.rets...@gmail.com writes:
File files.py, line 75
os.rename( filepath_bytes filepath.encode('utf-8') )
^
SyntaxError: invalid syntax
I am seeign the caret pointing at filepath but i cant follow what it
tries to tell me.
As already explained,
Τη Παρασκευή, 7 Ιουνίου 2013 9:46:53 π.μ. UTC+3, ο χρήστης Chris Angelico
έγραψε:
On Fri, Jun 7, 2013 at 4:35 PM, nagia.rets...@gmail.com wrote:
Yes, but but 'putty' seems to always forget when i tell it to use utf8 for
displaying and always picks up the Win8's default charset and it
Any other ideas guys?
I can output for you any command you ask me too, so you have a better
understanding about this suexec thing.
I have checked the path to the error log file too, it's not just enough
that the file is accessible for a user, the whole path to the file needs
to have the right
On Fri, Jun 7, 2013 at 5:08 PM, Νικόλαος Κούρας nikos.gr...@gmail.com wrote:
I'll google Traal right now.
The one thing you're actually willing to go research, and it's
actually something that won't help you. Traal is the name of my
personal laptop. Spend your Googletrons on something else. :)
Τη Παρασκευή, 7 Ιουνίου 2013 10:09:29 π.μ. UTC+3, ο χρήστης Lele Gaifax έγραψε:
As already explained, often a SyntaxError is introduced by *preceeding*
text, so you must look at your code with a wider eye.
That what i ahte aabout error reporting. You have some syntax error someplace
and error
On Jun 7, 2013, at 8:32, Νικόλαος Κούρας nikos.gr...@gmail.com wrote:
Τη Παρασκευή, 7 Ιουνίου 2013 10:09:29 π.μ. UTC+3, ο χρήστης Lele Gaifax
έγραψε:
As already explained, often a SyntaxError is introduced by *preceeding*
text, so you must look at your code with a wider eye.
That what
Finally no suexec erros any more after chown all log files to nobody:nobody and
thei corresponding paths.
Now the error has been transformed to:
[Fri Jun 07 10:48:47 2013] [error] [client 79.103.41.173] (2)No such file or
directory: exec of '/home/nikos/public_html/cgi-bin/koukos.py' failed
On 7/6/2013 10:42 πμ, Michael Weylandt wrote:
os.rename( filepath_bytes filepath.encode('utf-8')
Missing comma, which is, after all, just a matter of syntax so it can't matter,
right?
I doubted that os.rename arguments must be comma seperated.
But ater reading the docs.
On Fri, Jun 7, 2013 at 9:10 AM, Νικόλαος Κούρας nikos.gr...@gmail.com wrote:
On 7/6/2013 10:42 πμ, Michael Weylandt wrote:
os.rename( filepath_bytes filepath.encode('utf-8')
Missing comma, which is, after all, just a matter of syntax so it can't
matter, right?
I doubted that os.rename
On 07Jun2013 11:10, =?utf-8?B?zp3Or866zr/PgiDOk866z4EzM866?=
nikos.gr...@gmail.com wrote:
| On 7/6/2013 10:42 πμ, Michael Weylandt wrote:
| os.rename( filepath_bytes filepath.encode('utf-8')
| Missing comma, which is, after all, just a matter of syntax so it can't
matter, right?
|
| I doubted
Michael wrote:
I'm writing a decorator that I never want to be nested. Following from the
answer on my StackOverflow question
(http://stackoverflow.com/a/16905779/106244), I've adapted it to the
following.
Can anyone spot any issues with this? It'll be run in a multi-threaded
environment
On 07Jun2013 09:56, =?utf-8?B?zp3Or866zr/PgiDOk866z4EzM866?=
nikos.gr...@gmail.com wrote:
| On 7/6/2013 4:01 πμ, Cameron Simpson wrote:
| On 06Jun2013 11:46, =?utf-8?B?zp3Or866zr/PgiDOk866z4EzM866?=
nikos.gr...@gmail.com wrote:
| | Τη Πέμπτη, 6 Ιουνίου 2013 3:44:52 μ.μ. UTC+3, ο χρήστης Steven
On Jun 7, 6:53 pm, Cameron Simpson c...@zip.com.au wrote:
Experiment:
LC_ALL=C ls -b
LC_ALL=utf-8 ls -b
LC_ALL=iso-8859-7 ls -b
And the Terminal itself is decoding the output for display, and
encoding your input keystrokes to feed as input to the command
line.
This
Sorry for my quote,
but do you have any suggestion?
Il giorno martedì 4 giugno 2013 23:25:21 UTC+2, lionelgr...@gmail.com ha
scritto:
Hi,
i'm programming in python for the first time: i want to create a serial port
reader. I'm using python3.3 and pyQT4; i'm using also pyserial.
Below a
lionelgreenstr...@gmail.com wrote:
Sorry for my quote,
but do you have any suggestion?
After 30seconds (more or less) the program crashes: seems a buffer
problem, but i'm not really sure.
What's wrong?
I don't use qt or pyserial myself, but your problem description is too vague
anyway.
Τη Παρασκευή, 7 Ιουνίου 2013 11:53:04 π.μ. UTC+3, ο χρήστης Cameron Simpson
έγραψε:
On 07Jun2013 09:56, =?utf-8?B?zp3Or866zr/PgiDOk866z4EzM866?=
nikos.gr...@gmail.com wrote:
| On 7/6/2013 4:01 πμ, Cameron Simpson wrote:
| On 06Jun2013 11:46, =?utf-8?B?zp3Or866zr/PgiDOk866z4EzM866?=
Hello pythonistas,
☺ Some application made of python(command line program or a GUI program) that
we make using a python module(planning to cover as many modules as possible)
ie; of included batteries of python.
☺ Python in Security ie; Some scripts that we can write in python like a
dictionary
This is a reminder to all teams who want to submit a proposal for
running the next EuroPython in 2014 and 2015.
Proposals must be sent in before Friday, June 14th, i.e. in less than
one week.
If you have questions, please feel free to contact the EuroPython Society
board at bo...@europython.eu.
On 07/06/2013 11:17, lionelgreenstr...@gmail.com wrote:
Sorry for my quote,
but do you have any suggestion?
Il giorno martedì 4 giugno 2013 23:25:21 UTC+2, lionelgr...@gmail.com ha
scritto:
Hi,
i'm programming in python for the first time: i want to create a serial port
reader. I'm using
On 07/06/2013 12:53, Νικόλαος Κούρας wrote:
[snip]
#
# Collect filenames of the path dir as bytes
greek_filenames = os.listdir( b'/home/nikos/public_html/data/apps/' )
for filename in greek_filenames:
# Compute 'path/to/filename'
On 07/06/2013 08:51, Νικόλαος Κούρας wrote:
Finally no suexec erros any more after chown all log files to nobody:nobody and
thei corresponding paths.
Now the error has been transformed to:
[Fri Jun 07 10:48:47 2013] [error] [client 79.103.41.173] (2)No such file or
directory: exec of
On Fri, 07 Jun 2013 04:53:42 -0700, Νικόλαος Κούρας wrote:
Do you mean that utf-8, latin-iso, greek-iso and ASCII have the 1st
0-127 codepoints similar?
You can answer this yourself. Open a terminal window and start a Python
interactive session. Then try it and see what happens:
s =
I was planning on making a small 2D game in Python. Are there any libraries for
this? I know of:
• Pygame - As far as I know it's dead and has been for almost a year
• PyOgre - Linux and Windows only(I do have those, but I want multi-platform)
• Cocos2D - Won't install and cant find any support
On Fri, Jun 7, 2013 at 9:53 AM, letsplaysf...@gmail.com wrote:
I was planning on making a small 2D game in Python. Are there any libraries
for this? I know of:
• Pygame - As far as I know it's dead and has been for almost a year
• PyOgre - Linux and Windows only(I do have those, but I want
On Friday, June 7, 2013 5:21:36 PM UTC+1, Ian wrote:
On Fri, Jun 7, 2013 at 9:53 AM, letsplaysf...@gmail.com wrote:
I was planning on making a small 2D game in Python. Are there any libraries
for this? I know of:
• Pygame - As far as I know it's dead and has been for almost a year
On Fri, Jun 7, 2013 at 10:28 AM, Eam onn letsplaysf...@gmail.com wrote:
Do you know of any tutorial for PyGame? Preferably a video tutorial but any
tutorial at all is fine! I can't seem to find any, even on pygame.org!!!
I'd start here: http://www.pygame.org/wiki/tutorials
--
On Fri, Jun 7, 2013 at 10:35 AM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Fri, Jun 7, 2013 at 10:28 AM, Eam onn letsplaysf...@gmail.com wrote:
Do you know of any tutorial for PyGame? Preferably a video tutorial but any
tutorial at all is fine! I can't seem to find any, even on pygame.org!!!
DaveA,
Yep, that seems to just be about it! Much easier!
Thanks for the hint! Much appreciated :)
Ron
On Thursday, June 6, 2013 5:43:11 PM UTC-7, Dave Angel wrote:
On 06/06/2013 08:03 PM, cerr wrote:
Hi,
I have a process that I can trigger only at a certain time. Assume I have
MRAB,
Thanks for the hint! Yep, that's much easier!
Thanks! :)
Ron
On Thursday, June 6, 2013 5:49:55 PM UTC-7, MRAB wrote:
On 07/06/2013 01:03, cerr wrote:
Hi,
I have a process that I can trigger only at a certain time. Assume I have a
TDM period of 10min, that means, I can only
On Fri, 07 Jun 2013 09:28:09 -0700, Eam onn wrote:
Do you know of any tutorial for PyGame? Preferably a video tutorial but
any tutorial at all is fine! I can't seem to find any, even on
pygame.org!!!
https://duckduckgo.com/html/?q=pygame+tutorial
--
Steven
--
Hello, I'm working with PostgreSQL and Python to obtain 2 columns froma
database and need to print it in a specific format.
Here is my current code.
#!/usr/bin/python
# -*- coding: utf-8 -*-
import psycopg2
import sys
con = None
try:
con = psycopg2.connect(database='DB',
On Friday, June 7, 2013 4:53:03 PM UTC+1, Eam onn wrote:
I was planning on making a small 2D game in Python. Are there any libraries
for this? I know of:
• Pygame - As far as I know it's dead and has been for almost a year
• PyOgre - Linux and Windows only(I do have those, but I want
You could make a fantastic turtle based game with pyturtle!
On Fri, Jun 7, 2013 at 1:53 PM, Eam onn letsplaysf...@gmail.com wrote:
On Friday, June 7, 2013 4:53:03 PM UTC+1, Eam onn wrote:
I was planning on making a small 2D game in Python. Are there any
libraries for this? I know of:
Τη Παρασκευή, 7 Ιουνίου 2013 5:32:09 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
Can find what? koukos.py is there inside the cg-bin dir with 755 perms.
It's looking for '/home/nikos/public_html/cgi-bin/koukos.py'.
Its looking for its self?!?!
Have a look in '/home/nikos/public_html/cgi-bin'. Is
On 06/07/2013 01:44 PM, ethereal_r...@hotmail.com wrote:
SNIP
rows = cur.fetchall()
for row in rows:
print row
Now assume that fetchall would print the following:
I doubt if fetchall() prints anything. presumably it returns something,
extracted from the db.
On Fri, Jun 7, 2013 at 11:53 AM, Eam onn letsplaysf...@gmail.com wrote:
Pygame isn't too good. You still need a lot of other libraries from what I
understand(like for physics). Is there any alternative for 2D?
I don't know of any Python libraries that provide both a rendering
engine and a
Τη Παρασκευή, 7 Ιουνίου 2013 5:29:25 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
This is a worse way of doing it because the ISO-8859-7 encoding has 1
byte per codepoint, meaning that it's more 'tolerant' (if that's the
word) of errors. A sequence of bytes that is actually UTF-8 can be
decoded as
ethereal_r...@hotmail.com wrote:
Hello, I'm working with PostgreSQL and Python to obtain 2 columns froma
database and need to print it in a specific format.
Here is my current code.
#!/usr/bin/python
# -*- coding: utf-8 -*-
import psycopg2
import sys
con = None
try:
:
On 7 June 2013 14:52, Νικόλαος Κούρας nikos.gr...@gmail.com wrote:
File /home/nikos/public_html/cgi-bin/files.py, line 81
[Fri Jun 07 21:49:33 2013] [error] [client 79.103.41.173] if( flag ==
'greek' )
[Fri Jun 07 21:49:33 2013] [error] [client 79.103.41.173]
^
Fabrica de software localizada na Barra da Tijuca contrata:
Desenvolvedor Python
Objetivo geral da Posição:
Desenvolvimento de sistemas Web com Python/Django, HTML5, Javascript e CSS.
Prérequisitos:
Experiência com Python/Django ou outro framework MVC.
Familiarizado com desenvolvimento
On 07/06/2013 20:31, Zero Piraeus wrote:
:
On 7 June 2013 14:52, Νικόλαος Κούρας nikos.gr...@gmail.com wrote:
File /home/nikos/public_html/cgi-bin/files.py, line 81
[Fri Jun 07 21:49:33 2013] [error] [client 79.103.41.173] if( flag ==
'greek' )
[Fri Jun 07 21:49:33 2013] [error] [client
Hi,
I have uploaded greenlet 0.4.1 to PyPI:
https://pypi.python.org/pypi/greenlet
What is it?
---
The greenlet module provides coroutines for python. coroutines allow
suspending and resuming execution at certain locations.
concurrence[1], eventlet[2] and gevent[3] use the greenlet
On 07/06/2013 19:24, Νικόλαος Κούρας wrote:
Τη Παρασκευή, 7 Ιουνίου 2013 5:32:09 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
Can find what? koukos.py is there inside the cg-bin dir with 755 perms.
It's looking for '/home/nikos/public_html/cgi-bin/koukos.py'.
Its looking for its self?!?!
Have a
On Fri, Jun 7, 2013 at 8:53 AM, letsplaysf...@gmail.com wrote:
I also understand that Python isn't exactly the *BEST* choice programming
a game, but I have heard it is possible. Tell me if it's true. Thanks!
One of the Blizzard people told me that it's very common to program game
logic in
On Fri, 07 Jun 2013 14:24:30 -0400, Dave Angel wrote:
On 06/07/2013 01:44 PM, ethereal_r...@hotmail.com wrote:
SNIP
rows = cur.fetchall()
for row in rows:
print row
Now assume that fetchall would print the following:
I doubt if fetchall() prints anything.
:
On 7 June 2013 16:45, MRAB pyt...@mrabarnett.plus.com wrote:
On 07/06/2013 20:31, Zero Piraeus wrote:
[something exasperated, in capitals]
Have you noticed how the line in the traceback doesn't match the line
in the post?
Actually, I hadn't. It's not exactly a surprise at this point,
In article mailman.2864.1370638034.3114.python-l...@python.org,
Ralf Schmitt r...@systemexit.de wrote:
Hi,
I have uploaded greenlet 0.4.1 to PyPI:
https://pypi.python.org/pypi/greenlet
What is it?
---
The greenlet module provides coroutines for python. coroutines allow
Playing around, I've been trying to figure out the most pythonic way
of incrementing multiple values based on the return of a function.
Something like
def calculate(params):
a = b = 0
if some_calculation(params):
a += 1
if other_calculation(params):
b += 1
return (a,
On 07Jun2013 11:52, =?utf-8?B?zp3Or866zr/PgiDOk866z4EzM866?=
nikos.gr...@gmail.com wrote:
| ni...@superhost.gr [~/www/cgi-bin]# [Fri Jun 07 21:49:33 2013] [error]
[client 79.103.41.173] File /home/nikos/public_html/cgi-bin/files.py, line
81
| [Fri Jun 07 21:49:33 2013] [error] [client
On 07Jun2013 04:53, =?utf-8?B?zp3Or866zr/PgiDOk866z4EzM866?=
nikos.gr...@gmail.com wrote:
| Τη Παρασκευή, 7 Ιουνίου 2013 11:53:04 π.μ. UTC+3, ο χρήστης Cameron Simpson
έγραψε:
| | | errors='replace' mean dont break in case or error?
|
| | Yes. The result will be correct for correct
On Fri, Jun 7, 2013 at 10:32 PM, Tim Chase python.l...@tim.thechases.comwrote:
Playing around, I've been trying to figure out the most pythonic way
of incrementing multiple values based on the return of a function.
Something like
def calculate(params):
a = b = 0
if
On Sat, Jun 8, 2013 at 12:32 PM, Tim Chase
python.l...@tim.thechases.com wrote:
def calculate(params):
a = b = 0
if some_calculation(params):
a += 1
if other_calculation(params):
b += 1
return (a, b)
alpha = beta = 0
temp_a, temp_b = calculate(...)
alpha, beta = (1 if some_calculation(params) else 0, 1 if
other_calculation(params) else 0)
Date: Fri, 7 Jun 2013 21:32:39 -0500
From: python.l...@tim.thechases.com
To: python-list@python.org
Subject: Idiomatic Python for incrementing pairs
Playing around, I've been trying to figure out
On 2013-06-07 23:46, Jason Swails wrote:
On Fri, Jun 7, 2013 at 10:32 PM, Tim Chase
def calculate(params):
a = b = 0
if some_calculation(params):
a += 1
if other_calculation(params):
b += 1
return (a, b)
alpha = beta = 0
temp_a, temp_b =
On 2013-06-08 07:04, Carlos Nepomuceno wrote:
alpha, beta = (1 if some_calculation(params) else 0, 1 if
other_calculation(params) else 0)
This one sets them to absolute values, rather than the incrementing
functionality in question:
alpha += temp_a
beta += temp_b
The actual code in
Oh! I really though you were just adding 1 or 0 to those variables. In clude
the loop next time! ;)
You can accumulate the values by doing this instead:
alpha, beta = (alpha + (1 if some_calculation(params) else 0), beta + (1 if
other_calculation(params) else 0))
Date: Fri, 7 Jun 2013
On 06/07/2013 09:28 AM, Eam onn wrote:
On Friday, June 7, 2013 5:21:36 PM UTC+1, Ian wrote:
On Fri, Jun 7, 2013 at 9:53 AM, letsplaysf...@gmail.com wrote:
snip
Do you know of any tutorial for PyGame? Preferably a video tutorial but any
tutorial at all is fine! I can't seem to find any,
Palm Kevin added the comment:
The `-lintl` fix did not work in my case.
But I succeeded to compile Python using the CC compiler (/usr/bin/cc) instead
of GCC compiler.
(cc: Sun C 5.12 SunOS_sparc 2011/11/16)
--
nosy: +palm.kevin
___
Python tracker
STINNER Victor added the comment:
But I succeeded to compile Python using the CC compiler (/usr/bin/cc) instead
of GCC compiler.
I may be interesting to check if CC searchs header files in the same
directories than GCC. Same question for libraries. Using GCC, it can
be seen in the command
New submission from Palm Kevin:
On Solaris, make install fails on target altbininstall.
This is due to the fact than on Solaris you man not create a symlink using `ln
-sf` - You have to use `ln -f -s`.
(SunOS sol1 5.10 Generic_147440-09 sun4u sparc SUNW,Sun-Fire-V240)
--
components:
Palm Kevin added the comment:
fixing patch attached
--
keywords: +patch
Added file: http://bugs.python.org/file30492/Makefile.pre.in.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18154
Changes by Palm Kevin kevin.p...@labsolution.lu:
Removed file: http://bugs.python.org/file30492/Makefile.pre.in.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18154
___
Changes by Palm Kevin kevin.p...@labsolution.lu:
Added file: http://bugs.python.org/file30493/Makefile.pre.in.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18154
___
Changes by Palm Kevin kevin.p...@labsolution.lu:
Removed file: http://bugs.python.org/file30493/Makefile.pre.in.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18154
___
Changes by Palm Kevin kevin.p...@labsolution.lu:
Added file: http://bugs.python.org/file30494/Makefile.pre.in.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18154
___
Serhiy Storchaka added the comment:
Here is a patch which fixes getpass bug: unix_getpass() always fallback to
sys.stdin. As side effect it also fixes resource warning in getpass().
I'm not sure I have correctly changed tests. David, could you please review the
patch?
--
nosy:
Kristján Valur Jónsson added the comment:
I'd like to add some argument to providing a file and line number to the
allocation api. I know that currently this is not provided e.g. by the
PyMem_Allocate() functions, but I think it would be wise to provide a debug
version of these functions
New submission from Dave Challis:
When attempting to detect the presence of CSV headers, delimiters are passed to
a regex function without escaping, which causes an exception if a delimiter
which has meaning in a regex (e.g. '+', '*' etc.) is used.
Code to reproduce:
import csv
s =
Jean-Paul Calderone added the comment:
Sounds promising. Do you think this should be hooked into
SSLContext.set_default_verify_paths, or be exposed as a separate method?
If there were an API which exposed the certificate material, then this would be
more useful to libraries trying to do
Christian Heimes added the comment:
Yes, I'm planing to expose the low level API. I prefer to do as much work in
Python space as possible. The information is just too useful to 3rd parties,
too.
I'm thinking about one low level function that interfaces Windows's cert store.
The rest can be
R. David Murray added the comment:
The test changes look correct to me, but it sure would be nice to come up with
less fragile tests. For a function like this, though, it probably isn't
possible.
--
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
I doubt this is a regression, so I'm marking the others versions as well
without actually testing it. Should be an easy fix.
--
keywords: +easy
nosy: +r.david.murray
stage: - needs patch
versions: +Python 2.7, Python 3.4
Roundup Robot added the comment:
New changeset ed498f477549 by Vinay Sajip in branch 'default':
Closes #11959: SMTPServer and SMTPChannel now take an optional map, use of
which avoids affecting global state.
http://hg.python.org/cpython/rev/ed498f477549
--
nosy: +python-dev
resolution:
Roundup Robot added the comment:
New changeset a174d79cef2e by Vinay Sajip in branch 'default':
Issue #17903: Added path search changes to launcher.
http://hg.python.org/cpython/rev/a174d79cef2e
--
nosy: +python-dev
___
Python tracker
Alexander Belopolsky added the comment:
Python 2.x is in maintenance mode and will not receive new features. In 3.x
this is already implemented:
Python 3.3.2 (default, May 24 2013, 22:46:58)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type help, copyright, credits or
Brett Cannon added the comment:
echo $CPPFLAGS
-I /Users/bcannon/Developer/include
-I/Users/bcannon/Developer/Cellar/readline/6.2.4/include
echo $LDFLAGS
-L /Users/bcannon/Developer/lib
-L/Users/bcannon/Developer/Cellar/readline/6.2.4/lib
echo $CFLAGS
-Wno-unused-value -Wno-empty-body
Ronald Oussoren added the comment:
On 7 Jun, 2013, at 16:54, Brett Cannon rep...@bugs.python.org wrote:
If that's true, does this simply mean I need to build Python without any
installed libraries to avoid this conflict?
That's correct. There are other bugreports about other python
Brett Cannon added the comment:
I'll change the title to make it more obvious what the problem is.
And yes, Homebrew by default uses /usr/local if I remember correctly.
--
title: test_distutils failing under OS X 10.8 w/ clang - Put local build paths
before system build paths in
Christian Heimes added the comment:
First patch. I have not yet verified that the return data can be loaded by
openssl. Also I need to verify the error paths and add some tests, too.
--
keywords: +patch
stage: needs patch - patch review
Added file:
New submission from Brett Cannon:
Much like ImportError now has 'name' and 'path', AttributeError should get an
'attr' attribute that can only be set through a keyword argument or after
creating an instance. That would make the common ``try/except AttributeError``
uses much more robust by not
Changes by Vajrasky Kok sky@speaklikeaking.com:
Removed file: http://bugs.python.org/file30498/csv_has_header.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18155
___
Vajrasky Kok added the comment:
Attached the patch to fix the problem.
--
keywords: +patch
nosy: +vajrasky
Added file: http://bugs.python.org/file30498/csv_has_header.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18155
Vajrasky Kok added the comment:
Sorry. This one is correct. Attached the patch to fix the problem.
--
Added file: http://bugs.python.org/file30499/csv_has_header.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18155
Christian Heimes added the comment:
I fixed a ref leak and added some tests.
--
Added file: http://bugs.python.org/file30500/enumcertstore2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17134
Roundup Robot added the comment:
New changeset 97adaa820353 by Brett Cannon in branch 'default':
Issue #17314: Stop using imp in multiprocessing.forking and move over
http://hg.python.org/cpython/rev/97adaa820353
--
nosy: +python-dev
___
Python
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17314
___
Changes by Vajrasky Kok sky@speaklikeaking.com:
Removed file: http://bugs.python.org/file30499/csv_has_header.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18155
___
Vajrasky Kok added the comment:
Added test to sniffer double quote.
--
Added file: http://bugs.python.org/file30501/csv_has_header.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18155
Roundup Robot added the comment:
New changeset a0d8ae880ae6 by Brett Cannon in branch '3.3':
Issue #18055: Move to importlib from imp for IDLE.
http://hg.python.org/cpython/rev/a0d8ae880ae6
New changeset 3a3ec484ce95 by Brett Cannon in branch 'default':
merge w/ 3.3 for issue #18055
Brett Cannon added the comment:
Thanks for the help everyone!
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18055
Roundup Robot added the comment:
New changeset bf882390713c by Brett Cannon in branch 'default':
Issue #7732: Move an imp.find_module test from test_import to
http://hg.python.org/cpython/rev/bf882390713c
--
___
Python tracker rep...@bugs.python.org
Brett Cannon added the comment:
Current status (with test_imp stripped out):
ack imp\.(find|load)_module Lib
Lib/modulefinder.py
482:return imp.find_module(name, path)
Lib/pkgutil.py
189:file, filename, etc = imp.find_module(subname, path)
251:mod =
Brett Cannon added the comment:
The modulefinder usage is directly exposed in its API as the return value of a
find_module method, which makes removal a pain. Adding Thomas Heller to see
what he has to say.
The pkgutil usage is in classes that have been deprecated, so don't care.
The rest
New submission from Brett Cannon:
EOM
--
assignee: brett.cannon
components: Library (Lib)
messages: 190765
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch
status: open
title: remove usage of imp.load_module() from pydoc
type: behavior
versions: Python 3.4
New submission from Brett Cannon:
Tests don't serve much of a purpose with test_importlib covering the uses, plus
the tests are old and are not worth updating.
--
assignee: brett.cannon
components: Tests
messages: 190766
nosy: brett.cannon
priority: normal
severity: normal
stage: needs
Changes by Brett Cannon br...@python.org:
--
dependencies: +Delete test_importhooks
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14797
___
___
New submission from João Bernardo:
The configparser.RawConfigParser class implements some `get` methods:
get, getint, getfloat, getboolean
but if any of these get overridden on a subclass(with other arguments) or new
ones are added (e.g. getlist), there's no way a SectionProxy instance
1 - 100 of 137 matches
Mail list logo