Hi there,
I would like to introduce Authomatic, an authorization / authentication client
library for Python WEB applications.
project home: http://peterhudec.github.io/authomatic
code: https://github.com/peterhudec/authomatic
live demo: http://authomatic-example.appspot.com/
Features:
*
Mr. Joe titani...@gmail.com writes:
...
Sorry for digging this old topic back. I see that my 'property' does not
play well with polymorphic code comment generated some controversy. So
here's something in my defense:
I did not intend to attack you.
...
Yes, I like decorators and
Christian Jurk co...@commx.ws writes:
...
So far I'd like to ask which is the (probably) best way to create PDFs in
Python (3)? It is important for me that I am able to specify not only
background graphics, paragaphs, tables and so on but also to specify page
headers/footers. The reason
Hello,
I am writing a program that gets its parameters from a combination of
config file (using configparser) and command line arguments (using
argparse). Now I would also like the program to be able to _write_ a
configparser config file that contains only the parameters actually
given on
Christian, have you tried pod[1]? You can use create templates in OpenDocument
format and then create the PDFs just passing the arguments, like:
args = {'name':'John', 'email':'j...@example.com'}
renderer = Renderer('template.odt', args, 'result.odt')renderer.run()
[1]
Hello, I'm new to python and i have to make a Mandelbrot fractal image for
school but I don't know how to zoom in my image.
Thank you for helping me.
Envoyé de mon iPad
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, May 14, 2013 at 4:14 AM, rusi rustompm...@gmail.com wrote:
It costs $10K for a car which goes at around 80 kmph
Now if I want to move at 800 kmph I need to switch from car to plane
and that will cost me in millions
And if I want to move at 8000 kmph I need to be in a rocket in outer
On Sun, May 12, 2013 at 10:48 PM, Mark Janssen
dreamingforw...@gmail.com wrote:
You're very right. But that is what has made it sort of a test-bed
for internet collaboration. The project I'm working on is aimed to
solve that problem and take the Wiki philosophy to its next or even
ultimate
I had to implement in Python 2.7.x a system which heavily relies on
multiple inheritance.
Working on that, I have came to very simplistic code which isolates
the problem:
(The essential thing is that each base class receives all arguments
and uses only those,
which it understands).
class
On 15/05/2013 2:34 AM, Henry Leyh wrote:
Hello,
I am writing a program that gets its parameters from a combination of
config file (using configparser) and command line arguments (using
argparse). Now I would also like the program to be able to _write_ a
configparser config file that contains
On 13/05/2013 11:41 AM, Sharon COUKA wrote:
Hello, I'm new to python and i have to make a Mandelbrot fractal image for
school but I don't know how to zoom in my image.
Thank you for helping me.
Envoyé de mon iPad
Google is your friend. Try Mandelbrot Python
Colin W.
--
On 15 May 2013 12:18, wzab wza...@gmail.com wrote:
I had to implement in Python 2.7.x a system which heavily relies on
multiple inheritance.
Working on that, I have came to very simplistic code which isolates
the problem:
(The essential thing is that each base class receives all arguments
In article kmva9j$1hbk$1...@gwdu112.gwdg.de,
Henry Leyh henry.l...@ipp.mpg.de wrote:
Is there a simple way to determine which
command line arguments were actually given on the commandline, i.e. does
argparse.ArgumentParser() know which of its namespace members were
actually hit during
On 05/15/2013 08:24 AM, Roy Smith wrote:
In article kmva9j$1hbk$1...@gwdu112.gwdg.de,
Henry Leyh henry.l...@ipp.mpg.de wrote:
Is there a simple way to determine which
command line arguments were actually given on the commandline, i.e. does
argparse.ArgumentParser() know which of its
Colin J. Williams writes:
On 15/05/2013 2:34 AM, Henry Leyh wrote:
Hello,
I am writing a program that gets its parameters from a combination
of config file (using configparser) and command line arguments
(using argparse). Now I would also like the program to be able to
_write_ a
On 15.05.2013 14:24, Roy Smith wrote:
In article kmva9j$1hbk$1...@gwdu112.gwdg.de,
Henry Leyh henry.l...@ipp.mpg.de wrote:
Is there a simple way to determine which
command line arguments were actually given on the commandline, i.e. does
argparse.ArgumentParser() know which of its namespace
On 15 May 2013 13:52, Henry Leyh henry.l...@ipp.mpg.de wrote:
On 15.05.2013 14:24, Roy Smith wrote:
In article kmva9j$1hbk$1...@gwdu112.gwdg.de,
Henry Leyh henry.l...@ipp.mpg.de wrote:
Is there a simple way to determine which
command line arguments were actually given on the commandline,
This reflects a lack of understanding of Unicode.
jmf
And this reflects a lack of a sense of humor. :)
Isn't that a crime in the UK?
ChrisA
The problem with English humour (as against standard humor) is that
its not unicode compliant
British humour includes double
On 15.05.2013 15:00, Oscar Benjamin wrote:
On 15 May 2013 13:52, Henry Leyh henry.l...@ipp.mpg.de wrote:
On 15.05.2013 14:24, Roy Smith wrote:
In article kmva9j$1hbk$1...@gwdu112.gwdg.de,
Henry Leyh henry.l...@ipp.mpg.de wrote:
Is there a simple way to determine which
command line
Yes, I was trying that and it sort of works with strings if I use something
sufficiently improbable like __UNSELECTED__ as default. But it gets
difficult with boolean or even number arguments where you just may not have
valid improbable defaults. You could now say, so what, it's the
On Wed, 15 May 2013 15:19:00 +0200 (CEST)
Jean-Michel Pichavant jeanmic...@sequans.com wrote:
British humour includes double entendre, which is not
French-compliant.
I didn't get that one. Which possibly confirm MRAB's statement.
It's sort of like when Bush said The French don't even have
On Wed, 15 May 2013, Henry Leyh wrote:
Yes, I was trying that and it sort of works with strings if I use something
sufficiently improbable like __UNSELECTED__ as default. But it gets
difficult with boolean or even number arguments where you just may not have
valid improbable defaults. You
On 15/05/2013 14:19, Jean-Michel Pichavant wrote:
This reflects a lack of understanding of Unicode.
jmf
And this reflects a lack of a sense of humor. :)
Isn't that a crime in the UK?
ChrisA
The problem with English humour (as against standard humor) is that
its not unicode
On 2013-05-13, Sharon COUKA sharon_co...@hotmail.com wrote:
Hello, I'm new to python and i have to make a Mandelbrot fractal image for
school but I don't know how to zoom in my image.
Thank you for helping me.
It's a fractal image, so you zoom in/out with the following Python
instruction:
On 15.05.2013 16:08, Skip Montanaro wrote:
Yes, I was trying that and it sort of works with strings if I use something sufficiently improbable
like __UNSELECTED__ as default. But it gets difficult with boolean or even number
arguments where you just may not have valid improbable defaults.
On 2013-05-14, Citizen Kant citizenk...@gmail.com wrote:
2013/5/14 Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
On Tue, 14 May 2013 01:32:43 +0200, Citizen Kant wrote:
An entity named Python must be somehow as a serpent. Don't forget that
I'm with the freeing up of my memory, now
!= is explicit.
There is no ambiguity that needs to be guessed.
Which is why i said it thought X != Y is cleaner
i guess i wasn't totally clear, I would write X != Y its because the OP
preferred to use the other format I recommended that he made the operator
ordering explicit.
--
However, maybe I could ...
... switch to getopt? wink
Skip
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, May 13, 2013 at 9:41 AM, Sharon COUKA sharon_co...@hotmail.com wrote:
Hello, I'm new to python and i have to make a Mandelbrot fractal image for
school but I don't know how to zoom in my image.
Thank you for helping me.
Is this a GUI application or does it just write the image to a
In article kn00fb$8kc$1...@gwdu112.gwdg.de,
Henry Leyh henry.l...@ipp.mpg.de wrote:
On 15.05.2013 14:24, Roy Smith wrote:
In article kmva9j$1hbk$1...@gwdu112.gwdg.de,
Henry Leyh henry.l...@ipp.mpg.de wrote:
Is there a simple way to determine which
command line arguments were actually given
On Wed, May 15, 2013 at 6:16 AM, Oscar Benjamin
oscar.j.benja...@gmail.com wrote:
I don't generally use super() but I did see some advice about it in
this article:
https://fuhm.net/super-harmful/
From the conclusion:
Never use positional arguments in __init__ or __new__. Always use
keyword
On Wed, May 15, 2013 at 12:15 PM, dieter die...@handshake.de wrote:
If Python would automatically redecorate overridden methods in a derived
class, I would have no control over the process. What if I need
the undecorated method or a differently decorated method (an
uncached or
Hello everyone.
I am having a good time programming with Python 3.3 and Pygame. Pygame
seems like the perfect platform for the kind of simple games that I want to
make.
What I have currently programmed is basically a drawn rectangle filled with
200 squares, each side of the squares being 43
- Original Message -
On 15/05/2013 14:19, Jean-Michel Pichavant wrote:
This reflects a lack of understanding of Unicode.
jmf
And this reflects a lack of a sense of humor. :)
Isn't that a crime in the UK?
ChrisA
The problem with English humour (as
On 15/05/2013 18:04, Jean-Michel Pichavant wrote:
- Original Message -
On 15/05/2013 14:19, Jean-Michel Pichavant wrote:
This reflects a lack of understanding of Unicode.
jmf
And this reflects a lack of a sense of humor. :)
Isn't that a crime in the UK?
ChrisA
The problem
On 2013-05-13, F?bio Santos fabiosantos...@gmail.com wrote:
On 13 May 2013 19:48, Neil Cerutti ne...@norwich.edu wrote:
On 2013-05-13, Skip Montanaro s...@pobox.com wrote:
8. A programming language is low level when its programs
require attention to the irrelevant.
So much a matter of
- Original Message -
On Wed, 15 May 2013 15:19:00 +0200 (CEST)
Jean-Michel Pichavant jeanmic...@sequans.com wrote:
British humour includes double entendre, which is not
French-compliant.
I didn't get that one. Which possibly confirm MRAB's statement.
It's sort of like when
On 15 May 2013 18:29, Neil Cerutti ne...@norwich.edu wrote:
On 2013-05-13, F?bio Santos fabiosantos...@gmail.com wrote:
On 13 May 2013 19:48, Neil Cerutti ne...@norwich.edu wrote:
On 2013-05-13, Skip Montanaro s...@pobox.com wrote:
8. A programming language is low level when its
On 05/15/2013 12:56 PM, Andrew Bradley wrote:
Hello everyone.
I am having a good time programming with Python 3.3 and Pygame. Pygame
seems like the perfect platform for the kind of simple games that I want to
make.
Pygame indeed looks pretty good to me as well. But I haven't done
anything
On Wed, May 15, 2013 at 10:56 AM, Andrew Bradley abradley...@gmail.com wrote:
Hello everyone.
I am having a good time programming with Python 3.3 and Pygame. Pygame seems
like the perfect platform for the kind of simple games that I want to make.
What I have currently programmed is basically
On 2013-05-15, F?bio Santos fabiosantos...@gmail.com wrote:
It is a tautology is disguise. When you use a low level
language, low level details are relevant to the scope of your
program.
I don't see it that way. I think relevance and level are two
unrelated concepts.
For example, in python
On Tue, May 14, 2013 at 9:14 PM, Skip Montanaro s...@pobox.com wrote:
I haven't touched the SpamBayes setup for the usenet-to-mail gateway
in a long while. For whatever reason, this message was either held
and then approved by the current list moderator(s), or (more likely)
slipped through
On Wed, May 15, 2013 at 1:58 PM, Chris “Kwpolska” Warrick
kwpol...@gmail.com wrote:
On Tue, May 14, 2013 at 9:14 PM, Skip Montanaro s...@pobox.com wrote:
I haven't touched the SpamBayes setup for the usenet-to-mail gateway
in a long while. For whatever reason, this message was either held
and
On 15/05/2013 1:21 PM, MRAB wrote:
On 15/05/2013 18:04, Jean-Michel Pichavant wrote:
- Original Message -
On 15/05/2013 14:19, Jean-Michel Pichavant wrote:
This reflects a lack of understanding of Unicode.
jmf
And this reflects a lack of a sense of humor. :)
Isn't that a
On 2013-05-14, Citizen Kant citizenk...@gmail.com wrote:
2013/5/14 Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
On Tue, 14 May 2013 01:32:43 +0200, Citizen Kant wrote:
An entity named Python must be somehow as a serpent. Don't forget that
I'm with the freeing up of my memory, now
On 05/15/2013 02:14 PM, Andrew Bradley wrote:
Please reply on the list, not privately, unless it's something like a
simple thank-you. Typically, you'd do a reply-all, then delete the
people other than the list itself. Or if you're using Thunderbird, you
could just reply-list.
Thank you
Now I want to show you what I have written:
row = (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
column = (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
19, 20)
SQUARESIZE = 43
grid = []
for row in range(10):
row_squares = []
for column in range(20):
rect = Rect(12 +
Hi,
This is Girish, - Recruitment and Resources from SancroSoft USA Inc.
We have an urgent requirement as follows:
Please respond with resumes in MS-Word Format with the following
details togir...@sancrosoftusa.com
Full Name :
Location :
Contact Number :
Email :
Availability :
Visa Status :
Hi,
This is Girish, - Recruitment and Resources from SancroSoft USA Inc.
We have an urgent requirement as follows:
Please respond with resumes in MS-Word Format with the following
details togir...@sancrosoftusa.com
Full Name :
Location :
Contact Number :
Email :
Availability :
Visa Status :
My web server is using python 2.5.
My cgi file is trying to open a shelve.
I xxx out some of the path below.
I am trying to find out if this
error is caused because I am using python 2.7 to write
the cgi file and my web server is using python 2.5.
I would appreciate a confirmation of this.
I want to use A translator from Arabic to English and reverse in my application
which is written in pyhton,
Is there any open source Translator that can be used with python,
Or Any Suggestion?
Please Help,
Thanks In Advance :)
--
http://mail.python.org/mailman/listinfo/python-list
ok, now I have tested this more thoroughly, and it seems i can only do the
grid[x][y] function up to grid[9][9], when i really should be able to be
doing up to grid[10][20].
What exactly is the function of this row_squares list?
On Wed, May 15, 2013 at 4:35 PM, Andrew Bradley
On May 16, 5:55 am, Citizen Kant citizenk...@gmail.com wrote:
As a matter of
class, the word python names first a python snake than a Monty Python,
which is 50% inspired by that python word, word that's been being
considered the given name of a particular kind of snake since times in
which
On May 16, 12:09 am, D'Arcy J.M. Cain da...@druid.net wrote:
It's sort of like when Bush said The French don't even have a word for
entrepreneur.
Or The Russians have no word for it, therefore detente must be a one-
way street.
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, May 16, 2013 at 8:00 AM, Hala Gamal halagamal2...@gmail.com wrote:
I want to use A translator from Arabic to English and reverse in my
application which is written in pyhton,
Is there any open source Translator that can be used with python,
Or Any Suggestion?
Please Help,
Thanks In
On May 15, 10:07 pm, Colin J. Williams c...@ncf.ca wrote:
Google is your friend. Try Mandelbrot Python
My favourite is this one:
http://preshing.com/20110926/high-resolution-mandelbrot-in-obfuscated-python
--
http://mail.python.org/mailman/listinfo/python-list
Please put new comments AFTER the part you're quoting. In other words,
don't top-post. Also please trim off the stuff that's no longer
relevant, so people don't have to read through it all wondering where
your implied comments are.
On 05/15/2013 06:48 PM, Andrew Bradley wrote:
ok, now I
On 15 May 2013 20:59, Citizen Kant citizenk...@gmail.com wrote:
Of course one always may want to perform random hacking and turn tables
just because and treat the word python as a variable's name, setting that
python equals Monty Python in order to checkmate any given conversation. In
that case
On 15 May 2013 19:33, Neil Cerutti ne...@norwich.edu wrote:
On 2013-05-15, F?bio Santos fabiosantos...@gmail.com wrote:
It is a tautology is disguise. When you use a low level
language, low level details are relevant to the scope of your
program.
I don't see it that way. I think
SQUARESIZE = 43
grid = []
for row in range(10):
row_squares = []
for column in range(20):
rect = Rect(12 + column * SQUARESIZE, 10 + row * SQUARESIZE,
SQUARESIZE, SQUARESIZE)
row_squares.append(rect)
grid.append(row_squares)
It appears to be working
On 5/11/2013 4:03 PM, Citizen Kant wrote:
Don't get me wrong. I can see the big picture and the amazing things
that programmers write on Python, it's just that my question points to
the lowest level of it's existence.
Sometimes a cigar is just a cigar. Python is a tool, it does what you
On 05/15/2013 08:53 PM, Andrew Bradley wrote:
SNIP
So now, how can I utilize this new grid list? Thank you for the
help so far, I feel like the entire grid is now being worked out.
-Andrew
That's a Pygame question, and I told you at the beginning, I can't really
help with that. I'd
On 05/15/2013 08:01 PM, Ned Batchelder wrote:
On 5/11/2013 4:03 PM, Citizen Kant wrote:
Don't get me wrong. I can see the big picture and the amazing things that
programmers write on Python, it's just that my question points to the lowest
level of it's existence.
Sometimes a cigar is just a
Can python sockets be used to capture IP traffic when the traffic is
originating from a non-python source?
Using a Lantronix UDS-1100 serial to IP converter. The goal is to write a small
proof of concept piece in Python to capture serial data output by this device
over IP.
I've done a couple
On Wed, 15 May 2013 13:16:09 +0100, Oscar Benjamin wrote:
I don't generally use super()
Then you should, especially in Python 3.
If you're not using super in single-inheritance classes, then you're
merely making your own code harder to read and write, and unnecessarily
difficult for others
On 2013.05.15 20:47, Eric Miller wrote:
Can python sockets be used to capture IP traffic when the traffic is
originating from a non-python source?
Python just exposes the underlying OS socket interface. There is nothing
special about sockets in Python. The whole point is to connect
On 5/15/2013 9:17 PM, Tim Daneliuk wrote:
http://pvspade.com/Sartre/cookbook.html
Wikedly funny.
--
http://mail.python.org/mailman/listinfo/python-list
On May 14, 8:08 am, Dan Sommers d...@tombstonezero.net wrote:
On Tue, 14 May 2013 04:12:53 +1000, Chris Angelico wrote:
On Tue, May 14, 2013 at 4:02 AM, Skip Montanaro s...@pobox.com wrote:
8. A programming language is low level when its programs require
attention to the irrelevant.
I
It is my greatest pleasure to announce the release of Python 2.7.5.
2.7.5 is the latest maintenance release in the Python 2.7 series. You may be
surprised to hear from me so soon, as Python 2.7.4 was released slightly more
than a month ago. As it turns out, 2.7.4 had several regressions and
test_asynchat still hangs! What it does? Should I care?
Date: Wed, 15 May 2013 23:19:06 -0500
Subject: [RELEASED] Python 2.7.5
From: benja...@python.org
To: python-...@python.org; python-list@python.org;
python-announce-l...@python.org
It is my
On May 16, 11:17 am, Tim Daneliuk tun...@tundraware.com wrote:
http://pvspade.com/Sartre/cookbook.html
Best recipe for tuna casserole ever! Cheers for this :)
--
http://mail.python.org/mailman/listinfo/python-list
On 05/15/2013 10:43 PM, Terry Jan Reedy wrote:
On 5/15/2013 9:17 PM, Tim Daneliuk wrote:
http://pvspade.com/Sartre/cookbook.html
Wikedly funny.
Today I made a Black Forest cake out of five pounds of cherries and a live
beaver,
--
On 05/15/2013 11:49 PM, alex23 wrote:
On May 16, 11:17 am, Tim Daneliuk tun...@tundraware.com wrote:
http://pvspade.com/Sartre/cookbook.html
Best recipe for tuna casserole ever! Cheers for this :)
I have have realized that the traditional omelet form (eggs and cheese) is
bourgeois.
On May 16, 6:17 am, Tim Daneliuk tun...@tundraware.com wrote:
On 05/15/2013 08:01 PM, Ned Batchelder wrote:
On 5/11/2013 4:03 PM, Citizen Kant wrote:
Don't get me wrong. I can see the big picture and the amazing things that
programmers write on Python, it's just that my question points to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On behalf of the Python development team, I am pleased to announce the
releases of Python 3.2.5 and 3.3.2.
The releases fix a few regressions in 3.2.4 and 3.3.1 in the zipfile, gzip
and xml.sax modules. Details can be found in the changelogs:
I wish to generate some test data for a program that deals with emails. I
need something that can produce multi-part emails, including broken
emails that violate email standards, especially when it comes to Unicode.
Does anyone know of something like this that already exists? It's not
On 15.05.2013 17:29, Roy Smith wrote:
In article kn00fb$8kc$1...@gwdu112.gwdg.de,
Henry Leyh henry.l...@ipp.mpg.de wrote:
On 15.05.2013 14:24, Roy Smith wrote:
In article kmva9j$1hbk$1...@gwdu112.gwdg.de,
Henry Leyh henry.l...@ipp.mpg.de wrote:
Is there a simple way to determine which
Ezio Melotti added the comment:
I wonder is there is something wrong with the repository.
The repo looks ok to me. You could try to run hg verify on your machine id
you want to make sure your clone is ok.
I wrote about the problem on the committer's list a few days ago,
but got no
Nick Coghlan added the comment:
Just a quick note on the directory naming: idlelib/idle_test sounds like a good
option to me.
Putting it under idlelib makes it easy for distros to carve it out along with
the rest of Idle, as well as making it clear that it falls under the purview of
PEP 434
Marc-Andre Lemburg added the comment:
On 15.05.2013 01:28, Amaury Forgeot d'Arc wrote:
Amaury Forgeot d'Arc added the comment:
The official way to build without unicode is
./configure --enable-unicode=no
But see issue17979.
The official way to build without Unicode is:
./configure
Marc-Andre Lemburg added the comment:
Please note that the official way to build Python without Unicode
support is (see http://bugs.python.org/issue445762):
./configure --disable-unicode
See http://bugs.python.org/issue8767 for the most recent set of fixes
that were supplied to make it work
Terry J. Reedy added the comment:
Ezio, thank you for the response.
1. I care more about where the directory of tests is than what it is called.
'idle_test' or 'idletest' or whatever would be fine. Lets make that the last
bikeshed item ;-).
2. I looked as #10572. It was originally about
Terry J. Reedy added the comment:
For future reference, there is an idle specific issue that I do not think has
been mentioned yet. Idle can run in one process, but the default mode now, and
perhaps only mode sometime in the future, is two processes communicating
through a socket. Testing two
Terry J. Reedy added the comment:
Thanks Nick. Tomorrow I should change the directory name, delete try-except,
commit, and move onward on the path laid out.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15392
Serhiy Storchaka added the comment:
I can't reproduce this when build with --disable-unicode.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17979
___
Changes by Jaakko Moisio jaakko.moi...@aalto.fi:
Added file: http://bugs.python.org/file30266/fileobject-fix4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17976
___
Jaakko Moisio added the comment:
I tried to reply to the review of my last patch but this tracker software
itself crashed. Is there anyone who would be interested in the traceback?
Anyway, I'll reply here.
On 2013/05/15 08:37:29, Charles-François Natali wrote:
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17979
___
Michael Foord added the comment:
Discovery from a module importing main doesn't make sense (although from a
*script* importing main it does).
So long as python -m unittest -v continues to launch discovery, and the
positional argument form of discovery still works, then the new patch looks
New submission from Florian Weimer:
If the name in the certificate contains many * characters, matching the
compiled regular expression against the host name can take a very long time.
Certificate validation happens before host name checking, so I think this is a
minor issue only because it
Jaakko Moisio added the comment:
I tried to reply to the review of my last patch but this tracker
software itself crashed. Is there anyone who would be interested in
the traceback?
Never mind. I found the meta tracker and posted my traceback there.
--
Roundup Robot added the comment:
New changeset 4f594f9b296a by doko in branch '2.7':
- Issue #17754: Make ctypes.util.find_library() independent of the locale.
http://hg.python.org/cpython/rev/4f594f9b296a
--
nosy: +python-dev
___
Python tracker
New submission from Julien Palard:
I have a script that close its socket to /dev/log immediatly before using it,
causing it to fail, here is the code :
{{{
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import logging
import logging.handlers
import daemon
from daemon.pidlockfile import
Ezio Melotti added the comment:
Having idle_test under idlelib is fine with me if it makes your life easier.
3. Many modules have more or useless 'sanity-check' tests run
with the 'if __name__' mechanism. I think *all* of these should
be replaced with unittest.main(xxx, verbosity=2,
Геннадий Егоров added the comment:
i think it is not good, len(fd) must raise AttributeError, not TypeError
--
nosy: +Геннадий.Егоров
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15267
___
Roundup Robot added the comment:
New changeset d6a43a99aea3 by doko in branch '3.3':
- Issue #17754: Make ctypes.util.find_library() independent of the locale.
http://hg.python.org/cpython/rev/d6a43a99aea3
New changeset 9a44f12df844 by doko in branch 'default':
- Issue #17754: Make
Matthias Klose added the comment:
fixed in 2.7, 3.3 and trunk
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17754
New submission from Hugh Littlejohn:
New to Python, acquired Raspberry PI. Upgraded and now have IDLE and IDLE3.
Python 3.2.3 (default, Mar 1 2013, 11:53:50) (GNU 4.6.3] on Linux2
First task, New Window to create Hello, World!
Using IDLE3, created file helloworld.py
Using Run/ Check Module -
Ned Batchelder added the comment:
Python 3 has no print statement, it has a print function, so you need:
print(Hello, world!)
--
nosy: +nedbat
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17982
Terry J. Reedy added the comment:
Tests have at least two very different purposes. One is test-driven development
of code (and tests) by developers. The other is regression detection by
buildbots. if __name__ in code modules, in addition to test modules, makes
the first much easier. First,
1 - 100 of 168 matches
Mail list logo