I'd like to announce an early release of pc.py.
pc.py is a layer on top of subprocess. The subprocess module
supports a rich API but is clumsy for many common use cases,
namely sync/async fork-exec, command substitution and pipelining,
all of which is trivial to do on system shells.
The goal is
Luban (http://luban.danse.us) is a python package for building (web) user
interface.
Features:
* Dynamic, ajax-based web user interface can be created using pure python (no
knowledge of javascript/ajax/etc is required)
* A set of basic and advanced widgets. For example:
- document
- form
-
On Mon, 23 Aug 2010 22:40:04 -0700, pahi sharma wrote:
I am new to python .I have a corpus which is written in Bengali and i
want to read that file using python code.Can anyone help me in this
matter.
In Python 3, I believe this should work:
f = open(filename,
On Mon, 23 Aug 2010 19:22:46 +0200, Thomas Jollans wrote:
On Monday 23 August 2010, it occurred to John O'Hagan to exclaim:
[...]
I'm not sure if I'm on the right track here design-wise. Maybe this
could be better done with inheritance (not my forte), but my first
thought is that no, the
Hi guys,
today we released LFC 1.0. This is the first final release of LFC.
LFC is a CMS based on Python, Django and jQuery.
You can find the installer here:
http://pypi.python.org/pypi/django-lfc/1.0. The installation is
described here:
Hello,
According to the documentation for the curses module, there are a number of
constants defined for various special keys (such as KEY_DOWN, KEY_UP,
KEY_BACKSPACE, etc.). However, these do not exist on my system (NetBSD 5).
Looking at _cursesmodule.c, the code that sets up the KEY_
Steven D'Aprano a écrit :
On Fri, 20 Aug 2010 17:23:23 +0200, Bruno Desthuilliers wrote:
Steven D'Aprano a écrit :
On Thu, 19 Aug 2010 22:00:16 +, Martin Gregorie wrote:
Recursion can be quite a trick to get your mind round at first
Really? Do people actually find the *concept* of
Hi!
See this code:
import os, sys, ftplib
from ftplib import FTP
ftp = FTP()
ftp.connect('ftp.anything.hu', 2121)
ftp.login('?', '?')
print ftp.getwelcome()
ftp.set_pasv(False)
ls = ftp.nlst()
for s in ls:
print \nFilename:, '%s' % s,
fsize = ftp.size(s)
print
Lawrence D'Oliveiro wrote:
In message
mailman.2230.1282037319.1673.python-l...@python.org, Jean-Michel Pichavant
wrote:
Saying that, if one intend to distribute its code, he should stick to 80
chars per line.
Why?
Because some(many ?) people cannot deal with more than 80 chars,
I perhaps should have mentioned I linked the Python curses module against
ncurses rather than BSD curses. Perhaps NetBSD's curses doesn't support this
feature, and that's why it's not included there.
In any case, I removed the relevant #defines in _cursesmodule.c and got a
Python that includes
Almar Klein almar.klein at gmail.com writes:
A year ago or so I designed a simple file format that could do that and is
also
human readable (binary data is compressed and then base64 encoded). I use it
extensively to store experiment data for my research and also for
configuration
files
On 2010-08-24, Bill Green b...@supposedly.org wrote:
... but these
constants (for the arrow keys at least) seem not to match the actual
keycodes.
After looking at the documentation again I've realized I needed to enable keypad
mode on the window for curses to catch the escape codes, and now
In message mailman.0.1282642167.29448.python-l...@python.org, Jean-Michel
Pichavant wrote:
Lawrence D'Oliveiro wrote:
In message
mailman.2230.1282037319.1673.python-l...@python.org, Jean-Michel
Pichavant wrote:
Saying that, if one intend to distribute its code, he should stick to 80
In message pan.2010.08.19.23.07.11.984...@nowhere.com, Nobody wrote:
1. There are far more permission types than just rwx.
One thing Windows lacks is the ability to replace files that are currently
open by another process. This is why Windows software updates require so
many reboots. On
In message
eb32afd4-a231-4582-89c8-e927c2ff6...@t5g2000prd.googlegroups.com, George
Oliver wrote:
I currently use Thunderbird + Muttator, which is a nice setup; but, it
has some clunky parts, and I thought it might be simpler in the end to
start fresh than try to engage with what seems to be
In message mailman.2311.1282230005.1673.python-l...@python.org, Alex Hall
wrote:
def __eq__(self, obj):
if self.a==obj.a and self.b==obj.b: return True
return False
Is there a “Useless Use Of ...” award category for these “if boolean then
return True; else return False” constructs?
--
On 24 August 2010 11:46, Mark Leander mark.lean...@topicbranch.net wrote:
Almar Klein almar.klein at gmail.com writes:
A year ago or so I designed a simple file format that could do that and
is also
human readable (binary data is compressed and then base64 encoded). I use
it
extensively
Paulo da Silva wrote:
Em 23-08-2010 04:30, James Mills escreveu:
On Mon, Aug 23, 2010 at 12:49 PM, Paulo da Silva
psdasilva.nos...@netcabonospam.pt wrote:
I understand the concept of a static method.
However I don't know what is a class method.
Would anybody pls. explain me?
John O'Hagan wrote:
I want to know the best way to organise a bunch of functions designed to
operate on instances of a given class without cluttering the class itself with
a bunch of unrelated methods.
What I've done is make what I think are called helper classes, each of which
are
www.127760.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
On 24 Aug, 01:00, Hugh Aguilar hughaguila...@yahoo.com wrote:
On Aug 21, 12:32 pm, Alex McDonald b...@rivadpm.com wrote:
Scintilla gets about 2,080,000 results on google; blather gets
about 876,000 results. O Hugh, you pseudo-intellectual you!
with gutter language such as
turd
On 8/23/2010 4:22 PM, Hrvoje Niksic wrote:
Tim Daneliuk tun...@tundraware.com writes:
You can get away with this because all string objects appear to point to
common
method objects. That is,: id(a.lower) == id(b.lower)
A side note: your use of `id' has misled you. id(X)==id(Y) is
On Aug 20, 12:27 am, Tim Daneliuk tun...@tundraware.com wrote:
Problem:
Given tuples in the form (key, string), use 'key' to determine
what string method to apply to the string:
key operation
---
l lower()
u
Lawrence D'Oliveiro l...@geek-central.gen.new_zealand writes:
In message mailman.2311.1282230005.1673.python-l...@python.org, Alex Hall
wrote:
def __eq__(self, obj):
if self.a==obj.a and self.b==obj.b: return True
return False
Is there a “Useless Use Of ...” award category for these
Hi durumdara,
On 2010-08-24 11:21, durumdara wrote:
def CallBack(Data):
d['size'] = d['size'] + len(Data)
d['buffer'].append(Data)
percent = (d['size'] / float(fsize)) * 100
percentp10 = int(percent/10)
if percentp10 d['lastpercentp10']:
In article mailman.1857.1281373933.1673.python-l...@python.org,
Terry Reedy tjre...@udel.edu wrote:
Changing a list while iterating through it is possible, sometimes
useful, but error prone, especially with insert or delete. Changing a
dict while iterating through it is prohibited since the
In article mailman.1895.1281422126.1673.python-l...@python.org,
Stefan Behnel stefan...@behnel.de wrote:
Christian Heimes, 10.08.2010 01:39:
Am 10.08.2010 01:20, schrieb Aahz:
The docs say, Parses an XML section into an element tree incrementally.
Sure sounds like it retains the entire parsed
hey guys try dis link n make account...click on view adds...click on
every add n leave it 4 60sec n once cmpleted click on my account n u
vl c tat u got $40..
http://www.fineptc.com/index.php?ref=sumit4u2010
...must try...i hav experienced and its safe
--
Hi all,
I am just starting to learn Python and I have a setup problem - I think.
Python 3.1.
I have a small test script that is not working as expected.
Start script---
# coding=utf8
import adodbapi
connectString = (
DRIVER={MySQL ODBC 5.1 Driver} ;
SERVER=127.0.0.1;
CENSORSHIP by GOOGLE NSA BUSTARDS deleted my earlier post dated
Mon, Aug 23, 2010 at 7:33 PM
from google groups. but its archived in the mailing lists linked to
the various newsgroups.
CRIMINAL MARINES Cesar Laurean Regularly RAPE GIRLS Maria Lauterbach
and KILL THEM
Is he a Jew or a white Anglo
John Bokma j...@castleamber.com writes:
On the other hand: some people I knew during my studies had no problem
at all with introducing countless memory leaks in small programs (and
turning off compiler warnings, because it gave so much noise...)
[...]
As for electrical engineering: done
i am starting to learn python and I am stuck with query I want to
generate with python
File looks something like this
TRACE: AddNewBookD {bookId 20, noofBooks 6576, authorId 41,
publishingCompanyId 7}
TRACE: AddNewBookD {bookId 21, noofBooks 6577, authorId 42,
publishingCompanyId 8}
I want to
On 8/24/2010 8:25 AM Ian Hobson said...
Hi all,
I am just starting to learn Python and I have a setup problem - I think.
Python 3.1.
snip
def connect(connection_string, timeout=30):
I expected that to be called.
What have I missed?
The current revision includes the caveat:
This
Hello!
I am working on a GUI to connect to a MySQL database using MySQLdb (code
in attached file). I define the cursor in lines 55-66 in the OnLogin
function within the LoginDlg class.
/db= MySQLdb.connect(host='localhost', user=Username , passwd=pwd,
db='Ornithobase')
self.cursor =
Dani Valverde wrote:
Hello!
I am working on a GUI to connect to a MySQL database using MySQLdb (code
in attached file). I define the cursor in lines 55-66 in the OnLogin
function within the LoginDlg class.
/db= MySQLdb.connect(host='localhost', user=Username , passwd=pwd,
Hi,
I'm trying to convert my tcsh script to python and am stuck at one part,
particularly the part of the script that looks like this:
#!/bin/tcsh
setenv LSFLOG /var/tmp/lsf_log
source /etc/setup
unalias cp
umask 0
env ${AFLOG}
What is the equivalent of doing this in python2.5?
Thanks again
On Aug 23, 10:52 pm, Martin v. Loewis mar...@v.loewis.de wrote:
Thanks Martin. That seems to work. I will file a bug report. Also, can
you describe what the problem was?
If you have / as the prefix, you get two leading slashes, e.g. for
//lib/python2.x. Any other prefix would have given you
Hello fellow Pythoneers and Pythonistas,
I'm very happy to announce the release of Python 2.6.6. A truly impressive
number of bugs have been fixed since Python 2.6.5. Source code and Windows
installers for Python 2.6.6 are now available here:
http://www.python.org/download/releases/2.6.6/
On Aug 23, 9:58 am, Darren Dale dsdal...@gmail.com wrote:
The following script runs without problems on Ubuntu and Windows 7.
h5py is a package wrapping the hdf5 library (http://code.google.com/p/
h5py/):
from multiprocessing import Pool
import h5py
def update(i):
print i
def f(i):
CENSORSHIP by GOOGLE NSA BUSTARDS deleted my earlier post dated
Mon, Aug 23, 2010 at 7:33 PM
from google groups. but its archived in the mailing lists linked to
the various newsgroups.
CRIMINAL YanQui MARINES BUSTARDS Cesar Laurean Regularly RAPE GIRLS
Maria Lauterbach and KILL THEM
Is he a Jew
CENSORSHIP by GOOGLE NSA BUSTARDS deleted my earlier post dated
Mon, Aug 23, 2010 at 7:33 PM
from google groups. but its archived in the mailing lists linked to
the various newsgroups.
CRIMINAL YanQui MARINES BUSTARDS Cesar Laurean Regularly RAPE GIRLS
Maria Lauterbach and KILL THEM
Is he a Jew
I have a short Python script that uses Tkinter to display an image.
Here is the script
===
import sys, os
from Tkinter import *
root = Tk() # A: create a global variable named root
def showPicture(imageFilename):
# global
On 08/24/2010 09:18 PM, Astan Chee wrote:
Hi,
I'm trying to convert my tcsh script to python and am stuck at one part,
particularly the part of the script that looks like this:
#!/bin/tcsh
setenv LSFLOG /var/tmp/lsf_log
source /etc/setup
unalias cp
umask 0
env ${AFLOG}
What is the
I stand corrected. I didn't know the background. Thanks for
supplying the larger picture. :-)
--
http://mail.python.org/mailman/listinfo/python-list
Hi Astan,
On 2010-08-24 21:18, Astan Chee wrote:
I'm trying to convert my tcsh script to python and am stuck at one part,
particularly the part of the script that looks like this:
#!/bin/tcsh
setenv LSFLOG /var/tmp/lsf_log
source /etc/setup
unalias cp
umask 0
env ${AFLOG}
What is
On Tue, Aug 24, 2010 at 12:18 PM, Astan Chee astan.c...@al.com.au wrote:
Hi,
I'm trying to convert my tcsh script to python and am stuck at one part,
particularly the part of the script that looks like this:
#!/bin/tcsh
setenv LSFLOG /var/tmp/lsf_log
source /etc/setup
unalias cp
umask 0
On 8/24/2010 12:18 PM Astan Chee said...
Hi,
I'm trying to convert my tcsh script to python and am stuck at one part,
particularly the part of the script that looks like this:
#!/bin/tcsh
setenv LSFLOG /var/tmp/lsf_log
source /etc/setup
unalias cp
umask 0
env ${AFLOG}
What is the equivalent
On Tuesday 24 August 2010, it occurred to Darren Dale to exclaim:
On Aug 23, 9:58 am, Darren Dale dsdal...@gmail.com wrote:
The following script runs without problems on Ubuntu and Windows 7.
h5py is a package wrapping the hdf5 library (http://code.google.com/p/
h5py/):
from
On Tuesday 24 August 2010, it occurred to News123 to exclaim:
On 08/24/2010 09:18 PM, Astan Chee wrote:
Hi,
I'm trying to convert my tcsh script to python and am stuck at one part,
particularly the part of the script that looks like this:
#!/bin/tcsh
setenv LSFLOG /var/tmp/lsf_log
On 24/08/2010 18:08, Emile van Sebille wrote:
On 8/24/2010 8:25 AM Ian Hobson said...
Hi all,
I am just starting to learn Python and I have a setup problem - I think.
Python 3.1.
snip
def connect(connection_string, timeout=30):
I expected that to be called.
What have I missed?
On Aug 24, 2010, at 12:31 PM, Barry Warsaw wrote:
Hello fellow Pythoneers and Pythonistas,
I'm very happy to announce the release of Python 2.6.6.
Thanks Barry :-)
Raymond
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
perhaps I missed this posted already somewhere.
I am got a program which reads time stings from some devices which
are providing the time zones. I have to take this into account when
doing some epoch time calculations.
When I run the following code with the time zone string set to 'GMT'
Thanks for all the help. I think Chris's answer is the one I can use. I
know its probably better to convert the /etc/setup file into python but
it'll do for now.
Also, the entire tsch script is just setting up env vars and such;
various mvs and cps. Not really executing anything.
Thanks again
Steve Ferg wrote:
I have a short Python script that uses Tkinter to display an image.
Here is the script
===
import sys, os
from Tkinter import *
root = Tk() # A: create a global variable named root
def
On Aug 24, 5:33 pm, richie05 bal richie8...@gmail.com wrote:
i am starting to learn python and I am stuck with query I want to
generate with python
File looks something like this
TRACE: AddNewBookD {bookId 20, noofBooks 6576, authorId 41,
publishingCompanyId 7}
TRACE: AddNewBookD {bookId 21,
David Kastrup wrote:
John Bokmaj...@castleamber.com writes:
On the other hand: some people I knew during my studies had no problem
at all with introducing countless memory leaks in small programs (and
turning off compiler warnings, because it gave so much noise...)
[...]
As for electrical
On 8/24/2010 1:38 PM Ian said...
On 24/08/2010 18:08, Emile van Sebille wrote:
On 8/24/2010 8:25 AM Ian Hobson said...
Hi all,
I am just starting to learn Python and I have a setup problem - I think.
Python 3.1.
snip
def connect(connection_string, timeout=30):
I expected that to be
On Aug 24, 9:45 pm, m_ahlenius ahleni...@gmail.com wrote:
whereas this fails:
myStrA = 'Sun Aug 22 19:03:06 PDT'
gTimeA = strptime( myStrA, '%a %b %d %H:%M:%S %Z')
print gTimeA = ,gTimeA
ValueError: time data 'Sun Aug 22 19:03:06 PDT' does not match format
'%a %b %d %H:%M:%S %Z'
Support
On Tue, Aug 24, 2010 at 1:45 PM, m_ahlenius ahleni...@gmail.com wrote:
Hi,
perhaps I missed this posted already somewhere.
I am got a program which reads time stings from some devices which
are providing the time zones. I have to take this into account when
doing some epoch time
On Tue, Aug 24, 2010 at 3:31 PM, Darren Dale dsdal...@gmail.com wrote:
On Aug 23, 9:58 am, Darren Dale dsdal...@gmail.com wrote:
The following script runs without problems on Ubuntu and Windows 7.
h5py is a package wrapping the hdf5 library (http://code.google.com/p/
h5py/):
from
Iran's self-defense options 'limitless' - against the YANQUI and
KHAZAR Bustards - Brilliant ANALYSIS
Iran's self-defense options 'limitless'
Tue Aug 24, 2010 12:9AM
President Mahmoud AhmadinejadIran's President Mahmoud Ahmadinejad
says
no military action is expected to be taken against the
On Aug 21, 12:18 pm, ehr...@dk3uz.ampr.org (Edmund H. Ramm) wrote:
In 2d59bfaa-2aa5-4396-bd03-22200df8c...@x21g2000yqa.googlegroups.com Hugh
Aguilar hughaguila...@yahoo.com writes:
[...]
I really recommend that people spend a lot more time writing code,
and a lot less time with all of
David Kastrup d...@gnu.org writes:
John Bokma j...@castleamber.com writes:
On the other hand: some people I knew during my studies had no problem
at all with introducing countless memory leaks in small programs (and
turning off compiler warnings, because it gave so much noise...)
[...]
On Aug 22, 11:12 am, John Bokma j...@castleamber.com wrote:
And my
experience is that a formal study in CS can't compare to home study
unless you're really good and have the time and drive to read formal
books written on CS. And my experience is that most self-educaters don't
have that time.
Hugh Aguilar wrote:
[SNIP ;]
The real problem here is that C, Forth and C++ lack automatic garbage
collection. If I have a program in which I have to worry about memory
leaks (as described above), I would be better off to ignore C, Forth
and C++ and just use a language that supports garbage
On Aug 24, 9:24 am, David Kastrup d...@gnu.org wrote:
Anybody worth his salt in his profession has a trail of broken things in
his history.
When I was employed as a Forth programmer, I worked for two brothers.
The younger one told me a funny story about when he was 13 or 14 years
old. He bought
yay new python release :)
From: raymond.hettin...@gmail.com
Date: Tue, 24 Aug 2010 13:40:11 -0700
To: ba...@python.org
CC: python-announce-l...@python.org; python-list@python.org;
python-...@python.org
Subject: Re: [Python-Dev] Released: Python 2.6.6
On Aug 24, 2010, at 12:31 PM,
In message pan.2010.08.22.04.26.33.547...@nowhere.com, Nobody wrote:
Having this as a separate permission allows normal users to add entries to
log files but not to erase existing entries.
Unix/Linux systems can do this already.
--
http://mail.python.org/mailman/listinfo/python-list
Hugh Aguilar hughaguila...@yahoo.com writes:
On Aug 22, 11:12 am, John Bokma j...@castleamber.com wrote:
And my
experience is that a formal study in CS can't compare to home study
unless you're really good and have the time and drive to read formal
books written on CS. And my experience is
On Aug 24, 4:17 pm, Richard Owlett rowl...@pcnetinc.com wrote:
Hugh Aguilar wrote:
[SNIP ;]
The real problem here is that C, Forth and C++ lack automatic garbage
collection. If I have a program in which I have to worry about memory
leaks (as described above), I would be better off to
Hugh Aguilar wrote:
On Aug 24, 4:17 pm, Richard Owlettrowl...@pcnetinc.com wrote:
Hugh Aguilar wrote:
[SNIP ;]
The real problem here is that C, Forth and C++ lack automatic garbage
collection. If I have a program in which I have to worry about memory
leaks (as described above), I would be
Hugh Aguilar hughaguila...@yahoo.com writes:
I've read a lot of graduate-level CS books.
Reading CS books doesn't make you a computer scientist any more than
listening to violin records makes you a violinist. Write out answers to
all the exercises in those books, and get your answers to the
Paul Rubin no.em...@nospam.invalid writes:
Hugh Aguilar hughaguila...@yahoo.com writes:
I've read a lot of graduate-level CS books.
Reading CS books doesn't make you a computer scientist any more than
listening to violin records makes you a violinist. Write out answers to
all the exercises
On Aug 24, 5:16 pm, Paul Rubin no.em...@nospam.invalid wrote:
Anyway, as someone else once said, studying a subject like CS isn't done
by reading. It's done by writing out answers to problem after problem.
Unless you've been doing that, you haven't been studying.
What about using what I
On Aug 21, 10:57 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
Anyway, I'm looking forward to hear why overuse of the return stack is a
big reason why people use GCC rather than Forth. (Why GCC? What about
other C compilers?) Me, in my ignorance, I thought it was because C
On Aug 24, 4:16 pm, Alex Willmer a...@moreati.org.uk wrote:
On Aug 24, 9:45 pm, m_ahlenius ahleni...@gmail.com wrote:
whereas this fails:
myStrA = 'Sun Aug 22 19:03:06 PDT'
gTimeA = strptime( myStrA, '%a %b %d %H:%M:%S %Z')
print gTimeA = ,gTimeA
ValueError: time data 'Sun Aug 22
Hugh Aguilar hughaguila...@yahoo.com writes:
On Aug 24, 5:16 pm, Paul Rubin no.em...@nospam.invalid wrote:
Anyway, as someone else once said, studying a subject like CS isn't done
by reading. It's done by writing out answers to problem after problem.
Unless you've been doing that, you
Hugh Aguilar hughaguila...@yahoo.com writes:
This is also the attitude that I find among college graduates. They
just believe what their professors told them in college, and there is
no why.
Which college is that? It doesn't agree with my experiences. In CS quite
a lot has to be proven with a
John Bokma j...@castleamber.com writes:
At an university which languages you see depend a lot on what your
teachers use themselves. A language is just a verhicle to get you from a
to b.
Addendum: or to illustrate a concept (e.g. functional programming, oop)
[..]
Like you, you mean? You
I'm a fairly new Python coder, learning along with my son (actually,
hopefully a bit ahead of him...). We're stuck on something.
As part of solving a backwards induction problem (purely as a learning
experience, we are geeks), we are going to create N objects, each of
the class interview. We
On 25/08/2010 03:49, ghoetker wrote:
I'm a fairly new Python coder, learning along with my son (actually,
hopefully a bit ahead of him...). We're stuck on something.
As part of solving a backwards induction problem (purely as a learning
experience, we are geeks), we are going to create N
Just curious if anyone had the chance to build pypy on a 64bit
environment and to see if it really makes a huge difference in
performance. Would like to hear some thoughts (or alternatives).
--
http://mail.python.org/mailman/listinfo/python-list
Respected Stefan and Tim,
Thanks very much for help.
I found DDE tutorial for 2.6 but was wondering why I can't do it in
3.X.
Thanks Stefan for pywin32. I was not knowing this tool.
Thanks again to both of you.
Regards
madhusoodan
On Aug 23, 5:12 pm, Tim Golden m...@timgolden.me.uk wrote:
jyoun...@kc.rr.com wrote in message
news:mailman.2465.1282591017.1673.python-l...@python.org...
jyoung79 at kc.rr.com writes:
- Pull out text from each PDF page (to search for specific words)
- Combine separate pdf documents into one document
- Add bookmarks (with destination settings)
PDF
On 11 Ago, 01:01, Ritchy lelis ritchy_g...@hotmail.com wrote:
On 7 Ago, 07:30, Dennis Lee Bieber wlfr...@ix.netcom.com wrote:
On Fri, 6 Aug 2010 16:47:58 -0700 (PDT), Ritchy lelis
ritchy_g...@hotmail.com declaimed the following in
gmane.comp.python.general:
Guys i'm asking if it's
Tim Golden m...@timgolden.me.uk added the comment:
I have no strong opinion, Roumen, (and no experience with the package)
but why -1 from you?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2889
Łukasz Czuja luk...@czuja.pl added the comment:
I was just playing around with the changes you made and it seems you've
overlooked a small error/typo around line 502:
502 : n elif errno == errno.EACCES:
quick fix:
502 : n elif exc.errno == errno.EACCES:
Steven Bethard steven.beth...@gmail.com added the comment:
I see. When there are no arguments you basically want to replace the standard
argparse help entirely with your own message, with your own capitalization,
etc. What you're doing now looks like a pretty good approach for this, so I
kxroberto kxrobe...@users.sourceforge.net added the comment:
for me a parser which cannot be feed with HTML from outside (which I cannot
edit myself) has not much use at all.
attached my current patch (vs. py26) - many changes meanwhile.
and a test case.
I've put the default to strict mode,
Changes by kxroberto kxrobe...@users.sourceforge.net:
--
versions: +Python 2.6, Python 2.7
Added file: http://bugs.python.org/file18624/test_htmlparser_tolerant.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1486713
New submission from Bill Green b...@supposedly.org:
_cursesmodule.c provides a list of constants, prefixed with KEY_, corresponding
to special keys (KEY_DOWN, KEY_LEFT, KEY_BACKSPACE, etc.). A portion of the
function init_curses, which implements these, is #defined out on NetBSD (at
line 2860
Tom Browder tom.brow...@gmail.com added the comment:
...
I see. When there are no arguments you basically want to replace the standard
argparse help entirely with your own message, with your own capitalization,
etc.
What you're doing now looks like a pretty good approach for this, so
I
update of
Lib/sysconfig.py test_sysconfig pass.
This patch is restored previous behaviour and now symlinked system python into
cross build tree will behave as before i.e. as expected ;)
--
Added file: http://bugs.python.org/file18625/python-trunk-20100824-CROSS.patch
/file18626/python-trunk-20100824-MINGW.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3871
___
___
Python-bugs-list mailing list
Unsubscribe:
http
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Recent ncurses pass python tests with only one small update (part of patch to
issue 3871):
=
--- ./Lib/test/test_curses.py.MINGW 2010-08-09 00:03:48.0 +0300
+++ ./Lib/test/test_curses.py
Georg Brandl ge...@python.org added the comment:
The actual implementation seems to be missing in the new patch; also the docs
are not updated.
Is it necessary to escape the slash?
--
___
Python tracker rep...@bugs.python.org
Luke Kenneth Casson Leighton l...@lkcl.net added the comment:
On Sun, Aug 8, 2010 at 12:27 AM, Éric Araujo rep...@bugs.python.org wrote:
Éric Araujo mer...@netwok.org added the comment:
FYI, distutils is frozen because even minor bug fixes have broken third-party
tools in the past, that’s
New submission from refresh refresh...@gmail.com:
when you use json.dump() on object, the strings in the file it was written to
are inside '' instead of
--
components: None
messages: 114781
nosy: refresh
priority: normal
severity: normal
status: open
title: strings in json.dump in ''
Jordan Szubert joru...@gmail.com added the comment:
could not reproduce:
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on
win32
Type help, copyright, credits or license for more information.
from cStringIO import StringIO as F
import json
json.dumps('foo')
Armin Rigo ar...@users.sourceforge.net added the comment:
Added the two tests in Lib/test/leakers as r45389 (in 2006) and r84296 (now).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1469629
1 - 100 of 233 matches
Mail list logo