Chris Jones ch...@chrisejones.com added the comment:
You can work around this issue by using:
python.exe -c import nose; nose.main()
instead of nosetests
Note that nose.main() with no args parses sys.argv
--
nosy: +Chris.Jones
___
Python tracker rep
--
http://mail.python.org/mailman/listinfo/python-list
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Mar 03, 2011 at 02:29:54PM EST, Emile van Sebille wrote:
On 3/1/2011 3:59 PM Chris Jones said...
On Tue, Mar 01, 2011 at 12:03:02PM EST, Emile van Sebille wrote:
On 3/1/2011 12:43 AM Erik de Castro Lopo said...
Why Python?
For me? Because it's executable pseudocode
On Tue, Mar 01, 2011 at 12:03:02PM EST, Emile van Sebille wrote:
On 3/1/2011 12:43 AM Erik de Castro Lopo said...
Why Python?
For me? Because it's executable pseudocode
Not for nothing, Emile.. hey.. you could end up with pseudo bugs and
pseudo headaches ..
cj
--
in current GNU/linux
distributions.. especially since it knows nothing about Unicode.
Here's the X/A+ map I came up with:
// A+ keyboard layout: /usr/share/X11/xkb/symbols/apl
// Chris Jones - 18/12/2010
// Enable via:
// $ setxkbmap -v 10 apl
default
partial alphanumeric_keys modifier_keys
On Sat, Feb 19, 2011 at 05:27:24PM EST, Cameron Simpson wrote:
[..]
Any yet I (and others, based on stuff I've seen) find info to be a
disaster. Why?
- it forces the reader to use a non-standard pager to look
at info, typically the utterly weird one that comes with the info
On Fri, Feb 18, 2011 at 06:40:17AM EST, Steven D'Aprano wrote:
On Fri, 18 Feb 2011 02:50:11 -0500, Chris Jones wrote:
Always struck me as odd that a country like Japan for instance, with
all its achievements in the industrial realm, never came up with one
single major piece of software
On Fri, Feb 11, 2011 at 09:35:56PM EST, Steven D'Aprano wrote:
On Fri, 11 Feb 2011 01:29:02 -0500, Chris Jones wrote:
labelfont = '-Adobe-Helvetica-Bold-R-Normal-*-140-*'
[...]
First of all, you need to know precisely what the above font name coding
means.
[...]
http
On Thu, Feb 17, 2011 at 09:55:47PM EST, Cor Gest wrote:
Some entity, AKA Cthun cthun_...@qmail.net.au,
[..]
And you omitted the #1 most serious objection to Xah's proposal,
rantingrick, which is that to implement it would require unrealistic
things such as replacing every 101-key keyboard
On Fri, Feb 18, 2011 at 01:30:04AM EST, Westley Martínez wrote:
On Thu, 2011-02-17 at 22:28 -0500, Chris Jones wrote:
On Thu, Feb 17, 2011 at 09:55:47PM EST, Cor Gest wrote:
Some entity, AKA Cthun cthun_...@qmail.net.au,
[..]
And you omitted the #1 most serious objection to Xah's
On Fri, Feb 18, 2011 at 12:43:37AM EST, John Nagle wrote:
On 2/17/2011 6:55 PM, Cor Gest wrote:
[..]
At least it should try to mimick a space-cadet keyboard, shouldn't
it?
I've used both the MIT Space Cadet keyboard on a Symbolics LISP
machine, and the Stanford SAIL keyboard. There's
On Thu, Feb 10, 2011 at 09:08:01PM EST, Steven D'Aprano wrote:
On Thu, 10 Feb 2011 15:48:47 +, Cousin Stanley wrote:
Steven D'Aprano wrote:
I have a tkinter application under Python 2.6 which is shows text in a
giant font, about twenty(?) times larger than expected.
The fonts
On Sat, Jan 23, 2010 at 02:45:41AM EST, Terry Reedy wrote:
On 1/22/2010 9:58 PM, Chris Jones wrote:
Do you mean I should just read the file one character at a time?
Whoops, my misdirection (you can .read(1), but this is s l o w.
I meant to suggest processing it a char at a time.
Right
I was writing a script that counts occurrences of characters in source code
files:
#!/usr/bin/python
import codecs
tcounters = {}
f = codecs.open('/home/gavron/git/screen/src/screen.c', 'r', utf-8)
for uline in f:
lline = []
for char in uline[:-1]:
lline += [char]
counters = {}
for i
On Fri, Jan 22, 2010 at 05:07:13PM EST, Arnaud Delobelle wrote:
[..]
import codecs
from collections import defaultdict
tcounters = defaultdict(int)
f = codecs.open('/home/gavron/git/screen/src/screen.c', 'r', utf-8)
for c in f.read():
tcounters[c] += 1
for c, n in
On Fri, Jan 22, 2010 at 08:46:35PM EST, Terry Reedy wrote:
On 1/22/2010 4:47 PM, Chris Jones wrote:
I was writing a script that counts occurrences of characters in source code
files:
#!/usr/bin/python
import codecs
tcounters = {}
f = codecs.open('/home/gavron/git/screen/src/screen.c', 'r
On Thu, Dec 31, 2009 at 05:06:24PM EST, Steve Howell wrote:
FYI:
http://twitter.com/gvanrossum
Python is a truly awesome programming language. Not only is Guido a
genius language designer, but he is also a great project leader. What
an accomplishment. Congratulations to everybody who
On Sun, Jan 03, 2010 at 04:19:02PM EST, Ben Finney wrote:
Chris Jones cjns1...@gmail.com writes:
Interesting to note that Guido's achievements prompt much less
response, and get much less coverage […]
The entirety of ‘comp.lang.python’ is an ongoing response to Guido van
Rossum's
On Sun, Jan 03, 2010 at 10:18:18PM EST, Ben Finney wrote:
Chris Jones cjns1...@gmail.com writes:
[..]
Sorry you missed my point.
I didn't, since I attempted to bring it back on topic by expunging the
off-topic part of your message.
Er.. what's 'off-topic' about mentioning that a couple
On Thu, Dec 03, 2009 at 07:59:30PM EST, David Robinow wrote:
On Thu, Dec 3, 2009 at 7:33 PM, Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
On Fri, 04 Dec 2009 00:52:35 +0100, Michael Ströder wrote:
Aahz wrote:
Just to be contrary, I *like* mbox.
Me too. :-)
Why?
On Tue, Nov 24, 2009 at 08:02:09AM EST, Steven D'Aprano wrote:
Good grief, it's about six weeks away from 2010 and Thunderbird still
uses mbox as it's default mail box format. Hello, the nineties called,
they want their mail formats back! Are the tbird developers on crack or
something? I
On Tue, Nov 24, 2009 at 05:43:32PM EST, Steven D'Aprano wrote:
On Tue, 24 Nov 2009 13:19:10 -0500, Chris Jones wrote:
On Tue, Nov 24, 2009 at 08:02:09AM EST, Steven D'Aprano wrote:
Good grief, it's about six weeks away from 2010 and Thunderbird still
uses mbox as it's default mail box
I noticed that when run on a 256-color capable xterm, upon exiting the
demo programs the colors in the bash shell are modified - e.g the bash
prompt, the output of colored ls commands.
For instance, due to my fiddling with dircolors, a file with executable
flags on is normally displayed in light
On Tue, Oct 27, 2009 at 06:21:11AM EDT, Lie Ryan wrote:
Chris Jones wrote:
[..]
Best part of Unicode is that there are multiple encodings, right? ;-)
No, the best part about Unicode is there is no encoding!
Unicode does not define any encoding;
RFC 3629:
ISO/IEC 10646 and Unicode define
On Wed, Oct 21, 2009 at 12:35:11PM EDT, Nobody wrote:
[..]
Characters outside the 16-bit range aren't supported on all builds.
They won't be supported on most Windows builds, as Windows uses 16-bit
Unicode extensively:
I knew nothing about UTF-16 friends before this thread.
Best part of
On Wed, Oct 21, 2009 at 12:20:35AM EDT, Nobody wrote:
On Tue, 20 Oct 2009 17:56:21 +, George Trojan wrote:
[..]
Where are the literals (i.e. u'\N{DEGREE SIGN}') defined?
You can get them from the unicodedata module, e.g.:
import unicodedata
for i in xrange(0x1):
On Sat, Oct 10, 2009 at 01:39:48AM EDT, TerryP wrote:
[..]
Having recently been put into search for a new IRC client, and
everything I've thrown in the cauldron having become a
disappointment...
OT as always, but I'm surprised you found weechat-curses disappointing.
CJ
--
On Thu, Oct 08, 2009 at 12:59:00AM EDT, TerryP wrote:
On Oct 8, 3:29 am, Chris Jones cjns1...@gmail.com wrote:
[..]
It's most valuable for sending data to an existing instance of vim, by
name. Both files and keystrokes can be sent fwiw.
[..]
On top of that, I sometimes group instances
On Wed, Oct 07, 2009 at 07:06:08PM EDT, TerryP wrote:
[..]
I am a freak: I do not use nor want syntax highlighting. I don't want
my editor to understand mail, irc, or the www either, I want it to
edit text efficiently so I can go on with the rest of my life as soon
as possible. Given the
On Thu, Oct 01, 2009 at 05:22:50AM EDT, hrg...@gmail.com wrote:
On 10/1/09, Paul Rubin http://phr...@nospam.invalid wrote:
...
By the way, I have noticed that the address in the from field in
your e-mail is set to http://phr...@nospam.invalid;. Is this supposed
to imply that my previous
On Tue, Sep 01, 2009 at 03:16:03PM EDT, r wrote:
[..]
Bring on the metric system Terry, i have been waiting all my life!!
Now, if we can only convince those 800 million Mandarin Chinese
speakers... *ahem* Do we have a Chinese translator in the house?
:-)
Between the idea
And the
On Sat, Aug 29, 2009 at 07:12:26PM EDT, Stephen Hansen wrote:
Unicode (*puke*) seems nothing more than a brain fart of morons. And
sadly it was created by CS majors who i assumed used logic and
deductive reasoning but i must be wrong. Why should the larger world
keep supporting such
On Sat, Aug 29, 2009 at 11:07:17PM EDT, Neil Hodgson wrote:
Benjamin Peterson:
Like Sanskrit or Snowman language?
Sanskrit is mostly written in Devanagari these days which is also
useful for selling things to people who speak Hindi and other Indian
languages.
Is the implication that the
Hello Paul,
This is strictly OT, but when you get a chance, could you contact me off
list at the above address?
I need your help with the From: email address specified in your posts to
the list.
Thanks,
CJ
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Jul 31, 2009 at 06:03:25PM EDT, Carl Banks wrote:
On Jul 31, 2:28 pm, kj no.em...@please.post wrote:
In e22013d0-fbad-44e0-919b-ad5bb5f2d...@g19g2000vbi.googlegroups.com Carl
Banks pavlovevide...@gmail.com writes:
(omg you have to use a
*mouse*)
That's precisely the point.
On Sun, Jun 14, 2009 at 06:42:50PM EDT, Lawrence D'Oliveiro wrote:
In message mailman.1558.1245010564.8015.python-l...@python.org, Chris
Jones wrote:
Vivaldi vs. Mozart
And the latter especially had definitely mastered his editor. Just
think of the sheer volume of the coding he
On Sun, Jun 14, 2009 at 09:04:02AM EDT, Steven D'Aprano wrote:
Nathan Stoddard wrote:
The best way to become a good programmer is to program. Write a lot of
code; work on some large projects. This will improve your skill more than
anything else.
I think there are about 100 million VB
On Sat, May 30, 2009 at 04:55:19PM EDT, Arnaud Delobelle wrote:
Hi all,
Disclaimer: I am not familiar with the curses python implementation and
I'm neither an ncurses nor a unicode expert by a long shot.
:-)
I am looking for advice on how to use unicode with curses. First I will
explain my
On Sun, May 31, 2009 at 02:30:54PM EDT, Arnaud Delobelle wrote:
Chris Jones cjns1...@gmail.com writes:
[...]
Try this:
#include locale.h
#include ncurses.h
#include stdlib.h
#include stdio.h
#include string.h
/* Here I need to add the following include to get wint_t on macOS X
On Thu, May 28, 2009 at 12:06:25AM EDT, Steven D'Aprano wrote:
On Wed, 27 May 2009 22:34:45 -0400, Chris Jones wrote:
I'm unsure about a python editor for everyone but since acquiring
habits takes time, I'm in favor of sticking to one editor for
everything.
Or use an editor which
On Thu, May 28, 2009 at 07:38:33AM EDT, Steven D'Aprano wrote:
Your point is?
notepad, otoh..
*ducks and runs*
.. likewise.
--
http://mail.python.org/mailman/listinfo/python-list
I'm unsure about a python editor for everyone but since acquiring habits
takes time, I'm in favor of sticking to one editor for everything.
CJ
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, Apr 19, 2009 at 09:55:08AM EDT, Krishnakant wrote:
hi very sorry for that
On Sun, 2009-04-19 at 14:50 +0200, News123 wrote:
Hi,
I think you got lost in the wrong thread.
Though your subject line is correct your post threads under Is there a
programming language, that . . .
On Sun, Apr 19, 2009 at 04:35:27AM EDT, Hendrik van Rooyen wrote:
Brian Blais wrote:
On Apr 18, 2009, at 5:44 , Hendrik van Rooyen wrote:
to untangle some spaghetti code. He did not mention if the
spaghetti was actually doing it's job, bug free, which IMO is the
only rational test for
On Thu, Apr 02, 2009 at 10:59:29AM EDT, Steven D'Aprano wrote:
Does anyone use the tab-completion recipe in the docs?
http://docs.python.org/library/rlcompleter.html#module-rlcompleter
suggests using this to enable tab-completion:
try:
import readline
except ImportError:
print
On Tue, Mar 17, 2009 at 02:10:36PM EDT, Chris Rebert wrote:
On Mon, Mar 16, 2009 at 6:05 PM, robert song robertsong.li...@gmail.com
wrote:
Hello, everyone.
python can be debugged with pdb, but if there anyway to get a quick
view of the python execution.
Just like sh -x of bash command.
Just wondering if ipython is supported elsewhere.
Thanks,
CJ
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, Feb 01, 2009 at 07:26:24PM EST, Ben Finney wrote:
a...@pythoncraft.com (Aahz) writes:
Just to register a contrary opinion: I *hate* syntax highlighting
On what basis?
Real men hate syntax highlighting.
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Nov 05, 2008 at 09:23:02PM EST, Lawrence D'Oliveiro wrote:
In message [EMAIL PROTECTED], Chris
Jones wrote:
But then I started thinking .. what if for instance I had to scale my
effort from my single system to a large data center with hundred of
hosts .. with different backup
On Tue, Nov 04, 2008 at 11:11:17PM EST, Ben Finney wrote:
Chris Jones [EMAIL PROTECTED] writes:
I am thinking of rewriting it in python using OOP tactics/strategy.
Please advise.
I advise you not to have the object-oriented programming hammer as
your only tool, because it's easy
On Wed, Nov 05, 2008 at 08:12:40PM EST, Tim Rowe wrote:
2008/11/6 Chris Jones [EMAIL PROTECTED]:
Begs the question .. how do I tell what is an object-oriented vs. a
procedural problem?
Practice, largely, so you're doing the right thing (provided you don't
trust your /real/ backup data
On Wed, Nov 05, 2008 at 09:21:38PM EST, Lawrence D'Oliveiro wrote:
In message [EMAIL PROTECTED], Marc 'BlackJack' Rintsch
wrote:
Well, if it handles your backups it doesn't work. It just pretends until
you really *need* the backed up data. ;-)
That's why a backup system needs to be
I wrote a trivial backup script that does the following:
If tonight is the first day of the month:
save last month's archive
do a full backup of the system
else:
save last night's differential backup
back up all changes relative to the current month's full backup
endif
I
Daniel Nogradi wrote:
Of course, modern versions of Exuberant Ctags also support Python, too.
I apt-installed this package but the man page is rather intimidating so
I thought I might as well make sure I was going in the right direction.
You will probably want to read the vim documentation on
I'm trying to make sense of a python program and was wondering if vim
has any python-oriented functionalities (apart from syntax highlighting)
that would make it somewhat easier to browse the source code.
What I had in mind is something that would let me use CTRL+] to
automatically display
56 matches
Mail list logo