Re: PSF News: Guido van Rossum quitting Python to develop new, more difficult to learn, language.

2013-04-01 Thread Mark Lawrence
nce of any performance regressions whilst implementing stupid things like memory savings and correctness. One question, why use a character encoding that's named after a very famous French actress? -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPyt

Re: Curl and python httplib?

2013-04-01 Thread Mark Lawrence
me change the curl request to httplib edition? TIA Levi Try the requests module https://pypi.python.org/pypi/requests/ as if I can successfuly use it anybody can :) -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Performance of int/long in Python 3

2013-04-01 Thread Mark Lawrence
arly with respect to any real world use cases. Question: When it is claimed, that this has been tested, do you mean stringbench.py as proposed many times by Terry? (Thanks for an answer). I find it amusing that you ask for an answer but refuse point blank to provide answers yourself. I susp

Re: Switching from Apche to LiteSpeed

2013-04-01 Thread Mark Lawrence
our cheque book out and make a donation to the PSF. -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Performance of int/long in Python 3

2013-04-01 Thread Mark Lawrence
GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Performance of int/long in Python 3

2013-04-01 Thread Mark Lawrence
elieve that you will ever accept any facts unless you yourself provide them. jmf -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Help

2013-04-01 Thread Mark Lawrence
on.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Help

2013-04-01 Thread Mark Lawrence
On 01/04/2013 23:12, [email protected] wrote: On Monday, April 1, 2013 6:09:04 PM UTC-4, Mark Lawrence wrote: On 01/04/2013 22:42, [email protected] wrote: Self-bump It's considered polite to wait for at least 24 hours before bumping a question. You might have got more answe

Re: Help

2013-04-01 Thread Mark Lawrence
nt or Detective Parsons. Oh sorry they're from the Church Police, but please be cautious anyway. -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Performance of int/long in Python 3

2013-04-02 Thread Mark Lawrence
us propaganda of the various Pythonistas who frequent this list? -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Performance of int/long in Python 3

2013-04-02 Thread Mark Lawrence
On 02/04/2013 11:58, Steve Simmons wrote: On 02/04/2013 10:43, Mark Lawrence wrote: On 02/04/2013 10:24, jmfauth wrote: On 2 avr, 10:35, Steven D'Aprano wrote: On Tue, 02 Apr 2013 19:03:17 +1100, Chris Angelico wrote: So what? Who cares if it takes 0.2 second to insert a char

Re: Performance of int/long in Python 3

2013-04-02 Thread Mark Lawrence
On 02/04/2013 15:39, Steve Simmons wrote: My post was primarily aimed at recognising the work that people like Mark, Neil and others have done to move the problem forward and was intended to help shift the focus to a more productive approach. Again, my apologies if it was ill timed or ill

Re: Performance of int/long in Python 3

2013-04-02 Thread Mark Lawrence
ggier equivalents? jmf -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: HTTP GET REQUEST WITH PARAMETERS

2013-04-02 Thread Mark Lawrence
Easiest way I know is to use the highly rated requests module http://docs.python-requests.org/en/latest/ which is available on pypi. -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/p

Re: Performance of int/long in Python 3

2013-04-03 Thread Mark Lawrence
python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Make python 3.3 the default one and not 2.7

2013-04-03 Thread Mark Lawrence
. Thx in advance. Not quite answering your question but are you aware of http://docs.python.org/3/using/windows.html#launcher ? -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/p

Re: Performance of int/long in Python 3

2013-04-03 Thread Mark Lawrence
this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Performance of int/long in Python 3

2013-04-03 Thread Mark Lawrence
p™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: RE : Gnuplot

2013-04-04 Thread Mark Lawrence
using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Error running any script in IDLE

2013-04-04 Thread Mark Lawrence
= input("test") I see you've already got an answer but you didn't run the above code as you'd get a syntax error. As you're new I'll leave you to find out where :) -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/Goog

Re: im.py: a python communications tool

2013-04-05 Thread Mark Janssen
pic, but I encourage people to NOT invent their own > licenses. Take your pick of any of the well-known (Berkeley, MIT, GPL, > etc) licenses, and use that. [...] That all being said, and excellent policy and commentary in general, no one should have trouble interpreting "do whatever you

Re: [OT?]gmane not updating

2013-04-06 Thread Mark Lawrence
, or even if it's actually been delivered :( Is there anybody lurking who could stir the embers to get things rolling? TIA. Mark Lawrence Forget it normal service has been resumed :) -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPyt

Re: How do I tell if I'm running under IDLE?

2013-04-06 Thread Mark Janssen
> (Apologies in advance if you get multiple copies of this. My Usenet > connection seems to be having a conniption fit at the moment.) > > I'm looking for an official way to tell what interpreter (if any) is > running, or at least a not-too-horrible unofficial way. I was going to work on this IDLE

Re: Performance of int/long in Python 3

2013-04-07 Thread Mark Lawrence
I strongly prefer having python devs spending their time looking after the 3905 open issues of which 1729 have patches, see http://comments.gmane.org/gmane.comp.python.devel/138310 -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython.

Re: I hate you all

2013-04-07 Thread Mark Lawrence
n.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: im.py: a python communications tool

2013-04-08 Thread Mark Janssen
x27;t pay for, because they never entered into an agreement, not did you. Mark Janssen Tacoma, Washington. -- http://mail.python.org/mailman/listinfo/python-list

Re: im.py: a python communications tool

2013-04-08 Thread Mark Janssen
On Mon, Apr 8, 2013 at 7:05 PM, Dave Angel wrote: > On 04/08/2013 07:16 PM, Mark Janssen wrote: >> >> On Sun, Apr 7, 2013 at 3:36 PM, Steven D'Aprano >> wrote: >>> >>> On Sun, 07 Apr 2013 14:47:11 -0700, jhunter.dunefsky wrote: >>> >>&g

Re: im.py: a python communications tool

2013-04-08 Thread Mark Janssen
) Legally, you are right, but I was speaking from the point of view of a judge, rather than a lawyer. Like the sheriff says: "I make the law around here!" lol. Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: im.py: a python communications tool

2013-04-09 Thread Mark Janssen
On Tue, Apr 9, 2013 at 12:14 AM, Chris Angelico wrote: > On Tue, Apr 9, 2013 at 1:37 PM, Mark Janssen > wrote: >> In the case of free (libre) open source >> software, such a case would have no merit, because such software never >> promises anyone *anything*. >

Re: im.py: a python communications tool

2013-04-09 Thread Mark Janssen
us all under their thumbs. If I hand you a rose, will you sue me because it doesn't smell like one? If no money changed hands? I don't have to cite anything! This is argument of the absurd and should be inadmissible. Honestly, it's all because of this Novus Ordo Seclorum bullshit. M

Re: im.py: a python communications tool

2013-04-09 Thread Mark Janssen
, you also have > standing to sue that she gave you a car that was unfit for the purpose it > was designed. Okay, if the TV show disconnected the brake lines, there could be argument of criminal negligence on her production, but otherwise the car company could be sued. You don't sue Oprah because she's not the one who designed it. Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: im.py: a python communications tool

2013-04-09 Thread Mark Janssen
al even if they don't have lawyer. The Establishment has been intimidating people for too long. I'm just calling it out, so my crowd (can I call it that?) doesn't give away it's power. Mark. -- http://mail.python.org/mailman/listinfo/python-list

Re: I hate you all

2013-04-09 Thread Mark Lawrence
s the fun in that? :) -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: im.py: a python communications tool

2013-04-09 Thread Mark Janssen
a car mechanic to ask for the best way to set a broken > leg. You wouldn't go to a professional gardener to ask how to fight a > land war in Asia. Yeah and a programmer wouldn't go to a lawyer to GIVE SOMETHING AWAY FOR FREE! I mean I couldn't brainwash this kind of commo

Re: im.py: a python communications tool

2013-04-09 Thread Mark Janssen
want tin foil hats, though, you'll have to notice what's right in front of your face -- you already have voodoo right on your currency that YOU have accepted. Egyptian pyramids on the U.S. dollar? All seeing eye? It's you who have the burden of explanation brother, because it doesn't make any sense without going to outer space. Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: im.py: a python communications tool

2013-04-09 Thread Mark Janssen
> And by putting it online for free download, IN THE ABSENCE OF AN EXPLICIT > DISCLAIMER, you are implying that it is fit for its purpose, and that you > have a duty of care to make sure that it does do what you say it does. No, there is no requirement for a disclaimer. In the US, what is not exp

Re: im.py: a python communications tool

2013-04-09 Thread Mark Janssen
> Lots of obvious generalizations out there which are wrong, at least some of > the time. You know, Dave funny thing is, right there is one of them. -- MarkJ Tacoma, Washington -- http://mail.python.org/mailman/listinfo/python-list

Re: im.py: a python communications tool

2013-04-09 Thread Mark Janssen
On Tue, Apr 9, 2013 at 2:40 AM, Chris Angelico wrote: > On Tue, Apr 9, 2013 at 6:58 PM, Mark Janssen > wrote: >> If you want tin foil hats, though, >> you'll have to notice what's right in front of your face -- you >> already have voodoo right on yo

Re: I hate you all

2013-04-09 Thread Mark Lawrence
On 09/04/2013 14:39, Grant Edwards wrote: On 2013-04-09, Mark Lawrence wrote: But wouldn't it have been easier simply to do do a quick sed or whatever rather than to spend hours here arguing? Where's the fun in that? :) What, you don't think sed is fun? Having never rea

Re: im.py: a python communications tool

2013-04-09 Thread Mark Lawrence
On 09/04/2013 08:21, Chris Angelico wrote: On Tue, Apr 9, 2013 at 5:20 PM, Mark Janssen wrote: On Tue, Apr 9, 2013 at 12:14 AM, Chris Angelico wrote: On Tue, Apr 9, 2013 at 1:37 PM, Mark Janssen wrote: In the case of free (libre) open source software, such a case would have no merit

Re: im.py: a python communications tool

2013-04-09 Thread Mark Janssen
place before and after the event. The "system" shouldn't get dragged in because you want to act like a child and get your daddy to help you. Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: I hate you all

2013-04-09 Thread Mark Lawrence
On 09/04/2013 22:09, Walter Hurry wrote: On Tue, 09 Apr 2013 16:51:26 +0100, Mark Lawrence wrote: Having never really used a *nix box in anger how would I know? A substantial portion of my career was spent on a combination of VMS, C with embedded SQL and Ingres. Please don't ask as I

Re: I hate you all

2013-04-09 Thread Mark Lawrence
On 10/04/2013 00:21, Steven D'Aprano wrote: On Tue, 09 Apr 2013 23:09:19 +0100, Mark Lawrence wrote: On 09/04/2013 22:09, Walter Hurry wrote: On Tue, 09 Apr 2013 16:51:26 +0100, Mark Lawrence wrote: Having never really used a *nix box in anger how would I know? A substantial portion

Re: I hate you all

2013-04-09 Thread Mark Lawrence
On 10/04/2013 00:28, Chris Angelico wrote: On Wed, Apr 10, 2013 at 9:21 AM, Steven D'Aprano wrote: Walter is pointing out that as a Windows user... Walter is also assuming that Mark is a Windows user, which was never actually stated :) ChrisA Another unicode error with VMS

Re: People in the python community [was Re: Unicode issue with Python v3.3]

2013-04-10 Thread Mark Lawrence
ponding to queries on the tutor mailing list as well. Definite case of the patience of a saint. -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: People in the python community [was Re: Unicode issue with Python v3.3]

2013-04-10 Thread Mark Lawrence
On 10/04/2013 15:43, Νίκος Γκρ33κ wrote: Anyone please? I have already shown my support for Peter Otten on this thread. Are you asking for more people to do so? -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence --

Re: Can I iterate over a dictionary outside a function ?

2013-04-11 Thread Mark Lawrence
can be made possible to iterate over the dictionary using iterkeys outside the function ? If you're using Python 3 iterkeys has been renamed keys. -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.o

Re: My string module doesn't have maketrans or translate functions

2013-04-11 Thread Mark Lawrence
27;, 'octdigits', 'printable', 'punctuation', 'whitespace'] It doesn't have translate(), maketrans(), rstrip() and a whole lot of other things. What's the problem? Thanks! The string module is effectively dead. Many functions were deprecated back in 2.6, maketrans in 3.1, just use string methods instead. -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

OOPv2 -- Was: [Python-ideas] Reviving PEP 3140 - "str(container) should call str(item), not repr(item)"

2013-04-11 Thread Mark Janssen
On Sat, Apr 6, 2013 at 7:35 PM, Ned Batchelder wrote: > Mark, so I can understand your mindset better, what do you mean by "let's > update the OOP paradigm"? Do you mean, 1) "let's change Python in the next > release," or 2) "let's see if we ca

Re: OOPv2 -- Was: [Python-ideas] Reviving PEP 3140 - "str(container) should call str(item), not repr(item)"

2013-04-11 Thread Mark Lawrence
On 12/04/2013 01:29, Mark Janssen wrote: You are right. It might not be realistic given the Python developer environment at present. In fact, I'm moving the thread out of python-ideas into python-list since Guido doesn't want to discuss it. Please don't. -- If you'

Re: OOPv2 -- Was: [Python-ideas] Reviving PEP 3140 - "str(container) should call str(item), not repr(item)"

2013-04-11 Thread Mark Janssen
On Thu, Apr 11, 2013 at 5:34 PM, Mark Lawrence wrote: > On 12/04/2013 01:29, Mark Janssen wrote: >> >> >> You are right. It might not be realistic given the Python developer >> environment at present. In fact, I'm moving the thread out of >> python-idea

Re: OOPv2 -- Was: [Python-ideas] Reviving PEP 3140 - "str(container) should call str(item), not repr(item)"

2013-04-11 Thread Mark Lawrence
On 12/04/2013 01:54, Mark Janssen wrote: Sorry, not the whole repr() vs str() thread, just the inquiry about rethinking OOP Mark IMHO an adequate summary of your views in the last paragraph here http://mail.python.org/pipermail/python-ideas/2013-March/020034.html -- If you're

Re: Message passing syntax for objects | OOPv2

2013-04-11 Thread Mark Janssen
;m going to limit myself to Turing machines and not deal at all with lamba calculii and abstract programming environments that exist in the imagination.) 2) Everything outside the concrete types is an object. 3) Objects (not the concrete types) talk to other Objects, **otherwise they would be a ma

Re: OOPv2 -- Was: [Python-ideas] Reviving PEP 3140 - "str(container) should call str(item), not repr(item)"

2013-04-11 Thread Mark Janssen
not sure what you're suggesting is so > revolutionary. Lol, apparently you're not all that familiar with Python history, because Python had it also, it called them types and objects (see the docs on v2.2). If you read my thread I just sent out, you'll get what I'm after a bit mor

Re: Message passing syntax for objects | OOPv2

2013-04-12 Thread Mark Lawrence
On 12/04/2013 02:57, Mark Janssen wrote: [dross snipped] A summary here http://pinterest.com/pin/464293042804330899/ -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: shutil.copyfile is incomplete (truncated)

2013-04-12 Thread Mark Lawrence
orted. ChrisA Slapping forehead ... hard. Thanks! a) We've all done it :) b) The print function/statement or Python's interactive mode are awesome in situations like this. -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Ma

Re: CSV to matrix array

2013-04-12 Thread Mark Lawrence
ert on numpy but there is a loadtxt function see http://docs.scipy.org/doc/numpy/reference/generated/numpy.loadtxt.html -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: im.py: a python communications tool

2013-04-12 Thread Mark Janssen
On Fri, Apr 12, 2013 at 12:46 PM, Prasad, Ramit wrote: > Mark Janssen wrote: >> But you see, there's the critical difference. First of all you're >> making two errors in your comparison. Firstly, a *person* is saying >> that she's going to *do something for

Re: Message passing syntax for objects | OOPv2

2013-04-12 Thread Mark Janssen
> Mark, this proposal is out of place on a Python list, because it proposes an > object methodology radically different from any that is implemented in > Python now, or is even remotely likely to be implemented in Python in the > future. Wow, you guys are a bunch of ninnies. I

Re: CSV to matrix array

2013-04-13 Thread Mark Lawrence
ply your mapping and then write this to your array. The obvious alternative is to use a list of lists. -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Issue 16061 performance regression in string replace for 3.3

2013-04-13 Thread Mark Lawrence
Fixed full details here http://bugs.python.org/issue16061 -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: howto remove the thousand separator

2013-04-14 Thread Mark Janssen
! cleaned='' for c in myStringNumber: if c != ',': cleaned+=c int(cleaned) mark -- http://mail.python.org/mailman/listinfo/python-list

Re: howto remove the thousand separator

2013-04-14 Thread Mark Janssen
> I would do int(num.replace(',', '')) That's much more pythonic than my C-ish version Mark -- http://mail.python.org/mailman/listinfo/python-list

Re: howto remove the thousand separator

2013-04-14 Thread Mark Lawrence
ng replace method thus. >>> '12,916'.replace(',', '') '12916' -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: howto remove the thousand separator

2013-04-14 Thread Mark Janssen
On Sun, Apr 14, 2013 at 5:29 PM, Steven D'Aprano wrote: > On Sun, 14 Apr 2013 12:06:12 -0700, Mark Janssen wrote: > >> cleaned='' >> for c in myStringNumber: >>if c != ',': >> cleaned+=c >> int(cleaned) > > due to bei

The type/object distinction and possible synthesis of OOP and imperative programming languages

2013-04-14 Thread Mark Janssen
cture of object-oriented programming languages is a possible middle ground that could unite them all. Thank you for your time. Mark Janssen Tacoma, Washington -- http://mail.python.org/mailman/listinfo/python-list

Re: Iterating dictionary items + if statement results in problems

2013-04-15 Thread Mark Lawrence
call() running twice. I can't seem to get a hang on it. Saludos Ombongi Moraa Faith -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

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

2013-04-16 Thread Mark Janssen
On Mon, Apr 15, 2013 at 3:32 PM, Chris Angelico wrote: > On Tue, Apr 16, 2013 at 8:12 AM, Rotwang wrote: >> Traceback (most recent call last): >> File "", line 1, in >> class C(type(lambda: None)): >> TypeError: type 'function' is not an acceptable base type >> >> >> and I don't think that

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

2013-04-16 Thread Mark Janssen
> I'm not quite sure I understand your question, but I'll give it a shot. :-) Thank you, and my apologies for my late reply. > The C/C++ model, in which the types are anchored to the machine hardware, in > the exception, not the rule. In the academic literature, "type theory" is > almost entir

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

2013-04-16 Thread Mark Janssen
On Mon, Apr 15, 2013 at 2:06 AM, Uday S Reddy wrote: > In programming language theory, there is no law to the effect that > "everything" should be of one kind or another. So, we would not go with > Alan Kay's ideal. I understand. I state Kay's points to show how the evolution of (this part of)

Re: Atoms, Identifiers, and Primaries

2013-04-17 Thread Mark Janssen
On Tue, Apr 16, 2013 at 8:55 PM, rusi wrote: > On Apr 17, 7:57 am, Bruce McGoveran wrote: >> 3. Section 5.3.1 offers this definition of an attributeref: >> attributeref ::= primary "." identifier >> > > One general comment I will make is regarding your distress at what you > call 'circular'

Re: Atoms, Identifiers, and Primaries

2013-04-17 Thread Mark Janssen
On Wed, Apr 17, 2013 at 5:29 PM, alex23 wrote: > On Apr 18, 9:40 am, Mark Janssen wrote: >> This is what this list (python) has not figured out yet, because they >> look up to the theoretical C.S. field and it hasn't yet been >> published. > > No one here idol

Re: Atoms, Identifiers, and Primaries

2013-04-17 Thread Mark Janssen
On Wed, Apr 17, 2013 at 5:33 PM, Ian Kelly wrote: > On Wed, Apr 17, 2013 at 5:40 PM, Mark Janssen > wrote: >> Rercursion the "bedrock" of language-design. I don't think so. From >> what I know, a well-defined language ends at its symbols. It makes no >&g

Re: Atoms, Identifiers, and Primaries

2013-04-17 Thread Mark Lawrence
On 18/04/2013 01:41, Mark Janssen wrote: On Wed, Apr 17, 2013 at 5:29 PM, alex23 wrote: On Apr 18, 9:40 am, Mark Janssen wrote: This is what this list (python) has not figured out yet, because they look up to the theoretical C.S. field and it hasn't yet been published. No one here ido

Re: Atoms, Identifiers, and Primaries

2013-04-17 Thread Mark Lawrence
On 18/04/2013 02:04, Mark Janssen wrote: On Wed, Apr 17, 2013 at 5:33 PM, Ian Kelly wrote: On Wed, Apr 17, 2013 at 5:40 PM, Mark Janssen wrote: Rercursion the "bedrock" of language-design. I don't think so. From what I know, a well-defined language ends at its symbols. It

Re: Novice Issue

2013-04-18 Thread Mark Lawrence
itionally, minor issue with getting script to stop when q or quit is typed any help would be greatly appreciated -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- 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-18 Thread Mark Janssen
ence the evolution towards Object-Orientation), where in the latter (I'm guessing, since it's not my area of expertise) the progression has been towards function sophistication (where recursion seems to be paramount). In any case, I look forward to diving into the books and references you&

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

2013-04-18 Thread Mark Janssen
> One of the nice things about OOP is it means so many different things to > different people. All of whom believe with religious fervor that they > know the true answer. Here's a simple rule to resolve the ambiguity. Whoever publishes first, gets to claim origin of a word and its usage, kind o

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

2013-04-18 Thread Mark Janssen
On Thu, Apr 18, 2013 at 7:10 PM, Ned Batchelder wrote: > You won't solve the problem of confusing, ambiguous, or conflicting > terminology by making up a rule. "Object-oriented" means subtly different > things to different people. That's a problem, not a solution. > It turns out that computing

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

2013-04-18 Thread Mark Janssen
>> The main thing that I notice is that there is a heavy "bias" in >> academia towards mathematical models. > > Yeah wonderful observation. Lets clean up! > > If I have a loop: > > while i < len(a) and a[i] != x: >i++ > > I need to understand that at the end of the loop: > i >= len(a) or a[i]

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

2013-04-19 Thread Mark Janssen
On Thu, Apr 18, 2013 at 11:31 PM, Jason Wilkins wrote: > I don't quite think I understand what you are saying. Are you saying that > mathematical models are not a good foundation for computer science because > computers are really made out of electronic gates? No, I'm really trying to point out

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

2013-04-19 Thread Mark Janssen
> I think there is some misunderstanding here. Being "mathematical" in > academic work is a way of making our ideas rigorous and precise, instead of > trying to peddle wooly nonsense. I'm sorry. I am responsible for the misunderstanding. I used the word "math" when I really mean symbolic logic

Re: Is Unicode support so hard...

2013-04-20 Thread Mark Lawrence
e any more as it's been fixed http://bugs.python.org/issue16061 Sadly he'll almost certainly have more edge cases up his sleeve while continuing to ignore minor issues like memory saving and correctness. -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Is Unicode support so hard...

2013-04-21 Thread Mark Lawrence
mbles and inaccurate claims. Others separated out and verified the accurate report. I reported it to pydev and enquired as to its necessity, I believe Mark opened the tracker issue, and the two people who worked on optimizing 3.3 a year ago fairly quickly came up with two different patches. The se

Re: Comparison Style

2013-04-26 Thread Mark Lawrence
Bravado, bravado. What a voice! (What a bank balance!) -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Why chunks is not part of the python standard lib?

2013-05-01 Thread Mark Lawrence
lease read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Why chunks is not part of the python standard lib?

2013-05-01 Thread Mark Lawrence
On 01/05/2013 10:00, Oscar Benjamin wrote: On 1 May 2013 08:10, Mark Lawrence wrote: On 01/05/2013 07:26, Ricardo Azpeitia Pimentel wrote: After reading How do you split a list into evenly sized chunks in Python? <http://stackoverflow.com/questions/312443/how-do-you-split-a-list-into-eve

Re: to a human - about 2to3

2013-05-01 Thread Mark Lawrence
work, 0/10, must try harder :) that you haven't specified -w, --write in which case the files don't get modified. c:\Users\Mark\MyPython>2to3 --help Usage: 2to3 [options] file|dir ... Options: -h, --helpshow this help message and exit -d, --doctests_only Fix up

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

2013-05-01 Thread Mark Janssen
>> Here's a simple rule to resolve the ambiguity. Whoever publishes >> first, gets to claim origin of a word and its usage, kind of like a >> BDFL. The rest can adapt around that, make up their own word, or be >> corrected as the community requires. > > You seem to want to squeeze all of compute

Re: Why chunks is not part of the python standard lib?

2013-05-02 Thread Mark Lawrence
On 02/05/2013 09:53, Wolfgang Maier wrote: What do you think? Wolfgang It ain't gonna happen, unless somebody puts Raymond Hettinger in the Comfy Chair :) -- If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrenc

Re: help to code...

2013-05-02 Thread Mark Lawrence
s unambiguous! ChrisA Better IMHO is to use strftime http://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior so the complete code could be from datetime import datetime print(datetime.now().strftime('%m/%Y/%d %H %m %S')) -- If you're using GoogleCrap™ please read

Re: help to code...

2013-05-02 Thread Mark Lawrence
On 02/05/2013 16:37, MRAB wrote: On 02/05/2013 16:26, Mark Lawrence wrote: On 02/05/2013 15:59, Chris Angelico wrote: On Thu, May 2, 2013 at 11:50 PM, leonardo selmi wrote: dear python community, i wrote the following program: print str(current_month) + '/' + str(current_day) +

Re: Python not starting

2013-05-05 Thread Mark Lawrence
're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: Why do Perl programmers make more money than Python programmers

2013-05-05 Thread Mark Lawrence
using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Re: (Learner-here) Lists + Functions = headache

2013-05-06 Thread Mark Lawrence
http://wiki.python.org/moin/GoogleGroupsPython. Mark Lawrence -- http://mail.python.org/mailman/listinfo/python-list

Shed Skin (Python-to-C++ Compiler) 0.0.5.9

2005-12-15 Thread Mark Dufour
mance comparisons between CPython, Psyco and Shed Skin (perhaps even PyPy :P), because quite some interesting programs compile now, and Shed Skin is usually a lot faster than Psyco, except when Python builtins are the bottleneck. I guess some more STL magic is required here.. Let the smal

Re: Xah's Edu Corner: Responsible Software Licensing

2005-12-17 Thread Mark Carter
robic0 wrote: > Xah, please admit to me that your under the influence of > physocopic drugs! He could be schizophrenic. Seekers of all things wierd on the internet can do no better than Gene Ray's Timecube: http://www.timecube.com/ His outpourings are so well known that he even gets a menti

Passwords in cron scripts

2005-12-24 Thread Mark Carter
I have some python scripts that run as cron jobs. They connect to external resources (like a newsserver) - for which passwords are required. I currently have them stored in the scripts themselves (ouch!) - and was wondering if there was a more secure solution. -- http://mail.python.org/mailman/

Windows and python execution

2005-12-26 Thread Mark Carter
What I would like to do it type something like > myscript.py instead of > python myscript.py on a Windows console. I know its possible because Ruby scripts manage to do this - I just don't know the registry settings that need to be tweaked to enable it. Any ideas (I'd prefer to know the registr

Re: Windows and python execution

2005-12-26 Thread Mark Carter
rzed wrote: > Mark Carter <[EMAIL PROTECTED]> wrote in > news:[EMAIL PROTECTED]: > > >>What I would like to do it type something like >> >>>myscript.py >> >>instead of >> >>>python myscript.py > As another poster points o

<    34   35   36   37   38   39   40   41   42   43   >