Find a new release of python-ldap:
http://www.python-ldap.org/
python-ldap provides an object-oriented API to access LDAP directory
servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for
that purpose. Additionally it contains modules for other LDAP-related
stuff (e.g.
The November issue of The Python: Rag is available at:
http://www.pythonrag.org
A monthly, free, community run, Python magazine - issues are in pdf
format, intended for anyone interested in Python.
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python
Hi everyone,
I am proud to announce the release of Pyfora (http://pyfora.org), an
online Python forum to supplement comp.lang.python and #python. Please
feel free to register and post any questions or tips you may have!
Sincerely,
Saketh
--
On behalf of the Distribute team, I am pleased to announce the 0.6.7
release of Distribute.
Distribute is a fork of the Setuptools project, and the 0.6.x series a
drop-in replacement for Setuptools. Distribute is intended to replace
Setuptools as the standard method for working with Python module
blist 1.0.2 is now available:
http://pypi.python.org/pypi/blist/
What is blist?
--
The blist is a type that looks, acts, and quacks like a Python list, but has
better asymptotic performance when inserting or deleting elements (O(log
n)). For small lists, blists and the
PiCloud has released a Python library, cloud, which allows you to
easily offload the execution of a function to a cluster of servers
running on Amazon Web Services. As a beta product, we are currently
free to all users who sign up with beta code PYTHONLIST. To
register, go to
On Sun, 01 Nov 2009 01:38:16 -0300, Gabriel Genellina wrote:
Incorrect. Simplicity of implementation and API is a virtue, in and of
itself. The existing module machinery is quite simple to understand,
use and maintain.
Uhm... module objects might be quite simple to understand, but module
In message mailman.2397.1257034364.2807.python-l...@python.org, Carsten
Haese wrote:
Lawrence D'Oliveiro wrote:
In message mailman.2376.1257005738.2807.python-l...@python.org, Carsten
Haese wrote:
Lawrence D'Oliveiro wrote:
In message mailman.2357.1256964121.2807.python-l...@python.org,
Ben Finney wrote:
Robert Kern robert.k...@gmail.com writes:
If you are going to expose symbols in your __init__.py, they should
not have the same name as any of the modules in the package.
Would I be correct in assuming you make an exception for the package
importing one of the modules in
En Fri, 30 Oct 2009 17:55:27 -0300, Jess Austin jess.aus...@gmail.com
escribió:
On Oct 29, 10:41 pm, Gabriel Genellina gagsl-...@yahoo.com.ar
wrote:
We know the last test fails because the == logic fails to recognize
mySet (on the right side) as a more specialized object than frozenset
I have a C++ program, with a GUI, into which I have embedded python. I
have made several python functions in C++, one of which I use to
override the normal stdout and stderr so that they print to a text box
of my GUI. One thing I cannot think of how to do is to redefine stdin
so that it pauses the
Saketh saketh.bhamidip...@gmail.com writes:
I am proud to announce the release of Pyfora (http://pyfora.org), an
online community of Python enthusiasts to supplement comp.lang.python
and #python.
And the reason to want to further fragment Python discussion is
exactly what?
--
Lawrence D'Oliveiro wrote:
On what grounds are you asserting that it's not necessary to mix the
two? Please elaborate your point.
On the grounds that Python has more general and powerful string parameter-
substitution mechanisms than anything built into any database API.
That statement is
Alf P. Steinbach wrote:
So with 'w+' the only way to get garbage is if 'read' reads beyond the end of
file, or 'open' doesn't conform to the documentation.
It does read beyond the end of file. This is perhaps the way the
underlying C library works, but it looks like an unexpected feature
(read:
* Gertjan Klein:
Alf P. Steinbach wrote:
So with 'w+' the only way to get garbage is if 'read' reads beyond the end of
file, or 'open' doesn't conform to the documentation.
It does read beyond the end of file. This is perhaps the way the
underlying C library works, but it looks like an
koranthala schreef:
Hi all,
My code is as follows:
path = r'C:/Program Files/testfolder/2.3/test.txt'
if os.path.lexists(path):
print 'Path Exists'
else:
print 'No file found in path - %s' %path
print Popen(path, stdout=PIPE, shell=True).stdout.read()
The output comes as
Alf P. Steinbach wrote:
* Gertjan Klein:
I reproduced (with Python 2.5.2 on WinXP) the code the OP wrote after
creating an empty (0-byte) test file; after the write() the read()
returns random garbage. I can't imagine why anyone would want that
behaviour. The file grew to be 4099 bytes after
Gertjan Klein wrote:
Alf P. Steinbach wrote:
So with 'w+' the only way to get garbage is if 'read' reads beyond the end
of
file, or 'open' doesn't conform to the documentation.
It does read beyond the end of file. This is perhaps the way the
underlying C library works, but it looks
On Sun, 01 Nov 2009 10:44:45 +0100, Alf P. Steinbach wrote:
Could you post (copy and paste) the code, and description of results?
Using Python 2.6 under Linux (Fedora 7):
f = open('garbage', 'r') # prove the file doesn't exist
Traceback (most recent call last):
File stdin, line 1, in
KillSwitch wrote:
I have a C++ program, with a GUI, into which I have embedded python. I
have made several python functions in C++, one of which I use to
override the normal stdout and stderr so that they print to a text box
of my GUI. One thing I cannot think of how to do is to redefine stdin
On Sat, Oct 31, 2009 at 11:34 PM, Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
On Sat, 31 Oct 2009 22:29:12 -0500, Peng Yu wrote:
In my question, module A and B exist just for the sake of
implementation. Even if I have module A and B, I don't want the user
feel the existence of
On Sat, Oct 31, 2009 at 11:43 PM, Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
On Sat, 31 Oct 2009 22:54:47 -0500, Peng Yu wrote:
So python would not be able to accommodate my preference one
class/function per file?
Of course it does! You can do that RIGHT NOW -- just put one
I have also just started with both Aquamacs and Python so I ask for
your patience as well.
When I evaluate the buffer (C-c C-C) I don't see any response or
output from my python program. Should another buffer open
automatically? Should a terminal window open?
thanks for your patience.
On Nov 1, 4:06 am, Shue Boks shoebox56car...@gmail.com wrote:
I tried to compile Python and Tcl/Tk on Linux using the following
files:
Python-3.1.1.tar.gz
tcl8.5.7-src.tar.gz
Cannot get tkinter to work after compiling installing Tcl/Tk. I get
the following error after compiling Python:
On Sat, Oct 31, 2009 at 11:40 PM, Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
On Sat, 31 Oct 2009 22:48:10 -0500, Peng Yu wrote:
Variables in a function are already private. How can the names in one
function be affected by other functions in the same module?
You
I think it's a really good idea :) My accountname is TotempaaltJ
On Sun, Nov 1, 2009 at 8:48 AM, Paul Rubin http://phr...@nospam.invalidwrote:
Saketh saketh.bhamidip...@gmail.com writes:
I am proud to announce the release of Pyfora (http://pyfora.org), an
online community of Python
On Sun, Nov 1, 2009 at 9:20 AM, Robinson wanderingaen...@comcast.net wrote:
I have also just started with both Aquamacs and Python so I ask for your
patience as well.
When I evaluate the buffer (C-c C-C) I don't see any response or output from
my python program. Should another buffer open
from python to exe
py2exe turns Python programs into packages that can be run on other
Windows computers without needing to install Python on those
computers. Python is needed on the computer where py2exe itself is run
because py2exe is a Python program and it includes parts of Python in
the
On Nov 1, 5:34 am, Dave Angel da...@ieee.org wrote:
KillSwitch wrote:
I have a C++ program, with a GUI, into which I have embedded python. I
have made several python functions in C++, one of which I use to
override the normal stdout and stderr so that they print to a text box
of my GUI.
Jason,
Thanks, but I have already tried your suggestions (which seem like
logical cause/effect actions) and nothing. There must be a python
preference or something I haven't set correctly.
There is no Aquamacs list, but I'll check further.
Thanks again for the quick reply.
On Nov 1,
On Nov 1, 7:20 pm, Robinson wanderingaen...@comcast.net wrote:
I have also just started with both Aquamacs and Python so I ask for
your patience as well.
When I evaluate the buffer (C-c C-C) I don't see any response or
output from my python program. Should another buffer open
blist 1.0.2 is now available:
http://pypi.python.org/pypi/blist/
What is blist?
--
The blist is a type that looks, acts, and quacks like a Python list, but has
better asymptotic performance when inserting or deleting elements (O(log
n)). For small lists, blists and the
Peng Yu wrote:
On Sat, Oct 31, 2009 at 11:40 PM, Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
Oh wait, I get it... you want to do a global search-and-replace over the
entire file. *face-palm*
Yes. You get it.
In any capable programmer's editor, it should not be hard to do a
Peng Yu wrote:
On Sat, Oct 31, 2009 at 11:43 PM, Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
On Sat, 31 Oct 2009 22:54:47 -0500, Peng Yu wrote:
So python would not be able to accommodate my preference one
class/function per file?
Of course it does! You can do that RIGHT NOW
Hi
Maybe this is maybe something it has been answered somewhere but I haven't
been able to make it work. I wanna pass one variable to a callback function
and I've read the proper way is:
Button(.., command=lambda: function(x))
So with
def function(a): print a
I get the value of x. Ok.
Lord Eldritch wrote:
Hi
Maybe this is maybe something it has been answered somewhere but I haven't
been able to make it work. I wanna pass one variable to a callback function
and I've read the proper way is:
Button(.., command=lambda: function(x))
So with
def function(a): print a
I
Hi
Maybe this is maybe something it has been answered somewhere but I haven't
been able to make it work. I wanna pass one variable to a callback function
and I've read the proper way is:
Button(.., command=lambda: function(x))
So with
def function(a): print a
I get the value of x. Ok.
En Sun, 01 Nov 2009 02:54:15 -0300, Steven D'Aprano
st...@remove-this-cybersource.com.au escribió:
On Sun, 01 Nov 2009 01:38:16 -0300, Gabriel Genellina wrote:
Incorrect. Simplicity of implementation and API is a virtue, in and of
itself. The existing module machinery is quite simple to
Steven D'Aprano wrote:
There are an infinite number of empty sets that differ according to their
construction:
The set of all American Presidents called Boris Nogoodnik.
The set of all human languages with exactly one noun and one verb.
The set of all fire-breathing mammals.
The set of
On Fri, 30 Oct 2009 03:26:45 -, Alf P. Steinbach al...@start.no
wrote:
* Rhodri James:
On Thu, 29 Oct 2009 16:53:05 -, Alf P. Steinbach al...@start.no
wrote:
with the best knowledge of the program's environment, is unable to
handle (such as delete) files or folders with paths
Before we start, can I just say that I find Google Docs loathsome?
On Sat, 31 Oct 2009 07:40:36 -, Alf P. Steinbach al...@start.no
wrote:
I hope this new version of ch 1 is, well, better, addresses some of the
concerns raised? g
Section 1.1 needs serious work. You have a very
En Sun, 01 Nov 2009 13:34:44 -0300, KillSwitch gu.yakahug...@gmail.com
escribió:
On Nov 1, 5:34 am, Dave Angel da...@ieee.org wrote:
KillSwitch wrote:
I have a C++ program, with a GUI, into which I have embedded python. I
have made several python functions in C++, one of which I use to
Hi,
I have a list that contains custom objects. When printing the list,
I'd like to have a readable result, i.e. I'd like to see the output of
the __str__ functions. See an example below. When I call print li, I
would like to get [3, 5]. How to do that?
Thanks,
Laszlo
==
class
* Rhodri James:
On Fri, 30 Oct 2009 03:26:45 -, Alf P. Steinbach al...@start.no
wrote:
* Rhodri James:
On Thu, 29 Oct 2009 16:53:05 -, Alf P. Steinbach al...@start.no
wrote:
with the best knowledge of the program's environment, is unable to
handle (such as delete) files or folders
* Rhodri James:
Before we start, can I just say that I find Google Docs loathsome?
On Sat, 31 Oct 2009 07:40:36 -, Alf P. Steinbach al...@start.no
wrote:
I hope this new version of ch 1 is, well, better, addresses some of
the concerns raised? g
Section 1.1 needs serious work.
Could
Jabba Laci schrieb:
Hi,
I have a list that contains custom objects. When printing the list,
I'd like to have a readable result, i.e. I'd like to see the output of
the __str__ functions. See an example below. When I call print li, I
would like to get [3, 5]. How to do that?
Use __repr__
In message mailman.2418.1257062992.2807.python-l...@python.org, Carsten
Haese wrote:
Lawrence D'Oliveiro wrote:
In message mailman.2397.1257034364.2807.python-l...@python.org,
Carsten Haese wrote:
On what grounds are you asserting that it's not necessary to mix the
two? Please elaborate
Gabriel Genellina wrote:
[snip]
One way to avoid name clashes would be to put the entire standard
library under a package; a program that wants the standard re
module would write import std.re instead of import re, or
something similar. Every time the std package is suggested, the
main argument
I recently asked how to support one class/function per module under
the title 'How to import only one module in a package when the package
__init__.py has already imports the modules?' I summarize my key
points below. In particular, I have to two questions:
1. What disadvantages there are to
Peng Yu schrieb:
I recently asked how to support one class/function per module under
the title 'How to import only one module in a package when the package
__init__.py has already imports the modules?' I summarize my key
points below. In particular, I have to two questions:
1. What disadvantages
Lawrence D'Oliveiro wrote:
Says someone who hasn't realized where the real inefficiencies are. Remember
what Tony Hoare told us: premature optimization is the root of all evil.
These are databases we're talking about. Real-world databases are large, and
reside on disk, which is several
Peng Yu wrote:
So far, I haven't find one. It seems impossible in python, but I want
to double check if there is one solution.
We have already told you more than twice that the answer is No. Please don't
triple check.
--
Robert Kern
I have come to believe that the whole world is an
On Sun, 01 Nov 2009 17:34:19 -0300, Gabriel Genellina wrote:
En Sun, 01 Nov 2009 02:54:15 -0300, Steven D'Aprano
st...@remove-this-cybersource.com.au escribió:
On Sun, 01 Nov 2009 01:38:16 -0300, Gabriel Genellina wrote:
Incorrect. Simplicity of implementation and API is a virtue, in and
On Sun, 01 Nov 2009 21:32:15 +0100, Mick Krippendorf wrote:
When we want find out if two sets s1 and s2 are the same we only need to
look at their extensions, so given:
(i s1)(Ay)(y e s1 - y is a fire-breathing animal) (i s2)(Ay)(y e s2
- y is a real number equal to sqrt(-1))
we only
On Sun, 01 Nov 2009 13:46:42 -0600, Robert Kern wrote:
Peng Yu wrote:
On Sat, Oct 31, 2009 at 11:40 PM, Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
Oh wait, I get it... you want to do a global search-and-replace over
the entire file. *face-palm*
Yes. You get it.
In
On Sun, 01 Nov 2009 08:07:37 -0600, Peng Yu wrote:
It is
reasonable to assume the log of the number of states of a function or a
class is proportional to it length. Hence, when a function or a
class is long, you will never be able to test all its states.
def f(n):
return n + 5
def
* MRAB:
Lord Eldritch wrote:
Hi
Maybe this is maybe something it has been answered somewhere but I
haven't been able to make it work. I wanna pass one variable to a
callback function and I've read the proper way is:
Button(.., command=lambda: function(x))
So with
def function(a):
Robert Kern wrote:
On 2009-10-31 19:16 PM, Peng Yu wrote:
On Sat, Oct 31, 2009 at 7:02 PM, Robert Kernrobert.k...@gmail.com
wrote:
On 2009-10-31 18:51 PM, Peng Yu wrote:
If I have both the directory 'module' and the file 'module.py' in a
directory in $PYTHONPATH, python will import 'module'
hello,
I've an AutoIt program that set some switches in the LAN settings.
When I launch the AutoIt executable, the settings are changed immediately.
When I launch the AutoIt executable from python (which is the intention),
it hangs for about 20 seconds, before any action appears on the screen.
On Sun, 01 Nov 2009 21:20:20 -, Alf P. Steinbach al...@start.no
wrote:
* Rhodri James:
This is a weird attribution style, by the way. I don't think it helps.
On Fri, 30 Oct 2009 03:26:45 -, Alf P. Steinbach al...@start.no
wrote:
* Rhodri James:
On Thu, 29 Oct 2009 16:53:05
* Rhodri James:
On Sun, 01 Nov 2009 21:20:20 -, Alf P. Steinbach al...@start.no
wrote:
* Rhodri James:
This is a weird attribution style, by the way. I don't think it helps.
That's a pretty weird thing to comment on.
And as far as I can see the comment doesn't make sense except as
On Nov 2, 8:11 am, Peng Yu pengyu...@gmail.com wrote:
I prefer organized my code one class/function per file (i.e per module
in python). I know the majority of programmers don't use this
approach. Therefore, I'm wondering what its disadvantage is.
You mean, what disadvantages it has _other_
Steven D'Aprano wrote:
On Sun, 01 Nov 2009 21:32:15 +0100, Mick Krippendorf wrote:
(Ax)(x is a fire-breathing animal - x is a real number equal to
sqrt(-1)).
And since there are neither such things, it follows that s1 = s2.
That assumes that all({}) is defined as true. That is a common
On Sun, Nov 1, 2009 at 7:02 PM, alex23 wuwe...@gmail.com wrote:
On Nov 2, 8:11 am, Peng Yu pengyu...@gmail.com wrote:
I prefer organized my code one class/function per file (i.e per module
in python). I know the majority of programmers don't use this
approach. Therefore, I'm wondering what its
On 11月2日, 上午9时27分, Peng Yu pengyu...@gmail.com wrote:
On Sun, Nov 1, 2009 at 7:02 PM, alex23 wuwe...@gmail.com wrote:
On Nov 2, 8:11 am, Peng Yu pengyu...@gmail.com wrote:
I prefer organized my code one class/function per file (i.e per module
in python). I know the majority of programmers
Saketh saketh.bhamidip...@gmail.com wrote:
If you have any suggestions, let me know -- this is a community
effort!
I'd like to suggest Pyaspora as a more apropos name ;)
--
http://mail.python.org/mailman/listinfo/python-list
Gabriel Genellina wrote:
En Sun, 01 Nov 2009 13:34:44 -0300, KillSwitch
gu.yakahug...@gmail.com escribió:
On Nov 1, 5:34 am, Dave Angel da...@ieee.org wrote:
KillSwitch wrote:
I have a C++ program, with a GUI, into which I have embedded
python. I
have made several python functions in
Peng Yu pengyu...@gmail.com wrote:
So I am asking disadvantages besides python import mechanism is not
friendly to it.
Which part of name collisions have to be resolved somehow isn't
explicit enough for you?
You can't keep saying this works in C++ while refusing to accept
that this is an
Richard Heathfield wrote:
... so I cheerfully installed it on the
user's desktop machine (Windows ME, would you believe), and then set
about configuring the reader, when... ouch! No PDF reader on the
machine. Not even an ancient Adobe version. Oh dear. Program suddenly
rendered completely
Peng Yu wrote:
snip
Some people mentioned an good IDE can do 1 and 4. But I'm not aware of
an IDE that can allow me to change file name freely. I tried Visual
Studio long time ago, I have to delete a file, change the file name
and add the file back in order to change the file.
I use Komodo
Hello,
i have some text document to parse.
sample text is such like follow
in this document, i would like to extract such like
SUBJECT = 'NETHERLANDS MUSIC EPA'
CONTENT = 'Michael Buble performs in Amsterdam Canadian singer Michael Buble
performs during a concert in Amsterdam, The Netherlands,
Find a new release of python-ldap:
http://www.python-ldap.org/
python-ldap provides an object-oriented API to access LDAP directory
servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for
that purpose. Additionally it contains modules for other LDAP-related
stuff (e.g.
The November issue of The Python: Rag is available at:
http://www.pythonrag.org
A monthly, free, community run, Python magazine - issues are in pdf
format, intended for anyone interested in Python.
--
http://mail.python.org/mailman/listinfo/python-list
Saketh saketh.bhamidip...@gmail.com writes:
If you have any suggestions, let me know -- this is a community
effort!
Suggestion: Please don't make efforts to fragment the community.
Rather, please direct seekers to the existing forums (the IRC channel,
the Usenet groups and mailing lists)
There are an infinite number of empty sets
that differ according to their construction:
The set of all fire-breathing mammals.
Apparently, you have never been a witness
to someone who recently ingested one of
Cousin Chuy's Super-Burritos .. :-)
--
Stanley
Steven D'Aprano wrote:
(6) Metaphoric equivalence:
Kali is death.
Life is like a box of chocolates.
OK to here, but this one switches between metaphor and simile, and arguably,
between identity and equality.
Mel.
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 31 Oct 2009 11:15:48 -0500, Tim Johnson wrote:
Many programmers I know stay away from 'lists' such as this, because
they are afraid to show their ignorance. Me, I'm fearless, and I have
learned a lot that I might not have otherwise.
The only stupid question is the one you are afraid
I've problem to find something that give that physical effect
( like a spring).
Any idea?
You may find VPython useful for simulating physical effects
http://www.vpython.org/
Examples including a couple that are spring-related
Thad Smith thadsm...@acm.org writes:
Richard Heathfield wrote:
... so I cheerfully installed it on the user's desktop machine
(Windows ME, would you believe), and then set about configuring the
reader, when... ouch! No PDF reader on the machine. Not even an
ancient Adobe version. Oh dear.
Hi,
im using win32com 's webbrowser module.
i have some question about it..
is it possible to disable image loading to speed up webpage load?
any help ,much appreciate
thanks in advance
--
View this message in context:
On Nov 2, 3:11 am, Peng Yu pengyu...@gmail.com wrote:
I recently asked how to support one class/function per module under
the title 'How to import only one module in a package when the package
__init__.py has already imports the modules?' I summarize my key
points below. In particular, I have
On Oct 31, 12:48 pm, elca high...@gmail.com wrote:
Hello,
i have some text document to parse.
sample text is such like follow
in this document, i would like to extract such like
SUBJECT = 'NETHERLANDS MUSIC EPA'
CONTENT = 'Michael Buble performs in Amsterdam Canadian singer Michael Buble
Alf P. Steinbach wrote:
* MRAB:
Thank you all! It is working now nicely! God! I love usenet..:D
--
Lord Eldritch
--
http://mail.python.org/mailman/listinfo/python-list
You can try this: http://processingjs.org
On Fri, Oct 30, 2009 at 5:26 AM, pochis40 pochi...@yahoo.it wrote:
I'm trying to write in Python something similar to this:
(Java)
http://java.sun.com/applets/jdk/1.4/demo/applets/GraphLayout/example1.html
or these:
(Proce55ing)
On Sun, 01 Nov 2009 18:33:57 -0800, alex23 wrote:
Peng Yu pengyu...@gmail.com wrote:
So I am asking disadvantages besides python import mechanism is not
friendly to it.
Which part of name collisions have to be resolved somehow isn't
explicit enough for you?
You can't keep saying this
En Sun, 01 Nov 2009 19:01:42 -0300, MRAB pyt...@mrabarnett.plus.com
escribió:
Gabriel Genellina wrote:
One way to avoid name clashes would be to put the entire standard
library under a package; a program that wants the standard re
module would write import std.re instead of import re, or
En Sun, 01 Nov 2009 19:51:04 -0300, Steven D'Aprano
st...@remove-this-cybersource.com.au escribió:
On Sun, 01 Nov 2009 17:34:19 -0300, Gabriel Genellina wrote:
En Sun, 01 Nov 2009 02:54:15 -0300, Steven D'Aprano escribió:
Shadowing a standard library module
is no different.
But that's
En Sun, 01 Nov 2009 22:27:32 -0300, Peng Yu pengyu...@gmail.com escribió:
On Sun, Nov 1, 2009 at 7:02 PM, alex23 wuwe...@gmail.com wrote:
On Nov 2, 8:11 am, Peng Yu pengyu...@gmail.com wrote:
I prefer organized my code one class/function per file (i.e per module
in python). I know the
En Sun, 01 Nov 2009 23:13:10 -0300, Dave Angel da...@ieee.org escribió:
Gabriel Genellina wrote:
En Sun, 01 Nov 2009 13:34:44 -0300, KillSwitch
gu.yakahug...@gmail.com escribió:
On Nov 1, 5:34 am, Dave Angel da...@ieee.org wrote:
KillSwitch wrote:
I have a C++ program, with a GUI, into
I'd like to do:
resultlist = operandlist1 + operandlist2
where for example
operandlist1=[1,2,3,4,5]
operandlist2=[5,4,3,2,1]
and resultlist will become [6,6,6,6,6]. Using map(), I
can do:
map(lambda op1,op2: op1 + op2, operandlist1, operandlist2)
Is there any reasonable way to do this via a
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
I created the patch to improve test which was checked in r76004. This
patch checks if correct elements are returned even when RuntimeError is
raised. Could you take a look?
--
Added file:
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
correct elements are returned even when RuntimeError is
raised.
Or maybe it is not guaranteed. :-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7244
Mike Frysinger vap...@users.sourceforge.net added the comment:
AC_TRY_RUN is already documented:
http://www.gnu.org/software/autoconf/manual/html_node/Obsolete-Macros.html#index-AC_005fTRY_005fRUN-1992
there are a bunch of distros out there (like OE and Gentoo) that have
been maintaining
ali mr.da...@gmail.com added the comment:
?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7217
___
___
Python-bugs-list mailing list
Antoine Pitrou pit...@free.fr added the comment:
The explanation seems to be that some systems (including RDM's buildbot)
have slightly bizarre mtime behaviour:
$ date python -c 'import os; os.link(setup.py, t/c)' stat t
date
Sun Nov 1 09:49:04 EST 2009
File: `t'
Size: 144
Antoine Pitrou pit...@free.fr added the comment:
Ok, here is a patch which seems to fix the problem reliably on RDM's
buildbot. Ezio, can you give it a try?
--
Added file: http://bugs.python.org/file15246/maildir.patch
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
PS: this is the kind of traces I had when running TestMaildir on David's
buildbot:
at 1257086460.18, linking/renaming ... mtime of
'/home/pitrou/trunk/@test_23145_tmp/new' is now 1257086459.0
at 1257086460.21, linking/renaming ... mtime of
Antoine Pitrou pit...@free.fr added the comment:
Please note that the Windows buildbot shows another error:
==
ERROR: test_debuglevel (test.test_telnetlib.OptionTests)
New submission from Avihu Turzion av...@turzion.com:
When I have the following code:
blah.py
===
import getpass
nothing = getpass.getpass(blah:)
And I run it like so:
sleep 5
./blah.py return
return
(I write the ./blah.py and returns while the sleep occurs)
I get the following
Gregory P. Smith g...@krypto.org added the comment:
Removing a toxic person from the cc list. Mike, please go harm some other
all volunteer project.
--
nosy: -vapier
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1006238
1 - 100 of 135 matches
Mail list logo