I'm happy to announce the release of Cython 0.12.1.
== About ==
Cython is a language that makes writing C extensions for the Python
language as easy as Python itself. Cython is based on the well-known
Pyrex, but supports more cutting edge functionality and
optimizations.Cython is an ideal
Leo 4.7 beta 3 February 2, 2009
Leo 4.7 beta 3 is now available at:
http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106
Leo 4.7 beta 3 fixes all known serious bugs in Leo.
Leo is a text editor, data organizer, project manager and much more.
See:
Nobody nob...@nowhere.com writes:
A better metric is whether using N features has O(N) complexity, or O(N^2)
(where you have to understand how each feature relates to each other
feature) or even O(2^N) (where you have to understand every possible
combination of interactions).
M. Felleisen
Personally, I think it is a terribly idea to keep the source file and
byte code file in such radically different places. They should be kept
together. What you call clutter I call having the files that belong
together kept together.
I see why you think so, it's reasonable, however there is
On Feb 2, 3:28 am, Steven D'Aprano
ste...@remove.this.cybersource.com.au wrote:
There is no module numbers in the standard library, at least not in 2.5.
It's new in 2.6 (and 3.0, I think; it's there in 3.1, anyway). It
provides abstract base classes for numeric types; see the fractions
Steven D'Aprano wrote:
On Sat, 30 Jan 2010 16:58:34 +, tanix wrote:
[...]
The very idea of using a number of blanks to identify your block level
is as insane as it gets.
Not at all. People do it all the time. The very idea of expecting people
to count nested braces to identify block
Carl Banks wrote:
On Feb 1, 7:33 pm, Tim Chase python.l...@tim.thechases.com wrote:
Stephen Hansen wrote:
First, I don't shadow built in modules. Its really not very hard to avoid.
Given the comprehensive nature of the batteries-included in
Python, it's not as hard to
Exception in thread Thread-9 (most likely raised during interpreter
shutdown):
Traceback (most recent call last):
File /usr/local/lib/python2.6/threading.py, line 522, in
__bootstrap_inner
File /var/www/html/cssh.py, line 875, in run
File /var/www/html/cssh.py, line 617, in ssh_connect
On Jan 29, 7:07 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Fri, 29 Jan 2010 14:49:06 -0800, Jonathan Gardner wrote:
On Jan 28, 3:52 pm, elsa kerensael...@hotmail.com wrote:
I've got a problem with my program, in that the code just takes too
long to run. Here's what
Everyone,
I'm pleased to annouce the final release of GMPY 1.11.
GMPY is a wrapper for the MPIR or GMP multiple-precision
arithmetic library. GMPY 1.11 is available for download from:
http://code.google.com/p/gmpy/
In addition to support for Python 3.x, there are several new
features in this
Hello,
I've seen many messages and bug reports on popen2 about pipes, buffer
size problems, sub-processes not properly closed, race conditions,
popen2 not being thread safe... But I still can't figure what applies
to my case.
This piece of code:
#!/usr/bin/python
import threading
import popen2
Masklinn wrote:
When trying to load the following config file, I get an error
``ConfigParser.NoOptionError: No option 'handlers' in section: 'logger_0'`` (in
both Python 2.6.4 and Python 3.1.1 on OSX, obviously ConfigParser is spelled
configparser in 3.1):
[loggers]
keys=root,0
On Tue, Feb 2, 2010 at 3:20 AM, mk mrk...@gmail.com wrote:
Exception in thread Thread-9 (most likely raised during interpreter
shutdown):
Traceback (most recent call last):
File /usr/local/lib/python2.6/threading.py, line 522, in
__bootstrap_inner
File /var/www/html/cssh.py, line 875, in
Hello,
Is there an easy way to get an editing (readline) in Python that would
contain string for editing and would not just be empty?
I googled but found nothing.
Regards,
mk
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Feb 2, 2010 at 5:24 AM, mk mrk...@gmail.com wrote:
Hello,
Is there an easy way to get an editing (readline) in Python that would
contain string for editing and would not just be empty?
I googled but found nothing.
Er...: http://docs.python.org/library/readline.html
It's the third
Le Tue, 02 Feb 2010 00:12:34 +0100, Martin v. Loewis a écrit :
recv_into() should simply be fixed to use the new buffer API, as it
does in 3.x.
I don't think that's the full solution. The array module should also
implement the new buffer API, so that it would also fail with the old
mk wrote:
Is there an easy way to get an editing (readline) in Python that would
contain string for editing and would not just be empty?
http://mail.python.org/pipermail/python-list/2009-June/1209309.html
Peter
--
http://mail.python.org/mailman/listinfo/python-list
Let me preface everything by thanking you and all those who
replied for their comments.
I have only one follow-up question (or rather, set of related
questions) that I'm very keen about, plus a bit of a vent at the
end.
In pan.2010.02.02.03.28...@remove.this.cybersource.com.au Steven D'Aprano
Peter Otten wrote:
mk wrote:
Is there an easy way to get an editing (readline) in Python that would
contain string for editing and would not just be empty?
http://mail.python.org/pipermail/python-list/2009-June/1209309.html
Peter
Thanks a lot! Just what I needed.
Regards,
mk
--
[snip]
2. side effect of (maybe) leaking the iterator variable value into
the code following the loop (if the iterator is not empty).
So? it is sometime useful.
Except that you can't guarantee that it will be set since the for loop
will not execute if the iterable is empty.
I can take care
On 2010-02-02, Roy Smith r...@panix.com wrote:
In article hk82uv$8k...@reader1.panix.com, kj no.em...@please.post
wrote:
Through a *lot* of trial an error I finally discovered that the
root cause of the problem was the fact that, in the same directory
as buggy.py, there is *another*
On 2010-02-02, VYAS ASHISH M-NTB837 ashish.v...@motorola.com wrote:
Dear All
I want to capture tcp packets in python. I need to do this on both
Windows and Linux on python3.1
I came across the following:
http://sourceforge.net/projects/pycap/
http://sourceforge.net/projects/pylibpcap/
On Tue, Feb 2, 2010 at 6:13 AM, kj no.em...@please.post wrote:
In pan.2010.02.02.03.28...@remove.this.cybersource.com.au Steven
D'Aprano ste...@remove.this.cybersource.com.au writes:
As for fixing it, unfortunately it's not quite so simple to fix without
breaking backwards-compatibility. The
Jonathan Gardner wrote:
One of the bad things with languages like perl and Ruby that call
without parentheses is that getting a function ref is not obvious. You
need even more syntax to do so. In perl:
foo(); # Call 'foo' with no args.
$bar = foo; # Call 'foo; with no args, assign to
Jean-Michel Pichavant wrote:
To add a custom level, I would proceed that way:
logging.ALERT = 45
logging.addLevelName(logging.ALERT, 'ALERT !!')
logging.getLogger().log(logging.ALERT, 'test')
Passing a string to the log method as you did is incorrect.
I know it's currently incorrect. My point
Leo 4.7 beta 3 February 2, 2009
Leo 4.7 beta 3 is now available at:
http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106
Leo 4.7 beta 3 fixes all known serious bugs in Leo.
Leo is a text editor, data organizer, project manager and much more.
See:
I've a main function called i.e. *foo()* which has a block of code
that is repetead several times (for the error catching code and error
reporting), but that code has a return to exit of *foo()*
---
foo():
...
if self.background:
_log.exception(str(error))
return
Masklinn wrote:
Jean-Michel Pichavant wrote:
To add a custom level, I would proceed that way:
logging.ALERT = 45
logging.addLevelName(logging.ALERT, 'ALERT !!')
logging.getLogger().log(logging.ALERT, 'test')
Passing a string to the log method as you did is incorrect.
I know it's
Joan Miller pelok...@gmail.com writes:
I've a main function called i.e. *foo()* which has a block of code
that is repetead several times (for the error catching code and error
reporting), but that code has a return to exit of *foo()*
---
foo():
...
if self.background:
On 2 feb, 16:55, Arnaud Delobelle arno...@googlemail.com wrote:
Joan Miller pelok...@gmail.com writes:
I've a main function called i.e. *foo()* which has a block of code
that is repetead several times (for the error catching code and error
reporting), but that code has a return to exit of
On Tue, 02 Feb 2010 15:00:28 +, Grant Edwards wrote:
It turns out that buggy.py imports psycopg2, as you can see, and
apparently psycopg2 (or something imported by psycopg2) tries to
import some standard Python module called numbers; instead it ends
up importing the innocent
Joan Miller wrote:
I've a main function called i.e. *foo()* which has a block of code
that is repetead several times (for the error catching code and error
reporting), but that code has a return to exit of *foo()*
---
foo():
...
if self.background:
* Nobody:
On Tue, 02 Feb 2010 15:00:28 +, Grant Edwards wrote:
It turns out that buggy.py imports psycopg2, as you can see, and
apparently psycopg2 (or something imported by psycopg2) tries to
import some standard Python module called numbers; instead it ends
up importing the innocent
On 2/2/2010 9:13 AM, kj wrote:
As for fixing it, unfortunately it's not quite so simple to fix without
breaking backwards-compatibility. The opportunity to do so for Python 3.0
was missed.
This last point is to me the most befuddling of all. Does anyone
know why this opportunity was missed
What does this vText() annotation mean in a returned list:-
[['Apr 19', vText(u'PAYE'), ''], ['Mar 31', vText(u'VAT'), ''], ['May 19',
vText(u'Year end PAYE'), '']]
I *guess* it's some sort of indication of non-constant text, I need a
way to make it constant (well, to get a constant copy of
On Feb 2, 9:02 am, Nobody nob...@nowhere.com wrote:
I don't know if that's necessary. Only supporting the foo.h case would
work fine if Python behaved like gcc, i.e. if the current directory
referred to the directory contain the file performing the import rather
than in the process' CWD.
As
On Feb 2, 2:49 am, Jean-Michel Pichavant jeanmic...@sequans.com
wrote:
Carl Banks wrote:
Name your modules send_email.py or sort_email.py or if it's a
library module of related functions, email_handling.py. Modules and
scripts do things (usually), they should be given action words as
tinn...@isbd.co.uk writes:
What does this vText() annotation mean in a returned list:-
[['Apr 19', vText(u'PAYE'), ''],
It means your list contains an instance of a class whose __repr__()
method returns vText(u'PAYE'). If it follows common practice, the
class is probably named vText.
Clearly it was added to work with an array, and it's
being used with an array. Why shouldn't people use it
with Python 2.x?
Because it's not thread-safe; it may crash the interpreter if used
incorrectly.
Of course, if you don't share the array across threads, it can be safe
to use.
Regards,
Carl Banks wrote:
On Feb 2, 2:49 am, Jean-Michel Pichavant jeanmic...@sequans.com
wrote:
Carl Banks wrote:
Name your modules send_email.py or sort_email.py or if it's a
library module of related functions, email_handling.py. Modules and
scripts do things (usually), they should be
In mailman.1795.1265135424.28905.python-l...@python.org Terry Reedy
tjre...@udel.edu writes:
On 2/2/2010 9:13 AM, kj wrote:
As for fixing it, unfortunately it's not quite so simple to fix without
breaking backwards-compatibility. The opportunity to do so for Python 3.0
was missed.
This
An instructive lesson in YAGNI (you aren't going to need it),
premature optimization, and not making assumptions about Python data
structure implementations.
I need a 1000 x 1000 two-dimensional array of objects. (Since they are
instances of application classes it appears that the array
On Feb 2, 11:07 am, Jean-Michel Pichavant jeanmic...@sequans.com
wrote:
Carl Banks wrote:
On Feb 2, 2:49 am, Jean-Michel Pichavant jeanmic...@sequans.com
wrote:
Carl Banks wrote:
Name your modules send_email.py or sort_email.py or if it's a
library module of related functions,
Did you try it with an array object using the array module?
On Tue, Feb 2, 2010 at 3:14 PM, Mitchell L Model mlm...@comcast.net wrote:
An instructive lesson in YAGNI (you aren't going to need it), premature
optimization, and not making assumptions about Python data structure
implementations.
This is a short complaint on admin abuse on #python irc channel on
freenode.net.
Here's a log:
2010-02-02
(12:11:57 PM) The topic for #python is: NO LOL | http://pound-python.org/
| It's too early to use Python 3.x | Pasting 3 lines? Pastebin:
http://paste.pocoo.org/ | Tutorial:
Many thanks to all who replied to my questions re. SQLite connections,
cursors and threading.
Looks like I have got some reading to do regarding connection pooling and
a decent SQLite ORM package. Does anyone know of any which are Python 3
compatible?
Many thanks,
Alanj
--
I've started on ch 3 of my beginner's intro to programming, now delving into the
details of the Python language.
It's just a few pages yet, file [03 asd.pdf] (no real title yet!) at url:
http://tinyurl.com/programmingbookP3 which is at Google Docs.
The first topic is about assertions and
On 08:36 pm, gerald.brit...@gmail.com wrote:
On Tue, Feb 2, 2010 at 3:14 PM, Mitchell L Model mlm...@comcast.net
wrote:
I need a 1000 x 1000 two-dimensional array of objects. (Since they are
instances of application classes it appears that the array module is
useless;
Did you try it with an
Hi,
Sorry for being vague but here my question about converting an xml into
a dict. I found some examples online but none gives the dict/result I
want. The xml looks like this:
doc
stats name=position1 description=Calculation statistics
kind=position
stats name=time description=Timing
On Feb 2, 12:54 pm, Alf P. Steinbach al...@start.no wrote:
The first topic is about assertions and exceptions. I wonder whether this text
is easy or difficult to understand for a beginner. Or any improvements that
could be made.
To my eyes it reads nicely. You may want to try it out on a real
I am creating custom widgets for the PyQt4 Designer. I can create
custom properties, but I'm looking for how to create a custom property
that has a combo box drop down. I've seen them in the example widgets
and tried following them, but they are using pre-defined items to
populate their property,
I'm trying to build PyObjC from source (because the binary doesn't work
on OSX 10.5) and I can't figure out how to get all the dependencies
downloaded automatically. Am I missing something?
--
Aahz (a...@pythoncraft.com) * http://www.pythoncraft.com/
import antigravity
--
On Feb 2, 12:40 pm, Xah Lee xah...@gmail.com wrote:
(12:12:16 PM) xahlee: is hash={} and hash.clean() identical?
I think you mean hash.clear() instead of hash.clean()
The answer is that hash = {} will create a new dict and assign it to
hash, while hash.clear() simply guts the dict that hash
Op 2010-02-02 18:02, Nobody schreef:
On Tue, 02 Feb 2010 15:00:28 +, Grant Edwards wrote:
It turns out that buggy.py imports psycopg2, as you can see, and
apparently psycopg2 (or something imported by psycopg2) tries to
import some standard Python module called numbers; instead it ends
On Feb 1, 6:34 pm, kj no.em...@please.post wrote:
An innocuous little script, let's call it buggy.py, only 10 lines
long, and whose output should have been, at most two lines, was
quickly dumping tens of megabytes of non-printable characters to
my screen (aka gobbledygook), and in the process
On Feb 2, 2:21 am, waku w...@idi.ntnu.no wrote:
for writing new code, it's not necessarily that helpful to be *forced*
to keep with strict indenting rules. in early development phases,
code is often experimental, and parts of it may need to be blocked or
unblocked as the codebase grows, and
On Feb 1, 6:21 pm, Nobody nob...@nowhere.com wrote:
You don't need to know the entire language before you can use any of it
(if you did, Python would be deader than a certain parrot; Python's dark
corners are *really* dark).
I'm curious. What dark corners are you referring to? I can't think
On Feb 1, 6:36 pm, John Bokma j...@castleamber.com wrote:
Jonathan Gardner jgard...@jonathangardner.net writes:
One of the bad things with languages like perl
FYI: the language is called Perl, the program that executes a Perl
program is called perl.
without parentheses is that getting a
On Feb 2, 7:23 am, bartc ba...@freeuk.com wrote:
Jonathan Gardner wrote:
One of the bad things with languages like perl and Ruby that call
without parentheses is that getting a function ref is not obvious. You
need even more syntax to do so. In perl:
foo(); # Call 'foo' with no
On Feb 1, 6:50 pm, Nobody nob...@nowhere.com wrote:
On Mon, 01 Feb 2010 14:13:38 -0800, Jonathan Gardner wrote:
I judge a language's simplicity by how long it takes to explain the
complete language. That is, what minimal set of documentation do you
need to describe all of the language?
Xah Lee wrote:
This is a short complaint on admin abuse on #python irc channel on
freenode.net.
Here's a log:
2010-02-02
(12:11:57 PM) The topic for #python is: NO LOL | http://pound-python.org/
| It's too early to use Python 3.x | Pasting 3 lines? Pastebin:
http://paste.pocoo.org/ |
Jonathan Gardner jgard...@jonathangardner.net writes:
Compare with Python's syntax.
# The only way to assign
a = b
# The only way to call a function
b(...)
# The only way to access a hash or array or string or tuple
b[...]
For all of your examples, there are other ways supported. I do
On Tue, Feb 2, 2010 at 1:38 PM, Roel Schroeven
rschroev_nospam...@fastmail.fm wrote:
Apparently, contrary to my expectations, Python looks in the directory
containing the currently running script instead. That means that the
behavior of import foo depends very much on circumstances not under
On 2/2/2010 2:43 PM, kj wrote:
Inmailman.1795.1265135424.28905.python-l...@python.org Terry
Reedytjre...@udel.edu writes:
On 2/2/2010 9:13 AM, kj wrote:
As for fixing it, unfortunately it's not quite so simple to fix without
breaking backwards-compatibility. The opportunity to do so for
I know there's a performance penalty for running Python on a
multicore CPU, but how bad is it? I've read the key paper
(www.dabeaz.com/python/GIL.pdf), of course. It would be adequate
if the GIL just limited Python to running on one CPU at a time,
but it's worse than that; there's excessive
Hello.
I've been crawling the web for an answer to this one, but have come up
empty.
We can currently only use Boost 1.36 for our project, i.e. we are having
problems using later versions of Boost. We are using Boost.Python to
interface with Cheetah.
Problem:
In Boost 1.36, how do you call
On 2/2/2010 3:14 PM, Mitchell L Model wrote:
I need a 1000 x 1000 two-dimensional array of objects.
I would just use 1000 element list, with each element being a 1000
element list or array (if possible). Then l2d[i][j] works fine.
--
http://mail.python.org/mailman/listinfo/python-list
Ben Finney wrote:
Jonathan Gardner jgard...@jonathangardner.net writes:
Compare with Python's syntax.
# The only way to assign
a = b
# The only way to call a function
b(...)
# The only way to access a hash or array or string or tuple
b[...]
For all of your examples, there are other
In article mailman.1551.1264701475.28905.python-l...@python.org,
D'Arcy J.M. Cain da...@druid.net wrote:
If you have a problem and you think that regular expressions are the
solution then now you have two problems. Regex is really overkill for
the OP's problem and it certainly doesn't improve
On Feb 2, 5:01 pm, Jonathan Gardner jgard...@jonathangardner.net
wrote:
On Feb 1, 6:36 pm, John Bokma j...@castleamber.com wrote:
Jonathan Gardner jgard...@jonathangardner.net writes:
One of the bad things with languages like perl
FYI: the language is called Perl, the program that
On 11:02 pm, na...@animats.com wrote:
I know there's a performance penalty for running Python on a
multicore CPU, but how bad is it? I've read the key paper
(www.dabeaz.com/python/GIL.pdf), of course. It would be adequate
if the GIL just limited Python to running on one CPU at a time,
but
En Tue, 02 Feb 2010 02:26:57 -0300, Paul goblado...@gmail.com escribió:
I've managed to get it working and so far stable...
Glad to see you finally made it work!
Current working version:
[...]
mycppclass::callpy(funcname, args...)
m_mypymodule = PyImport_Import(pModuleName)
On 2-2-2010 21:54, Alf P. Steinbach wrote:
I've started on ch 3 of my beginner's intro to programming, now delving
into the details of the Python language.
Alf,
I think it's a good read so far. I just don't like the smilies that
occur in the text. It's a book (or article) that I'm reading,
Jonathan Gardner wrote:
On Feb 2, 7:23 am, bartc ba...@freeuk.com wrote:
Jonathan Gardner wrote:
One of the bad things with languages like perl and Ruby that call
without parentheses is that getting a function ref is not obvious.
You need even more syntax to do so. In perl:
foo(); # Call
Alf P. Steinbach wrote:
I've started on ch 3 of my beginner's intro to programming, now delving
into the details of the Python language.
It's just a few pages yet, file [03 asd.pdf] (no real title yet!) at
url: http://tinyurl.com/programmingbookP3 which is at Google Docs.
The first topic
On Feb 3, 7:54 am, Alf P. Steinbach al...@start.no wrote:
I've started on ch 3 of my beginner's intro to programming, now delving into
the
details of the Python language.
It's just a few pages yet, file [03 asd.pdf] (no real title yet!) at
url:http://tinyurl.com/programmingbookP3 which is
just wrote this essay. Comment feedback very welcome.
Python's Reference And Internal Model Of Computing Languages
Xah Lee, 2010-02-02
In Python, there are 2 ways to clear a hash: “myHash = {}” and
“myHash.clear()”. What is the difference?
↓
The difference is that “myHash={}” simply creates a
On Tue, 02 Feb 2010 09:38:07 +0100, Daniel Fetchinson wrote:
I like seeing them in the same place as the source file, because when I
start developing a module, I often end up renaming it multiple times
before it settles on a final name. When I rename or move it, I delete
the .pyc file, and
On Tue, 02 Feb 2010 12:26:16 -0800, Carl Banks wrote:
I did not propose obvious module names. I said obvious names like
email.py are bad; more descriptive names like send_email.py are better.
But surely send_email.py doesn't just send email, it parses email and
receives email as well?
--
En Tue, 02 Feb 2010 08:20:34 -0300, mk mrk...@gmail.com escribió:
Exception in thread Thread-9 (most likely raised during interpreter
shutdown):
Traceback (most recent call last):
File /var/www/html/cssh.py, line 617, in ssh_connect
type 'exceptions.AttributeError': 'NoneType' object has
On Feb 3, 9:02 am, John Nagle na...@animats.com wrote:
I know there's a performance penalty for running Python on a
multicore CPU, but how bad is it? I've read the key paper
(www.dabeaz.com/python/GIL.pdf), of course.
It's a shame that Python 3.x is dead to you, otherwise you'd be able
to
(For reasons I don't understand Stephen Hansen's posts don't show
in my news server. I became aware of his reply from a passing
reference in one of Terry Reedy's post. Then I found Hansen's post
online, and then an earlier one, and pasted the relevant portion
below.)
First, I don't shadow
In mailman.1804.1265150872.28905.python-l...@python.org Terry Reedy
tjre...@udel.edu writes:
On 2/2/2010 2:43 PM, kj wrote:
Inmailman.1795.1265135424.28905.python-l...@python.org Terry
Reedytjre...@udel.edu writes:
On 2/2/2010 9:13 AM, kj wrote:
As for fixing it, unfortunately it's not
On 2月1日, 下午8时47分, Mag Gam magaw...@gmail.com wrote:
Hello All,
I used tcpdump to capture data on my network. I would like to analyze
the data using python -- currently using ethereal and wireshark.
I would like to get certain type of packets (I can get the hex code
for them), what is the
On Tue, 2010-02-02 at 17:28 -0800, Xah Lee wrote:
I know, I know, do not feed the trolls. But this is just so *wrong*
that I can't help myself.
In Python, there are 2 ways to clear a hash:
No, no there's not. There's one way to clear a hash and there's one way
to assign a new object to a
Ryan Kelly r...@rfk.id.au writes:
I know, I know, do not feed the trolls. But this is just so *wrong*
that I can't help myself.
See: http://xkcd.com/386/
--
http://mail.python.org/mailman/listinfo/python-list
()On Feb 2, 6:46 pm, Ryan Kelly r...@rfk.id.au wrote:
On Tue, 2010-02-02 at 17:28 -0800, Xah Lee wrote:
I know, I know, do not feed the trolls. But this is just so *wrong*
that I can't help myself.
In Python, there are 2 ways to clear a hash:
No, no there's not. There's one way to
kj wrote:
(For reasons I don't understand Stephen Hansen's posts don't show
in my news server. I became aware of his reply from a passing
reference in one of Terry Reedy's post. Then I found Hansen's post
online, and then an earlier one, and pasted the relevant portion
below.)
On Feb 2, 5:49 pm, Steven D'Aprano
ste...@remove.this.cybersource.com.au wrote:
On Tue, 02 Feb 2010 12:26:16 -0800, Carl Banks wrote:
I did not propose obvious module names. I said obvious names like
email.py are bad; more descriptive names like send_email.py are better.
But surely
Paul Rubin wrote:
Ryan Kelly r...@rfk.id.au writes:
I know, I know, do not feed the trolls. But this is just so *wrong*
that I can't help myself.
See: http://xkcd.com/386/
:-)
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 02 Feb 2010 19:55:15 -0800, Carl Banks wrote:
On Feb 2, 5:49 pm, Steven D'Aprano
ste...@remove.this.cybersource.com.au wrote:
On Tue, 02 Feb 2010 12:26:16 -0800, Carl Banks wrote:
I did not propose obvious module names. I said obvious names like
email.py are bad; more descriptive
Jonathan Gardner jgard...@jonathangardner.net writes:
I can explain, in an hour, every single feature of the Python language
to an experienced programmer, all the way up to metaclasses,
Either you're a hell of a talker, or I am far, far away from being an
experienced programmer. It's advocacy
Jonathan Gardner jgard...@jonathangardner.net writes:
On Feb 1, 6:36 pm, John Bokma j...@castleamber.com wrote:
[..]
It should be $bar = \foo
Your example actually calls foo...
I rest my case. I've been programming perl professionally since 2000,
and I still make stupid, newbie mistakes
On Tue, 02 Feb 2010 23:11:49 -0600, John Bokma wrote:
Jonathan Gardner jgard...@jonathangardner.net writes:
I can explain, in an hour, every single feature of the Python language
to an experienced programmer, all the way up to metaclasses,
Either you're a hell of a talker, or I am far,
Autor: Martin Rubey
Data: 2008-10-29 09:34 +900
Dla: python-list
CC: sage-devel
Temat: calling python from lisp
http://archives.free.net.ph/message/20081029.003410.172560ac.pl.html
sys:1: RuntimeWarning: Python C API version mismatch for module pol: This
Python has API version 1013, module pol
On Feb 2, 12:45 am, casevh cas...@gmail.com wrote:
Everyone,
I'm pleased to annouce the final release of GMPY 1.11.
GMPY is a wrapper for the MPIR or GMP multiple-precision
arithmetic library. GMPY 1.11 is available for download from:
http://code.google.com/p/gmpy/
In addition to support
Steven D'Aprano ste...@remove.this.cybersource.com.au writes:
On Tue, 02 Feb 2010 23:11:49 -0600, John Bokma wrote:
Jonathan Gardner jgard...@jonathangardner.net writes:
I can explain, in an hour, every single feature of the Python language
to an experienced programmer, all the way up to
John Bokma j...@castleamber.com writes:
Steven D'Aprano ste...@remove.this.cybersource.com.au writes:
On Tue, 02 Feb 2010 23:11:49 -0600, John Bokma wrote:
Jonathan Gardner jgard...@jonathangardner.net writes:
I can explain, in an hour, every single feature of the Python language
to an
On 2/2/2010 9:02 PM, alex23 wrote:
On Feb 3, 9:02 am, John Naglena...@animats.com wrote:
I know there's a performance penalty for running Python on a
multicore CPU, but how bad is it? I've read the key paper
(www.dabeaz.com/python/GIL.pdf), of course.
It's a shame that Python 3.x is
Hi ,
I am pretty new to python , and reading up on it.
Basically I am trying to compare xml files . I know difflib have it
but it does not work out as expected. I was looking at xmldiff ,
unfortunately I am not able to find documentation how to call it from
python. Anyone knows a link or doc to
1 - 100 of 182 matches
Mail list logo