Assertion for python scripts

2007-11-02 Thread matthias
release builds that allow me to switch debug stmts, like assert, on / off ? Thanx, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: Assertion for python scripts

2007-11-02 Thread matthias
On Nov 2, 12:12 pm, "Matt McCredie" <[EMAIL PROTECTED]> wrote: > On 11/2/07, matthias <[EMAIL PROTECTED]> wrote: > > > > > Howdy ! > > > I started using the assert() stmt and found it quite useful :-) I > > have only one problem: I don'

Re: Assertion for python scripts

2007-11-02 Thread matthias
On Nov 2, 1:29 pm, "Bart." <[EMAIL PROTECTED]> wrote: > Friday 02 of November 2007 20:53:12 matthias napisa (a): > > > > > On Nov 2, 12:12 pm, "Matt McCredie" <[EMAIL PROTECTED]> wrote: > > > On 11/2/07, matthias <[EMAIL PROTECTED

Re: error ...1 value to unpack

2007-11-02 Thread matthias
On Nov 2, 2:32 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote: > On Nov 2, 2007 3:04 PM, Beema shafreen <[EMAIL PROTECTED]> wrote: > > > > > hi everybody, > > i have a file: > > > A_16_P21360207#304 > > A_14_P136880#783 > > A_16_P21360209#795 > > A_16_P21360210#173 > > A_16_P03641959#1177 > > A_16_P0

PyRun_String

2006-03-09 Thread Matthias
tyield i\n\t\ti += 1\no=func()", Py_file_input, Dict, Dict) ); Py_XDECREF( PyRun_String( "print o.next()", Py_file_input, Dict, Dict) ); Log("Marker 2"); Here the output goes Marker 1 0 1 Marker 2 What is the reason for this very strange behaviour? Did I do something wrong? -Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: PyRun_String

2006-03-09 Thread Matthias
Am Thu, 09 Mar 2006 20:06:54 +0100 hat Duncan Booth <[EMAIL PROTECTED]> geschrieben: > Matthias wrote: > >> Log("Marker 1"); >> Py_XDECREF( PyRun_String( "print 'Hi!'", Py_single_input, Dict, Dict) ); >> Log("Marker 2")

how to do random / SystemRandom switch

2011-04-30 Thread Matthias Kievernagel
do a similar thing in the Makefile using Compiler-/Link-Options (DEBUG/FINAL Build) switching between two libraries. Any hints are welcome, especially a search term would be very helpful :) Thanks in advance, Matthias Kievernagel. -- http://mail.python.org/mailman/listinfo/python-list

Re: how to do random / SystemRandom switch

2011-04-30 Thread Matthias Kievernagel
Peter Otten <__pete...@web.de> wrote: > Matthias Kievernagel wrote: > >> In my top-level script I want to select if my program >> is to use random.xxx functions or the random.SystemRandom.xxx >> ones. All the other modules shouldn't know about that >&g

Method to know if object support being weakreferenced ?

2016-12-12 Thread Matthias Bussonnier
Hi all, I was recently had to use weakreferences, using the weakref module, and came across the fact that some object cannot be weakreferenced. If you try to do so you get greated by a TypeError, which is a totally expected and documented behavior. As I tend to prefer the "Look before you le

spurious BadDrawable error when running test_tk

2018-05-14 Thread Matthias Kievernagel
ven't found anything on b.p.o. about this. Thanks for any insights, Matthias Kievernagel -- https://mail.python.org/mailman/listinfo/python-list

subscribe

2019-05-17 Thread Matthias Weckbecker
-- https://mail.python.org/mailman/listinfo/python-list

The imp module and cyclic imports

2005-11-24 Thread Matthias Kramm
py (referenced by one.py) references one.py again, something breaks. I'm lost. Am I doing something wrong, or is this a bug? Many thanks for any light anybody can shed on this. Greetings Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: The imp module and cyclic imports

2005-11-27 Thread Matthias Kramm
le. Especially since the former also used to fail (google for "python cyclic imports" on groups.google.com). I wonder whether the "from" style imports were overlooked when the cyclic problem was fixed. Greetings Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: video analysis with python

2005-01-20 Thread Matthias Baas
tain the stream data and decode the data therein. What you do with the data is up to your application. Converting the file into another format is just one such application. - Matthias - -- http://mail.python.org/mailman/listinfo/python-list

ANN: Python Computer Graphics Kit v2.0.0alpha2

2005-01-20 Thread Matthias Baas
nts (see changelog) Windows binary versions are available for Python 2.3 and Python 2.4. For more information, visit: http://cgkit.sourceforge.net - Matthias - -- http://mail.python.org/mailman/listinfo/python-list

msvcp71.dll and Python 2.4 C++ extensions

2005-01-31 Thread Matthias Baas
27;t already somewhere on his system. But this really is not a satisfying solution... - Matthias - -- http://mail.python.org/mailman/listinfo/python-list

Re: msvcp71.dll and Python 2.4 C++ extensions

2005-02-01 Thread Matthias Baas
it isn't already somewhere on his system. >> But this really is not a satisfying solution... > >Then you should probably include the DLL, or rewrite your extension >to not use C++. I'm afraid the latter will hardly ever be an option... ;) For one smaller package I was

Re: smtplib and TLS

2005-06-21 Thread Matthias Kluwe
> From: "Paul Rubin" "http://phr.cx"@NOSPAM.invalid >> "Matthias Kluwe" <[EMAIL PROTECTED]> writes: >> After getting a @gmail.com address, I recognized I had to use TLS in my >> python scripts using smtplib in order to get mail to the smtp.

ANN: Python Computer Graphics Kit v2.0.0alpha4

2005-06-24 Thread Matthias Baas
export ASF/AMC files + several other enhancements and bugfixes (see changelog) Windows binary versions are available for Python 2.3 and Python 2.4. For more information, visit: http://cgkit.sourceforge.net - Matthias - -- http://mail.python.org/mailman/listinfo/python-list

Re: turn text lines into a list

2005-06-27 Thread Matthias Huening
D]); > > -- > is there some shortcut to turn lines into list in Python? txt = """rb_basic_islamic sq1_pentagonTile sq_arc501Tile sq_arc503Tile""" print txt.splitlines() Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: f*cking re module

2005-07-04 Thread Matthias Huening
27;group' RE doesn't find "()(/python>)" because it isn't in your string. That's why group fails. >>> import re >>> s = "blablaRe module is great!blabla" >>> re.search("().*(/python>)", s).group() 'Re module is great!' Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: Scipy - Latex Annotations in plots

2005-07-06 Thread Matthias R.
Unfortunately matplotlib is only a 2D-plotting library. Do you know another one with 3D-capabilities as well? That would be very nice, thank you, Matthias Robert Kern wrote: > fortuneteller wrote: >> Hello, >> >> I'm quite new to python and Scipy. >> Anyway

Re: What is Expresiveness in a Computer Language?

2005-07-10 Thread Matthias Buelow
Steven D'Aprano <[EMAIL PROTECTED]> writes: >On Sun, 10 Jul 2005 07:20:34 -0700, raptor wrote: > >> I think u are wrong.. I think perl is much more exrpressive in >> semantics than Python.. > >Well, with such great command of natural language as you are displaying, >how could anyone argue with you

Re: Jargons of Info Tech industry

2005-08-12 Thread Matthias Buelow
[EMAIL PROTECTED] writes: >In comp.lang.perl.misc Xah Lee <[EMAIL PROTECTED]> wrote: >> The other class of jargon stupidity is from computing practitioners, of >> which the Unix/Perl community is exemplary. For example, the name Unix >> & Perl themselves are good examples of buzzing jargons. Unix

ANN: Python Computer Graphics Kit v2.0.0alpha5

2005-09-02 Thread Matthias Baas
d bugfixes (see the changelog). Windows binary versions are available for Python 2.3 and Python 2.4. For more information, visit: http://cgkit.sourceforge.net - Matthias - -- http://mail.python.org/mailman/listinfo/python-list

Re: Python versus Perl

2005-09-06 Thread Matthias Kluwe
lioth.debian.org/benchmark.php?test=all&lang=python&sort=fullcpu Regards, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: Confused with methods

2005-02-06 Thread Matthias Kempka
an instance. This is because the instance _is_ the parameter. Python does this for you internally. For more documentation you should read the paragraph about classes in the tutorial. Regards, Matthias -- http://mail.python.org/mailman/listinfo/python-list

ANN: Python Computer Graphics Kit v2.0.0alpha1

2004-12-13 Thread Matthias Baas
e.net - Matthias - -- http://mail.python.org/mailman/listinfo/python-list

Re: Regexp problem, which pattern to use in split

2004-12-13 Thread Matthias Huening
Hans Almåsbakk (14.12.2004 16:02): Any pointer will be greatly appreciated. Maybe I'm attacking this problem the wrong way already from the start? (Not that I can see another way myself :) Hans, did you try the csv module in the Python library? Matthias -- http://mail.python.org/mailman/lis

MySQLdb & Python 2.4 on Windows

2004-12-19 Thread Matthias Verniers
de to 2.3, but since 2.4 works fine too, I don't see why I shouldn't use it, if I don't mind the MySQL problems of course. Thanks in advance! Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: MySQLdb & Python 2.4 on Windows

2004-12-20 Thread Matthias Verniers
Fredrik Lundh schreef: Matthias Verniers wrote: 2. Is it possible to use Python 2.4 & 2.3 next to each other without conflicts? yes, assuming "next to each other" means "on the same machine". but binary extensions are bound to the Python version they were built f

Re: MySQLdb & Python 2.4 on Windows

2004-12-20 Thread Matthias Verniers
Steve Holden schreef: Fredrik Lundh wrote: Matthias Verniers wrote: 2. Is it possible to use Python 2.4 & 2.3 next to each other without conflicts? yes, assuming "next to each other" means "on the same machine". but binary extensions are bound to the Python version

Re: MySQLdb & Python 2.4 on Windows

2004-12-20 Thread Matthias Verniers
Steve Holden schreef: Matthias Verniers wrote: [...] Good job! It would be nice if I could have a copy of your installer. I am one of the interested people ;-) Regards As I reported, I've shipped a copy of the installer to Andy Dustman, so it will appear on SourceForge in due course. For

ANN: Python Computer Graphics Kit v2.0.0alpha3

2005-04-15 Thread Matthias Baas
aller enhancements and bugfixes (see changelog) Windows binary versions are available for Python 2.3 and Python 2.4. For more information, visit: http://cgkit.sourceforge.net - Matthias - -- http://mail.python.org/mailman/listinfo/python-list

Re: Python application for rpm creation

2013-11-27 Thread Matthias Runge
;generator" for Sphinx documentation: > https://github.com/amitsaha/sphinx_doc_packaging > > It's written in Python, so perhaps may help with you a starting point. > > Best, > Amit. > > In Fedora (and IMHO in EPEL, too) there is a package named pyp2rpm. This is qui

Re: [Python-ideas] Wheels For ...

2015-09-06 Thread Matthias Bussonnier
Hi Sven, Just adding a few comments inline: On Sun, Sep 6, 2015 at 7:33 PM, Sven R. Kunze wrote: > 3) more than one way to do (upload, wheel, source/binary etc.) it (sigh) And most are uploading/registering over http (sight) > nope: what a pity for wheels; example: > https://github.com/simple

Re: Python ORM library for distributed mostly-read-only objects?

2014-06-23 Thread Matthias Urlichs
actually load all the data into memory beforehand would be prohibitive (so I'd still need a way to load referred data on demand), and the update problem remains. -- -- Matthias Urlichs -- https://mail.python.org/mailman/listinfo/python-list

Re: Easiest framework to develop simple interactive web site in python?

2011-09-12 Thread Matthias Huening
Am 12.09.2011 16:03, schrieb John Reid: I don't have much experience writing web sites or applications. Can anyone recommend a python framework that will allow me to easily write a few pages? You want a simple framework? Try Bottle: http://bottlepy.org/ Matthias -- http://mail.pytho

Pygtk entry readline

2013-02-02 Thread Matthias Fulz
an gtk gui inside an entry or textbox, etc. Thanks, Matthias -- Wer A sagt, der muss nich B sagen, Er kann auch erkennen, dass A falsch war. GPG key: 1814DA35 -- http://mail.python.org/mailman/listinfo/python-list

Re: [TYPES] The type/object distinction and possible synthesis of OOP and imperative programming languages

2013-04-15 Thread Matthias Felleisen
scheme for complex systems involving hiding of details, and the small scale one was to find a more flexible version of assignment, and then to try to eliminate it altogether." At least for me, this quote sends a signal to language designers that is still looking for a receiver -- Matth

OO in Python? ^^

2005-12-10 Thread Matthias Kaeppler
hon is still worth learning :-/ Regards, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: OO in Python? ^^

2005-12-11 Thread Matthias Kaeppler
ion). I have also read the other answers to my question, and I am really sorry if I have sounded ignorant in my post, but it's harder than I thought to move to a language where all these techniques one had learned in years of hard work suddenly become redundant :) I'm so used to statically

Re: OO in Python? ^^

2005-12-11 Thread Matthias Kaeppler
have a different object and the interpreter will happily continue executing the flawed program. I really see issues with this, can anyone comment on this who has been working with Python more than just a day (like me)? Regards, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: OO in Python? ^^

2005-12-11 Thread Matthias Kaeppler
That was quite insightful Martin, thanks. Regards, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: OO in Python? ^^

2005-12-11 Thread Matthias Kaeppler
e in Python, where I would use getters and setters in Java? I know that encapsulation is actually just a hack in Python (common, "hiding" an implementation detail by prefixing it with the classname so you can't access it by its name anymore? Gimme a break...), but is tha

Re: OO in Python? ^^

2005-12-11 Thread Matthias Kaeppler
[EMAIL PROTECTED] wrote: > Just follow the links. I'll try ;-) -- http://mail.python.org/mailman/listinfo/python-list

PyXML: SAX vs. DOM

2006-01-20 Thread Matthias Kaeppler
them up like this? Thanks, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: PyXML: SAX vs. DOM

2006-01-20 Thread Matthias Kaeppler
Oh and: Where can I find an API reference for PyXML? Am I supposed to /guess/ which methods and attributes e.g. Sax2 supplies? :D Thanks again, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: PyXML: SAX vs. DOM

2006-01-20 Thread Matthias Kaeppler
more sane > organization. ;) Plus, it will be part of the Python standard library > in Python 2.5. That sounds great, thanks. Regards, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: PyXML: SAX vs. DOM

2006-01-21 Thread Matthias Kaeppler
Ivan Herman wrote: > I know this is not the ideal answer, but maybe it helps... It does, thanks Ivan. Regards, Matthias -- http://mail.python.org/mailman/listinfo/python-list

yEnc

2006-08-15 Thread Kairo Matthias
How can i encode with yEnc? -- http://mail.python.org/mailman/listinfo/python-list

Simple question to split

2006-11-09 Thread Matthias Winterland
Hi, I have a simple question. When I read in a string like: a='1,2,3,4,5 6 7,3,4', can I get the list l=[1,2,3,4,5,6,7,3,4] with a single split-call? Thx, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: What is Expressiveness in a Computer Language

2006-06-16 Thread Matthias Blume
Darren New <[EMAIL PROTECTED]> writes: > Joachim Durchholz wrote: >> Give a heterogenous list that would to too awkward to live in a >> statically-typed language. > > Printf()? Very good statically typed versions of printf exist. See, e.g., Danvy's unparsing combinators. -- http://mail.python.o

Re: What is Expressiveness in a Computer Language

2006-06-16 Thread Matthias Blume
Darren New <[EMAIL PROTECTED]> writes: > Matthias Blume wrote: >> Very good statically typed versions of printf exist. See, e.g., >> Danvy's unparsing combinators. > > That seems to ignore the fact that the pattern is a string, which > means that printf's

Re: What is Expressiveness in a Computer Language

2006-06-19 Thread Matthias Blume
George Neuner writes: > I am, however, going to ask what > information you think type inference can provide that substitutes for > algorithm or data structure exploration. Nobody wants to do such a substitution, of course. In /my/ experience, however, I find that doing algorithm and data struc

Re: What is Expressiveness in a Computer Language

2006-06-19 Thread Matthias Blume
"Rob Thorpe" <[EMAIL PROTECTED]> writes: > I don't think dynamic typing is that nebulous. I remember this being > discussed elsewhere some time ago, I'll post the same reply I did then > .. > > > A language is statically typed if a variable has a property - called > it's type - attached to it, an

Re: What is Expressiveness in a Computer Language

2006-06-19 Thread Matthias Blume
Pascal Costanza <[EMAIL PROTECTED]> writes: > Matthias Blume wrote: >> "Rob Thorpe" <[EMAIL PROTECTED]> writes: >> >>> I don't think dynamic typing is that nebulous. I remember this being >>> discussed elsewhere some time ago, I'l

Re: What is Expressiveness in a Computer Language

2006-06-20 Thread Matthias Blume
Pascal Costanza <[EMAIL PROTECTED]> writes: > - In a dynamically typed language, you can run programs successfully > that are not acceptable by static type systems. This statement is false. For every program that can run successfully to completion there exists a static type system which accept

Re: What is Expressiveness in a Computer Language

2006-06-20 Thread Matthias Blume
David Squire <[EMAIL PROTECTED]> writes: > Andreas Rossberg wrote: >> Rob Thorpe wrote: > No, that isn't what I said. What I said was: > "A language is latently typed if a value has a property - called it's > type - attached to it, and given it's type it can only represent values

Re: What is Expressiveness in a Computer Language

2006-06-20 Thread Matthias Blume
"Rob Thorpe" <[EMAIL PROTECTED]> writes: > Andreas Rossberg wrote: >> Rob Thorpe wrote: >> >> >> >>>No, that isn't what I said. What I said was: >> >>>"A language is latently typed if a value has a property - called it's >> >>>type - attached to it, and given it's type it can only represent value

Re: What is Expressiveness in a Computer Language

2006-06-20 Thread Matthias Blume
David Squire <[EMAIL PROTECTED]> writes: > Matthias Blume wrote: >> David Squire <[EMAIL PROTECTED]> writes: >> >>> Andreas Rossberg wrote: >>>> Rob Thorpe wrote: >>>>>>> No, that isn't what I said. What I said was: >

Re: What is Expressiveness in a Computer Language

2006-06-20 Thread Matthias Blume
"Rob Thorpe" <[EMAIL PROTECTED]> writes: > I think we're discussing this at cross-purposes. In a language like C > or another statically typed language there is no information passed > with values indicating their type. You seem to be confusing "does not have a type" with "no type information is

Re: What is Expressiveness in a Computer Language

2006-06-20 Thread Matthias Blume
Joachim Durchholz <[EMAIL PROTECTED]> writes: > Matthias Blume schrieb: >> Perhaps better: A language is statically typed if its definition >> includes (or ever better: is based on) a static type system, i.e., a >> static semantics with typing judgments derivable

Re: What is Expressiveness in a Computer Language

2006-06-21 Thread Matthias Blume
"Rob Thorpe" <[EMAIL PROTECTED]> writes: > Matthias Blume wrote: >> "Rob Thorpe" <[EMAIL PROTECTED]> writes: >> >> > I think we're discussing this at cross-purposes. In a language like C >> > or another statically typed lan

Re: What is Expressiveness in a Computer Language

2006-06-21 Thread Matthias Blume
Joachim Durchholz <[EMAIL PROTECTED]> writes: > Matthias Blume schrieb: >> Joachim Durchholz <[EMAIL PROTECTED]> writes: >> >>> Matthias Blume schrieb: >>>> Perhaps better: A language is statically typed if its definition >>>> includes

Re: What is Expressiveness in a Computer Language

2006-06-21 Thread Matthias Blume
"Rob Thorpe" <[EMAIL PROTECTED]> writes: >> >> > No it doesn't. Casting reinterprets a value of one type as a value of >> >> > another type. >> >> > There is a difference. If I cast an unsigned integer 20 to a >> >> > signed integer in C on the machine I'm using then the result I will get

Re: What is Expressiveness in a Computer Language

2006-06-21 Thread Matthias Blume
"Marshall" <[EMAIL PROTECTED]> writes: > Torben Ægidius Mogensen wrote: >> >> That's not true. ML has variables in the mathematical sense of >> variables -- symbols that can be associated with different values at >> different times. What it doesn't have is mutable variables (though it >> can get

Re: What is Expressiveness in a Computer Language

2006-06-21 Thread Matthias Blume
Darren New <[EMAIL PROTECTED]> writes: > [ ... ] As far as I know, LOTOS is the only > language that *actually* uses abstract data types - you have to use > the equivalent of #include to bring in the integers, for > example. Everything else uses informal rules to say how types work. There are *to

Re: What is Expressiveness in a Computer Language

2006-06-22 Thread Matthias Blume
Pascal Bourguignon <[EMAIL PROTECTED]> writes: > Moreover, a good proportion of the program and a good number of > algorithms don't even need to know the type of the objects they > manipulate. > > For example, sort doesn't need to know what type the objects it sorts > are. It only needs to be giv

Re: What is a type error?

2006-06-22 Thread Matthias Blume
Pascal Costanza <[EMAIL PROTECTED]> writes: > Chris Smith wrote: > >> While this effort to salvage the term "type error" in dynamic >> languages is interesting, I fear it will fail. Either we'll all >> have to admit that "type" in the dynamic sense is a psychological >> concept with no precise te

Re: What is Expressiveness in a Computer Language

2006-06-22 Thread Matthias Blume
Pascal Bourguignon <[EMAIL PROTECTED]> writes: > Matthias Blume <[EMAIL PROTECTED]> writes: > >> Pascal Bourguignon <[EMAIL PROTECTED]> writes: >> >>> Moreover, a good proportion of the program and a good number of >>> algorithms don't ev

Re: Saying "latently-typed language" is making a category mistake

2006-06-23 Thread Matthias Blume
Pascal Costanza <[EMAIL PROTECTED]> writes: > Patricia Shanahan wrote: >> Vesa Karvonen wrote: >> ... >>> An example of a form of informal reasoning that (practically) every >>> programmer does daily is termination analysis. There are type systems >>> that guarantee termination, but I think that

Re: Saying "latently-typed language" is making a category mistake

2006-06-23 Thread Matthias Blume
Pascal Costanza <[EMAIL PROTECTED]> writes: > Matthias Blume wrote: >> Pascal Costanza <[EMAIL PROTECTED]> writes: >> >>> Patricia Shanahan wrote: >>>> Vesa Karvonen wrote: >>>> ... >>>>> An example of a form of

Re: Saying "latently-typed language" is making a category mistake

2006-06-24 Thread Matthias Blume
David Hopwood <[EMAIL PROTECTED]> writes: > Patricia Shanahan wrote: >> Vesa Karvonen wrote: >> ... >> >>> An example of a form of informal reasoning that (practically) every >>> programmer does daily is termination analysis. There are type systems >>> that guarantee termination, but I think tha

Re: What is Expressiveness in a Computer Language

2006-06-25 Thread Matthias Blume
27;t really blame the compiler if the program does not print 0, or if it even crashes. AFAIC, C is C-unsafe by Bob's reasoning. --- Of course, C can be made safe quite easily: Define a state "undefined" that is considered "safe" and add a transition to "undefined" wherever necessary. Kind regards, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: What is Expressiveness in a Computer Language [off-topic]

2006-06-26 Thread Matthias Blume
David Hopwood <[EMAIL PROTECTED]> writes: > Matthias Blume wrote: >> I agree with Bob Harper about safety being language-specific and all >> that. But, with all due respect, I think his characterization of C is >> not accurate. > [...] >> AFAIC, C is C-u

Re: languages with full unicode support

2006-06-27 Thread Matthias Blume
Tin Gherdanarra <[EMAIL PROTECTED]> writes: > Oliver Bandel wrote: >> こんいちわ Xah-Lee san ;-) > > Uhm, I'd guess that Xah is Chinese. Be careful > with such things in real life; Koreans might > beat you up for this. Stay alive! And the Japanese might beat him up, too. For butchering their language

Re: What is Expressiveness in a Computer Language

2006-06-28 Thread Matthias Blume
Pascal Costanza <[EMAIL PROTECTED]> writes: > Whether you consider something you cannot do with statically typed > languages a bad idea or not is irrelevant. You were asking for things > that you cannot do with statically typed languages. The whole point of static type systems is to make sure tha

Re: What is Expressiveness in a Computer Language

2006-06-28 Thread Matthias Blume
Pascal Costanza <[EMAIL PROTECTED]> writes: >> And I am convinced that updating a running system in the style of, >> e.g., Erlang, can be statically typed. > > Maybe. The interesting question then is whether you can express the > kinds of dynamic updates that are relevant in practice. Because a >

Re: What is Expressiveness in a Computer Language

2006-06-28 Thread Matthias Blume
"Marshall" <[EMAIL PROTECTED]> writes: > Matthias Blume wrote: >> >> How does this "create" such a problem? The problem is there in either >> approach. In fact, I believe that the best chance we have of >> addressing the problem is by

Re: languages with full unicode support

2006-07-02 Thread Matthias Blume
this. Stay alive! >> And the Japanese might beat him up, too. For butchering their >> language. :-) > > OK, back to ISO-8859-1 :) no one needs so much symbols, > this is enough: äöüÄÖÜß :) There are plenty of people who need such symbols (more people than those who need ß, btw). Matthias PS: It should have been こんにちは. -- http://mail.python.org/mailman/listinfo/python-list

Change coords of a canvas.line item

2007-01-05 Thread Matthias Vodel
Hi all, I want to change the beginning/end-coordinates of a canvas.line item. Something like: self.myCanvas.itemconfigure(item_id, coords=(x1_new, y1_new, x2_new, y2_new)) I don't want to delete and repaint a new line item. Is this possible? Thanks Matthias -- http://mail.pytho

Re: Change coords of a canvas.line item

2007-01-05 Thread Matthias Vodel
Very nice :) Thank you, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Cross-module imports?

2006-01-22 Thread Matthias Kaeppler
inding 'var1' in module A. Is there a solution to this problem which doesn't involve introducing a new module holding the shared objects? Thanks, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: Cross-module imports?

2006-01-23 Thread Matthias Kaeppler
robably a good idea anyway. Thanks for clearing up, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython or wxWidgets

2006-01-23 Thread Matthias Kaeppler
I was programming MFC when working with the wxWidgets somewhat drove me away from it with a big "Yuck!", but if it's based on GTK2 now I might risk another glimpse. Thanks, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: Write a GUI for a python script?

2006-03-03 Thread Matthias Huening
sage boxes, you could start with EasyGUI. http://www.ferg.org/easygui/ Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: What are OOP's Jargons and Complexities?

2005-05-24 Thread Matthias Buelow
Andreas Rottmann wrote: > You get terminology totally wrong here. As already said, Lisp is > stronger typed than C, but C is statically typed, whereas Lisp is > dynamically typed. In Lisp (or Scheme), all variables have types: > > (define foo #(1 2 3)) > (vector? foo) => #t > (boolean? foo) => #t

Re: What are OOP's Jargons and Complexities?

2005-06-01 Thread Matthias Buelow
Anno Siegel wrote: > I've been through Pascal, Modula2 and Oberon, and I agree. > In the short run they succeeded. For a number of years, languages of > that family were widely used, primarily in educational programming > but also in implementing large real-life systems. With a few relaxations a

Re: What are OOP's Jargons and Complexities?

2005-06-01 Thread Matthias Buelow
Andrea Griffini wrote: >>With a few relaxations and extensions, you can get a surprisingly useful >>language out of the rigid Pascal, as evidenced by Turbo Pascal, one of >>the most popular (and practical) programming languages in the late 80ies >>/ start of the 90ies. > > It was not a language.

Re: What are OOP's Jargons and Complexities?

2005-06-03 Thread Matthias Buelow
Xah Lee wrote: > to be continued tomorrow. Please don't... mkb. -- http://mail.python.org/mailman/listinfo/python-list

Re: What are OOP's Jargons and Complexities?

2005-06-05 Thread Matthias Buelow
Andrea Griffini wrote: >>Of course it is a language, just not a standardized one (if you include >>Borland's extensions that make it practical). > > The history of "runtime error 200" and its handling from > borland is a clear example of what I mean with a product. Hmm, I had to google this up..

smtplib and TLS

2005-06-17 Thread Matthias Kluwe
27;EOF occurred in violation of protocol') Did I miss something? Any hint is welcome. Regards, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: pysqlite - Checking the existance of a table

2005-06-17 Thread Matthias Kluwe
Simply use the internal table SQLite_Master: select name from SQLite_Master will return all existing tables. Regards, Matthias -- http://mail.python.org/mailman/listinfo/python-list

Re: smtplib and TLS

2005-06-18 Thread Matthias Kluwe
> "Matthias Kluwe" <[EMAIL PROTECTED]> writes: >> The server accepts and delivers my messages, but the last command >> raises >> socket.sslerror: (8, 'EOF occurred in violation of protocol') >> Did I miss something? Any hint is welcome. &g

Re: The Modernization of Emacs

2007-06-19 Thread Matthias Buelow
David Kastrup wrote: > My favorite killing offence is /* vi:set ts=4: */. This is apparently the default setting in many of the so-called "IDE"s today.. I think it's another unwelcome poison gift from the ignorant M$FT world (I suspect some primitive Windoze IDE which couldn't differentiate betwe

Re: The Modernization of Emacs: terminology buffer and keybinding

2007-06-20 Thread Matthias Buelow
Twisted wrote: > That's a joke, right? I tried it a time or two. Every time it was > rapidly apparent that doing anything non-trivial would require > consulting a cheat sheet. The printed-out kind, since navigating to > the help and back without already having the help displayed and open > to the

Re: The Modernization of Emacs: terminology buffer and keybinding

2007-06-20 Thread Matthias Buelow
Twisted wrote: > Emacs does have documentation. The problem is you have to already know > a load of emacs navigation oddities^Wkeyboard commands to get to and > use it. Yes, like hitting the F1 key. > Yeah, and I abhor the elitist systems that are designed with the > philosophy that anyone who h

Re: The Modernization of Emacs: terminology buffer and keybinding

2007-06-21 Thread Matthias Buelow
Kaldrenon wrote: > I don't think anyone can make the argument that any (past or current) > graphics-based editor is as efficient when being used to its fullest > as a text-based editor. Actually, I think the argument can be made: ``We’ve done a cool $50 million of R & D on the Apple Human Inter

Re: The Modernization of Emacs

2007-06-22 Thread Matthias Buelow
Twisted wrote: > I find these anecdotes liberally sprinkled into this thread frankly > unbelievable. If you'd spent as much time learning the software as you're ranting about it, you could actually use it _and_ would get the additional benefit of having avoided making a fool of yourself on Usenet

  1   2   >