FAQ

Search Discussions

935 discussions - 7,607 posts

  • Given that if-then-else expressions keep being requested, I hereby put forward a proposal. I am neutral on acceptance of the proposal; I'd like the c.l.py community to accept or reject it or come up ...
    Guido van RossumGuido van Rossum
    Feb 7, 2003 at 5:14 pm
    Mar 5, 2003 at 2:51 pm
  • I'd like to build an exhaustive (or nearly so) of forms of the conditional operator that have been made so far that people have thought had _some_ merit (i.e., ones that were proposed and which ...
    Erik Max FrancisErik Max Francis
    Feb 10, 2003 at 12:22 am
    Feb 21, 2003 at 3:13 pm
  • I've tryed vesrion 2.3a of Python and have been surprised by the following warning: 1.py:6: DeprecationWarning: Non-ASCII character '\xf7', but no declared encoding Does it mean, that all that Python ...
    Roman SuziRoman Suzi
    Feb 3, 2003 at 6:33 pm
    Feb 18, 2003 at 3:01 am
  • Hmmmm... because case sensitivity is a good thing? Really, case insensitivity is evil. -gustavo
    Sismex01Sismex01
    Feb 17, 2003 at 4:50 pm
    Mar 4, 2003 at 7:23 pm
  • I suggest: cond ?? val1 || val2 * Having two characters at each step helps visually segregate the components. * The ?? and || strongly suggest testing and alternation. * Doesn't overload or confuse ...
    Raymond HettingerRaymond Hettinger
    Feb 10, 2003 at 3:52 pm
    Feb 13, 2003 at 8:47 pm
  • float and double support is very critical to ease-of-use for my 3D graphics programming work. How does Python fare for number crunching? I'm not so much concerned with efficiency, I'm not expecting ...
    Brandon Van EveryBrandon Van Every
    Feb 6, 2003 at 10:22 pm
    Feb 27, 2003 at 3:22 am
  • Amended the PEP to reflect some convergence on the newsgroup: * Listed the downsides of the current proposal. * Listed why '<cond then <expr1 else <expr2 ' is starting to be preferred over '<cond and ...
    Raymond HettingerRaymond Hettinger
    Feb 13, 2003 at 7:02 am
    Mar 11, 2003 at 1:03 pm
  • [My apologies for publishing private e-mail without permission, but I think speed is of the essence here.] If I do hold a vote, there will be a specific format required. Do not send votes to me until ...
    AahzAahz
    Feb 8, 2003 at 5:16 pm
    Feb 13, 2003 at 8:33 am
  • In late 2001, when I was young and foolish (NOTE: I still am), I tried writing a PEP for a ternary expression. I attempted to get a consensus on c.l.py, and then write up that consensus, and of ...
    Michael ChermsideMichael Chermside
    Feb 8, 2003 at 4:12 pm
    Feb 14, 2003 at 3:43 pm
  • Does it explain what? Roger (for added emphasis) Around Fri,Feb 07 2003, at 03:01, Cliff Wells, wrote:
    RogerRoger
    Feb 7, 2003 at 11:06 pm
    Feb 11, 2003 at 1:12 pm
  • Any regulars on this forum using Python in their 3D graphics work? I think for me personally, it's time to ground the Python vs. C++ discussion in the tangibles of a specific problem domain. -- ...
    Brandon Van EveryBrandon Van Every
    Feb 2, 2003 at 7:48 am
    Feb 11, 2003 at 8:23 am
  • Hello: do Perl & Python do similar things? What should be the rationalle to one or the other? Thanks.
    John SmithJohn Smith
    Feb 26, 2003 at 12:05 am
    Mar 20, 2003 at 5:24 pm
  • Recently I asked myself: Why isn't Python more popular? Its a powerful language, free software, open source, cross platform, has smart developers and a friendly community behind it. And every hyped ...
    Müller-OertelMüller-Oertel
    Feb 7, 2003 at 6:37 pm
    Feb 28, 2003 at 2:28 pm
  • To all Pythonistas, I'm writing this to sum up my feelings regarding PEP 308 and some of the arguments presented (pro and against). It will probably raise one or two flame-like answers but I'm ...
    CribeiroCribeiro
    Feb 8, 2003 at 4:26 am
    Feb 12, 2003 at 2:08 pm
  • I updated the PEP for Guido van Rossum. If the cron job is doing its thing, the results will be visible in a few hours. The update reflects updated thinking based on the discussion to-date. It also ...
    Raymond HettingerRaymond Hettinger
    Feb 11, 2003 at 5:54 am
    Feb 13, 2003 at 11:01 pm
  • I'm looking for an efficient way to get the key of the highest value in a dictionary. For example, for dict = {"a":10, "b":5, "c":15}, I want to write a function get_highest(dict), that will return c ...
    YuvalYuval
    Feb 4, 2003 at 6:56 am
    Feb 21, 2003 at 4:48 pm
  • Being a Python-n00b, in the midst of this ?: discussion, it occurred to me that Python does not require variables be delcared before use. Why is this so? Isn't it very helpful if the compiler ...
    André JonssonAndré Jonsson
    Feb 15, 2003 at 5:05 pm
    Feb 26, 2003 at 3:05 am
  • Dear community, there has been some favor of my silly/simple a then b else c proposal. Please let me elaborate a little on this, with respect to the existing "and" and "or operators. "and" and "or" ...
    Christian TismerChristian Tismer
    Feb 14, 2003 at 3:17 am
    Feb 28, 2003 at 11:16 pm
  • I am aware that this topic is fairly idle--Python most certainly will not become case-insensitive, and not even those of us who are fond of case-insensitivity in the abstract want such to happen. But ...
    David Mertz, Ph.D.David Mertz, Ph.D.
    Feb 23, 2003 at 2:39 am
    Feb 26, 2003 at 1:22 am
  • My preference for an immediate-if operator is the traditional '?' from C: cond ? expr1 : expr2 Yes this form is familiar only to C programmers, but there are a lot of us. Yes it is one more use of ...
    Jim JinkinsJim Jinkins
    Feb 11, 2003 at 3:17 am
    Feb 23, 2003 at 1:42 am
  • UnicodeError: ASCII encoding error: ordinal not in range(128) This isn't even unicode, it's extended ascii characters used in foreign languages. I can't print them, or write them to file, etc... They ...
    AfanasiyAfanasiy
    Feb 12, 2003 at 3:18 am
    Feb 16, 2003 at 10:37 pm
  • Hi All I'm doing some research into language constructs, particularly dynamic typing. What I'm looking for are examples in dynamically typed languages that clearly illustrate the benefits that ...
    Jason SmithJason Smith
    Feb 6, 2003 at 10:57 am
    Feb 9, 2003 at 7:38 pm
  • I've been tearing my hair out over a bug(?) I've come across. I've only been programming in Python for a few months so I'm no expert. I've seen the same behavior in Python2.2 on several different ...
    Andy MroczkowskiAndy Mroczkowski
    Feb 22, 2003 at 6:00 pm
    Feb 26, 2003 at 5:20 am
  • Python 2.3a2 is the second (and likely last) alpha release of Python 2.3. Much improved since the first alpha, chockfull of things you'd like to check out: http://www.python.org/2.3/ Some highlights ...
    Guido van RossumGuido van Rossum
    Feb 20, 2003 at 1:19 am
    Feb 26, 2003 at 12:21 am
  • x = (if a 0: 'positive' elif a == 0: 'zero' else: 'negative') The parentheses and 'else:' clause are mandatory. Leave them off and you get a SyntaxError. The conditions and expressions appear in ...
    EvanEvan
    Feb 9, 2003 at 11:22 pm
    Feb 17, 2003 at 2:02 am
  • - It's titled "Comma Separated Values" but handles separaters other than comma. I liked DSV for the more generic name. I suppose the "C" could also stand for "Character". In any case, mention early ...
    Andrew DalkeAndrew Dalke
    Feb 1, 2003 at 12:17 am
    Feb 4, 2003 at 2:38 pm
  • Okay, I'm confused. I've been working my way through the changes put into Python 2.3. One of these is PEP 277, "Unicode file name support for Windows NT" at http://www.python.org/peps/pep-0277.html . ...
    Andrew DalkeAndrew Dalke
    Feb 3, 2003 at 12:14 am
    Mar 2, 2003 at 11:58 am
  • Okay, a bleary-eyed survey of about 4000 lines of code from a project I've been working on in odd bits of time. Best Available Data, sir, but mine own. <wink These are the uses of a simple if/else ...
    Martin ManeyMartin Maney
    Feb 9, 2003 at 8:10 am
    Feb 11, 2003 at 5:14 pm
  • Hello all, I am an "experienced" programmer, but as I've worked on mainframes for the last 13 years I never had the opportunity to experiment with OO. I've now decided to close that enormous gap, and ...
    Patrick UseldingerPatrick Useldinger
    Feb 10, 2003 at 7:42 pm
    Feb 19, 2003 at 6:07 pm
  • You don't need to pirate Python books. There's a ton of Python material on the web already. http://www.python.org/doc/current/tut/tut.html http://diveintopython.org/ The web is full of good python ...
    Ian SparksIan Sparks
    Feb 4, 2003 at 10:56 pm
    Feb 7, 2003 at 5:39 pm
  • 'Python is ideal for beginers' How many times have i seen that statement? Is python ideal for beginners? Upon close investigation and thinking, this is what i found out: The majority of the python ...
    Pedro alvarezPedro alvarez
    Feb 6, 2003 at 6:44 pm
    Feb 8, 2003 at 6:17 pm
  • While explaining the basics of Python to somebody who's brain had been corrupted by Perl as a first language, I came upon an interesting wrinkle. We were talking about containers and names and ...
    Roy SmithRoy Smith
    Feb 3, 2003 at 8:00 pm
    Feb 7, 2003 at 8:37 pm
  • Yes it does. Microsoft puts out crap because they know they can get away with it, and how to get away with it. http://www.cnn.com/2003/TECH/biztech/02/01/microsoft.security.reut/index.htm l Gimme a ...
    Brandon Van EveryBrandon Van Every
    Feb 4, 2003 at 2:34 am
    Feb 24, 2003 at 2:34 pm
  • I am confused about the purpose of list comprehensions. What can they do which an explicit for loop cannot?
    AfanasiyAfanasiy
    Feb 2, 2003 at 3:10 am
    Feb 11, 2003 at 7:33 pm
  • Within the proposals of extending the function syntax, reported on the python-dev summary recently posted on c.l.p., I like the most the proposal with "is", as for instance in def double(x) is ...
    Michele SimionatoMichele Simionato
    Feb 7, 2003 at 4:10 pm
    Feb 11, 2003 at 12:29 pm
  • David Garamond: I've written a similar algorithm to process the log of a search engine. It works just fine. Yep. Mine is a little more complicated, since I also want to exclude duplicate searches ...
    Rene PijlmanRene Pijlman
    Feb 9, 2003 at 12:32 pm
    Feb 12, 2003 at 5:45 am
  • Hi, C has enum to define named constant like: enum { M0, M1, M2, MCOUNT }; (MCOUNT gives the number of constants, nice for loops or so) How to do this in Python? -- Gru? - regards Klaus :-)
    Klaus MeyerKlaus Meyer
    Feb 21, 2003 at 9:26 pm
    Mar 6, 2003 at 11:00 am
  • I am learning some perl, I don't know any python. I think perl is a butt-ugly language, but perl does seem to be functional. Can anybody answer a few questions about python for me? 1) Is python good ...
    WalterbyrdWalterbyrd
    Feb 5, 2003 at 2:40 pm
    Feb 6, 2003 at 11:04 pm
  • Hi: I am new at Python. I have an assignment to be written by tomorrow in Python. - Calculate a person's age based on a brithdate in any format Any help will be appreciated. Thanks in advance Ben
    BenBen
    Feb 1, 2003 at 10:51 pm
    Feb 5, 2003 at 10:53 am
  • I have to agree. From my point of view this is the most pythonic solution. Yes, the test is in the middle of the expression. The argument "This is not the way other languages do ternary expressions" ...
    Simon Wittber (Maptek)Simon Wittber (Maptek)
    Feb 14, 2003 at 4:56 am
    Feb 24, 2003 at 3:41 pm
  • I'm writing a program with a "configuration file" if you will, that looks something like this: -------------------------------- collection = '''Abba %sdabba''' topic = '''Gucko %s''' ...
    Björn LindbergBjörn Lindberg
    Feb 22, 2003 at 4:42 pm
    Feb 24, 2003 at 8:22 am
  • hello everyone, I think it must be possible to change python so that self can be omitted inside a class # except for some reasons like this: __init__(""" i dont like this self """ self, x) self.x = x ...
    Meinrad RecheisMeinrad Recheis
    Feb 12, 2003 at 10:30 am
    Feb 13, 2003 at 9:07 pm
  • Michele Simionato writes about the ternary operator proposals: 2. If we want a Pythonic (i.e. readable) ternary operator that even newbies can understand, we have to pay a price: add a new kewyword ...
    Paul RubinPaul Rubin
    Feb 8, 2003 at 10:11 pm
    Feb 12, 2003 at 3:35 am
  • I have some python code that processes a large file. I want to see how much faster this code can get. Mind you, I don't _need_ the code to go faster - but it sure would be nice if it were faster... ...
    Ram BhamidipatyRam Bhamidipaty
    Feb 4, 2003 at 12:39 am
    Feb 9, 2003 at 5:22 am
  • Greetings, I installed Python 2.2.2 on FreeBSD and want to use Emacs as programming editor. I'd like to know whether there is any article or tutorial that shows me how to do programming in Emacs from ...
    Peter WuPeter Wu
    Feb 16, 2003 at 3:17 pm
    Feb 23, 2003 at 11:10 pm
  • Before I upload another (less drastically ambitious) version of PEP 309, I want to thrash out a few things. Several people have said curry() belongs in the standard library rather than as a built-in. ...
    Peter HarrisPeter Harris
    Feb 27, 2003 at 3:02 pm
    Mar 4, 2003 at 7:55 am
  • Hi all. Slightly regretting submitting this PEP in the middle of an if-then-else expression jihad, but maybe anyone who is bored with the rhetoric would like something else to argue about. My ...
    Peter HarrisPeter Harris
    Feb 10, 2003 at 9:42 pm
    Feb 26, 2003 at 10:59 am
  • Python has builtin infinity: #v+ $ python Python 2.2.2 (#1, Jan 18 2003, 10:18:59) [GCC 3.2.2 20030109 (Debian prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more ...
    Klaus Alexander SeistrupKlaus Alexander Seistrup
    Feb 19, 2003 at 1:06 pm
    Feb 22, 2003 at 5:08 pm
  • Ok, here's a summary of what I've learned about 3D and Python so far. Just so you get an idea why I'm not downloading Python right this second. - after much debating about the merits / demerits of ...
    Brandon Van EveryBrandon Van Every
    Feb 8, 2003 at 2:55 am
    Feb 10, 2003 at 7:54 pm
  • # My logic tells me this should never print 'OOPS', yet it does. # Can someone tell me why? (P.S. this is simplified example code) import threading, time class testthread(threading.Thread): def ...
    AfanasiyAfanasiy
    Feb 4, 2003 at 2:57 pm
    Feb 5, 2003 at 3:23 pm
Group Navigation
period‹ prev | Feb 2003 | next ›
Group Overview
grouppython-list @
categoriespython
discussions935
posts7,607
users1,052
websitepython.org

1,052 user for February 2003

Erik Max Francis: 452 posts Alex Martelli: 264 posts Andrew Koenig: 174 posts Peter Hansen: 155 posts Andrew Dalke: 143 posts Jp Calderone: 126 posts Aahz: 119 posts Laura Creighton: 113 posts Holger krekel: 109 posts Brandon Van Every: 104 posts Bengt Richter: 102 posts Terry Reedy: 95 posts Yar3k: 94 posts Andrew Bennetts: 91 posts Steven Taschuk: 81 posts Cribeiro: 80 posts Steve Holden: 76 posts Skip Montanaro: 75 posts Paul Rubin: 73 posts Rene Pijlman: 71 posts
show more
Archives