Re: Best search algorithm to find condition within a range

2015-04-08 Thread Mark Lawrence
our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Best search algorithm to find condition within a range

2015-04-08 Thread Mark Lawrence
with search in lookuptables. I suggest that you put this on python ideas before writing up a PEP, it seems like a sure fire winner to me. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org

Re: Working with Access tables and python scripts

2015-04-14 Thread Mark Lawrence
> table. > A query joining related tables would need to be done. Ideally I would > like to execute the script from the Access data entry form > immediately after entering the required data into the database. Yes -- I did so in excel using VB some 15 years ago. Download and install Ma

Re: New to Python - block grouping (spaces)

2015-04-16 Thread Mark Lawrence
as, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: New to Python - block grouping (spaces)

2015-04-16 Thread Mark Lawrence
humourous side of the Python programming culture. Long may it continue. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: New to Python - block grouping (spaces)yhoni

2015-04-16 Thread Mark Lawrence
't crucial. The year is 2015, not 1520. Get an editor that can indent and dedent code, there's tens if not hundreds of the things, IDLE included. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mai

Re: EuroPython 2015: Django Girls Workshop

2015-04-17 Thread Mark Lawrence
than the Django Girls Workshop. Referring to adults as children can be seen as condescending. http://djangogirls.org/ -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Calling back into Python from llvmlite-JITed code

2015-04-18 Thread Mark Lawrence
An article from Eli Bendersky that I found interesting, maybe the same applies to you. http://eli.thegreenplace.net/2015/calling-back-into-python-from-llvmlite-jited-code/ -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence

Re: New to Python - block grouping (spaces)

2015-04-19 Thread Mark Lawrence
language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: do you guys help newbies??

2015-04-19 Thread Mark Lawrence
harder. JDH And I think you forgot to check the date of the post to which you're responding. Rather sad to see those three initials in that post as well 😢 -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: New to Python - block grouping (spaces)

2015-04-19 Thread Mark Lawrence
On 20/04/2015 03:08, Rustom Mody wrote: Prestige of Unix development environment keeps us stuck with text files when the world has moved on If it ain't broke, don't fix it. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our langu

Re: [RELEASED] Python 3.5.0a4 is now available

2015-04-20 Thread Mark Summerfield
be run as > part of a larger application's installer for apps using or extending > Python. I can't see any mention of this in https://docs.python.org/dev/whatsnew/3.5.html Best wishes, -- Mark Summerfield, Qtrac Ltd, www.qtrac.eu Python and PyQt/PySide - training and consul

Re: a python song - learning

2015-04-21 Thread Mark Lawrence
-- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: a python song - learning

2015-04-21 Thread Mark Lawrence
uld get someone who is musically inclined, with Chris Angelico springing to my mind, to put The Zen of Python to music. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: want to learn python

2015-04-21 Thread Mark Lawrence
tutor list, see https://mail.python.org/mailman/listinfo/tutor which is also available as gmane.comp.python.tutor -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Type checking tools for Python 2?

2015-04-21 Thread Mark Lawrence
nd only one way to find out unless somebody better qualified than I am can give a definitive statement. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Is there existing code to log-with-bells-on for runtime algorithm diagnostics?

2015-04-21 Thread Mark Lawrence
t what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: New to Python - block grouping (spaces)

2015-04-22 Thread Mark Lawrence
nical Council If the PEC were going to use any weapon of torture it would be the Comfy Chair, unless somebody borrowed the time machine and destroyed it before it could be put to use. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.

Re: [RELEASED] Python 3.5.0a4 is now available

2015-04-22 Thread Mark Lawrence
backtraces/error messages at console - etc [Not me since I am not messing with 3.5 ATM nor do I have easy access to a windows box] Please don't feed the RUE, you're wasting everybody's time. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our

Re: [RELEASED] Python 3.5.0a4 is now available

2015-04-22 Thread Mark Lawrence
On 22/04/2015 18:59, Ian Kelly wrote: On Wed, Apr 22, 2015 at 7:07 AM, Mark Lawrence wrote: Please don't feed the RUE, you're wasting everybody's time. If there's a problem with the installer, that's worth knowing about, isn't it? At least one of jmf's p

Re: New to Python - block grouping (spaces)

2015-04-24 Thread Mark Lawrence
enterprise Python, such as Python is not compiled, Python is weakly-typed, Python does not scale, and more. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Boolean Operator Confusion

2015-04-24 Thread Mark Lawrence
. Got to start them off somewhere so http://nedbatchelder.com/text/test0.html -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: [Matplotlib] Ploting an exponential distribution frequency curve

2015-04-25 Thread Mark Lawrence
here http://matplotlib.org/gallery.html#statistics ? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: How to install dtrx with pip?

2015-04-25 Thread Mark Lawrence
Failing that simply download the file, extract everything and run python setup.py install -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Best GUI for Python

2015-04-26 Thread Mark Lawrence
not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Wrote a memoize function: I do not mind feedback

2015-04-29 Thread Mark Lawrence
you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Best GUI for Python

2015-04-29 Thread Mark Lawrence
ho can't teach :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Using + with strings considered bad

2015-04-29 Thread Mark Lawrence
o write. ' '.join(strings) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: str more precise in 3 as 2.7

2015-04-29 Thread Mark Lawrence
rences. See either https://docs.python.org/3/library/string.html#formatspec or https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: implicitly concats of adjacent strings does not work with format

2015-04-29 Thread Mark Lawrence
ze once for {0}' 'to determine speed increase' .format(large_fibonacci)) I now use this, I did not know that the addjacent-concatenation occurred at compile time. I spend a ‘little‘ time, but it was worth it. From the amount of messages you could think I am a spammer. ;-) Did you me

Re: implicitly concats of adjacent strings does not work with format

2015-04-29 Thread Mark Lawrence
On 29/04/2015 18:08, Cecil Westerhof wrote: Op Wednesday 29 Apr 2015 18:04 CEST schreef Mark Lawrence: From the amount of messages you could think I am a spammer. ;-) Did you mean spanner? ;-) My English is not good enough to understand what you mean by this. Seek, and ye shall find

Re: seek operation in python

2015-04-29 Thread Mark Lawrence
named "input.cpp"(c++ file) that contains some 80 lines of code. -- https://mail.python.org/mailman/listinfo/python-list -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Python re to extract useful information from each line

2015-04-29 Thread Mark Lawrence
\s(?P[^\s]+?))?(?P\slog)?$' ) ... and that's why we avoid regular expressions... it makes my head hurt just looking at that line noise. Emile Great minds think alike :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.

Re: Rounding a number

2015-04-30 Thread Mark Lawrence
but please don't top post here. It's no problem on short threads, but as they get longer trying to follow when top posting is involved is nigh on impossible. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https

Re: l = range(int(1E9))

2015-04-30 Thread Mark Lawrence
I must also confess to being highly impressed, it's a breath of fresh air having an apprentice Pythonista who is looking at doing things the Pythonic way :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- h

Nuitka Progress in Spring 2015

2015-04-30 Thread Mark Lawrence
can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: l = range(int(1E9))

2015-04-30 Thread Mark Lawrence
On 01/05/2015 05:19, Cecil Westerhof wrote: Op Thursday 30 Apr 2015 22:53 CEST schreef Mark Lawrence: On 30/04/2015 19:50, Cecil Westerhof wrote: Op Thursday 30 Apr 2015 19:12 CEST schreef Rob Gaddi: This also leads to a unrelated question, Cecil. Given that you really are just starting to

Re: Looks like Python 3 files do not confirm to Python 3

2015-05-01 Thread Mark Lawrence
arching I think it's this https://github.com/cedadev/ndg_httpsclient/ but please don't quote me on that. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Rewriting to Python 3

2015-05-01 Thread Mark Lawrence
llow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: l = range(int(1E9))

2015-05-02 Thread Mark Lawrence
f writing a for loop was, and still is:- for item in items: When did this change, or has it always been this way and you were simply using an idiom from other languages? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Law

Re: l = range(int(1E9))

2015-05-02 Thread Mark Lawrence
On 02/05/2015 17:17, BartC wrote: On 02/05/2015 16:40, Mark Lawrence wrote: On 02/05/2015 16:26, BartC wrote: On 30/04/2015 18:20, Ben Finney wrote: Jon Ribbens writes: If you use xrange() instead of range() then you will get an iterator which will return each of the numbers in turn

Re: Python is not bad ;-)

2015-05-02 Thread Mark Lawrence
ly reply at the bottom, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: l = range(int(1E9))

2015-05-02 Thread Mark Lawrence
On 02/05/2015 19:34, BartC wrote: On 02/05/2015 17:39, Mark Lawrence wrote: On 02/05/2015 17:17, BartC wrote: On 02/05/2015 16:40, Mark Lawrence wrote: for item in items: When did this change, or has it always been this way and you were simply using an idiom from other languages? Your

Re: l = range(int(1E9))

2015-05-02 Thread Mark Lawrence
My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Is this a good way to implement testing

2015-05-02 Thread Mark Lawrence
ve I prefer the third party docopt module https://github.com/docopt/docopt although you could also try https://docs.python.org/3/library/argparse.html#module-argparse The standard library unit testing framework is here https://docs.python.org/3/library/unittest.html#module-unittest but also see h

Re: l = range(int(1E9))

2015-05-02 Thread Mark Lawrence
pain all over again with the transition from Python 3 to Python 4. Alright, alright, only joking :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Is this a good way to implement testing

2015-05-03 Thread Mark Lawrence
isn't Python either :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Messages with a time stamp

2015-05-03 Thread Mark Lawrence
erhof/PythonLibrary/blob/master/utilDecebal.py Rather than reinvent the wheel maybe you can pinch something from here https://docs.python.org/3/howto/logging-cookbook.html#logging-to-multiple-destinations -- My fellow Pythonistas, ask not what our language can do for you, ask what you can

Re: Is this a good way to implement testing

2015-05-03 Thread Mark Lawrence
ssue profile your code to find the bottlenecks, as gut instinct about Python performance is wrong 99.99% of the time. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: l = range(int(1E9))

2015-05-03 Thread Mark Lawrence
On 03/05/2015 12:30, Chris Angelico wrote: On Sun, May 3, 2015 at 9:16 PM, Steven D'Aprano wrote: On Sun, 3 May 2015 12:16 pm, Mark Lawrence wrote: I doubt that six will ever make the standard library as 2.7 only has another five years in official support. By that time I suppose we&

Re: Bitten by my C/Java experience

2015-05-04 Thread Mark Lawrence
dangerous at all, your test code picks it up. I'd also guess, but don't actually know, that one of the various linter tools could be configured to find this problem. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Mark Lawrence
uld be "apt-get install python3-dev". Give that a try, and then retry the pip install. I should have thought about that myself. :-( An alternative is to switch to Windows and do away with this archaic concept of users having to build code :) -- My fellow Pythonistas, ask

Re: Cannot update OpenSSL for Python3

2015-05-04 Thread Mark Lawrence
dea what is happening here? Showing my complete ignorance of *nix, what is the difference betweeen "/usr/lib/python3.4/..." and "/usr/lib64/python3.4/..."? Simply 32 versus 64 bit, which can or can't be mixed, or what? -- My fellow Pythonistas, ask not what our language can

PyPy Development: CFFI 1.0 beta 1

2015-05-05 Thread Mark Lawrence
Read all about it http://morepypy.blogspot.co.uk/2015/05/cffi-10-beta-1.html -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Is it normal to cry when given XML?

2015-05-05 Thread Mark Lawrence
ythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Json Comaprision

2015-05-06 Thread Mark Lawrence
for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Bitten by my C/Java experience

2015-05-06 Thread Mark Lawrence
ld warn about it. Linters were mentioned a day or two back. Take a horse to water... -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Throw the cat among the pigeons

2015-05-06 Thread Mark Lawrence
and CORAL 250. Capability violation anybody? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: extracting zip item to in-memory

2015-05-06 Thread Mark Lawrence
help! python 2.7 https://docs.python.org/2/library/xml.html#module-xml -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: calling base class method fetches no results

2015-05-09 Thread Mark Lawrence
can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: calling base class method fetches no results

2015-05-09 Thread Mark Lawrence
go. Three strikes and you're out. And please don't top post here, it's extremely annoying when trying to follow long threads. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: numpy and cython

2015-05-09 Thread Mark Lawrence
no idea what you're talking about, then I cannot be bothered to try and help. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: numpy and cython

2015-05-09 Thread Mark Lawrence
et us in on? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: getting fieldnames from Dictreader before reading lines

2015-05-09 Thread Mark Lawrence
nistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: anomaly

2015-05-10 Thread Mark Lawrence
On 10/05/2015 17:48, Rustom Mody wrote: On Sunday, May 10, 2015 at 10:14:36 PM UTC+5:30, Ian wrote: On Sun, May 10, 2015 at 10:34 AM, Mark Rosenblitt-Janssen wrote: Here's something that might be wrong in Python (tried on v2.7): class int(str): pass This defines a new class named

Re: anomaly

2015-05-10 Thread Mark Lawrence
On 10/05/2015 23:59, Mark Rosenblitt-Janssen wrote: On 5/10/15, Mark Rosenblitt-Janssen wrote: Here's something that might be wrong in Python (tried on v2.7): class int(str): pass int(3) '3' Mark Here's where this exploration came from. I've (once again)

Re: anomaly

2015-05-10 Thread Mark Lawrence
On 11/05/2015 01:14, Mark Rosenblitt-Janssen wrote: In case the example given at the start of the thread wasn't interesting enough, it also works in the other direction: class str(int): pass str('2') 2 #<----- an integer!!! Mark Thanks for this, I've not f

Re: Confessions of a Python fanboy

2015-05-10 Thread Mark Lawrence
uld almost think that Python's concept of OOP wasn't pure enough for you. You should talk to that other guy who says that Python is too pure, his name is Mark Rosenblitt-Janssen. I'm sure you two would have a lot to talk about. Ah, the penny has finally dropped. I recall years a

Re: Why is array.array('u') deprecated?

2015-05-11 Thread Mark Lawrence
aybe I'll try that. Thanks for the suggestions! Jonathan http://sourceforge.net/projects/pyropes/ of any use to you? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: anomaly

2015-05-11 Thread Mark Lawrence
ies in Python such as what the current thread is discussing? You need to understand that Python is so powerful that after 14 years I still can't wrap my mind around all of the possibilities that it offers. -- My fellow Pythonistas, ask not what our language can do for you, ask what

Re: anomaly

2015-05-11 Thread Mark Lawrence
#keywords None, True and False are all keywords in Python 3, int isn't as I believe has already been pointed out. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: anomaly

2015-05-11 Thread Mark Lawrence
On 11/05/2015 12:39, Antoon Pardon wrote: Op 11-05-15 om 12:40 schreef Mark Lawrence: On 11/05/2015 11:15, Antoon Pardon wrote: Op 10-05-15 om 19:28 schreef Gary Herron: Common Python thought:: "We're all adults here."If you want to override a builtin within your own nam

Re: anomaly

2015-05-11 Thread Mark Lawrence
bject, but not everything is under the covers (e.g., numeric elements of array objects). Skip Are you aware that you're attempting to communicate with a known troll who thankfully has been absent for some years? -- My fellow Pythonistas, ask not what our language can do for yo

Re: anomaly

2015-05-12 Thread Mark Lawrence
loped anything of note in either Python or COBOL. Why waste the final seven words? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Instead of deciding between Python or Lisp for a programming intro course...What about an intro course that uses *BOTH*? Good idea?

2015-05-12 Thread Mark Lawrence
t you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: anomaly

2015-05-12 Thread Mark Lawrence
unction. Once you've settled that, please explain to me what the built-in name 'int' is in all versions of Python. ChrisA Do we really have to feed this guy, he's worse than the RUE? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do fo

Re: Instead of deciding between Python or Lisp for a programming intro course...What about an intro course that uses *BOTH*? Good idea?

2015-05-12 Thread Mark Lawrence
il.python.org/pipermail/python-ideas/2013-March/019979.html -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Suggestion: PEP for tracking vulnerable packages within PyPI

2015-05-12 Thread Mark Lawrence
volved, so please let us know what your plans are. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Suggestion: PEP for tracking vulnerable packages within PyPI

2015-05-12 Thread Mark Lawrence
On 12/05/2015 22:56, Grant Murphy wrote: Please don't top post here it's extremely irritating. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Basic misunderstanding on object creation

2015-05-13 Thread Mark Lawrence
eballs overworked. At least I've tried but sorry, had to give up :( -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Basic misunderstanding on object creation

2015-05-13 Thread Mark Lawrence
On 13/05/2015 18:05, Terry Reedy wrote: On 5/13/2015 12:38 PM, Mark Lawrence wrote: I'm completely convinced that I've seen a change go through on the bug tracker that impacts on this area, but many months if not years ago. Unfortunately searching the bug tracker for super, __new__

Re: Basic misunderstanding on object creation

2015-05-13 Thread Mark Lawrence
sed comment like this? Please don't bother asking again after that response, especially to somebody with the stature of Terry Reedy. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/

Re: Building CPython

2015-05-13 Thread Mark Lawrence
s.python.org/devguide/setup.html#windows -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Instead of deciding between Python or Lisp for a programming intro course...What about an intro course that uses *BOTH*? Good idea?

2015-05-13 Thread Mark Lawrence
ven't understood, padawan. *plonk* You took your time over that :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Looking for direction

2015-05-13 Thread Mark Lawrence
s I would need, or a tutorial it would be a great help. Thank you. Check this out http://pandas.pydata.org/ -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Instead of deciding between Python or Lisp for a programming intro course...What about an intro course that uses *BOTH*? Good idea?

2015-05-13 Thread Mark Lawrence
e like a kick to the head. Mark, you seem to be labouring under the delusion that we don't agree with you because we "boneheads" don't understand what you are talking about. That's wrong. We understand what you are talking about. We don't agree with you because half of yo

Re: a python pitfall

2015-05-14 Thread Mark Lawrence
ter than implicit." ? Thanks! Billy -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Python: How to find out values of all feasible x under constraints.

2015-05-15 Thread Mark Lawrence
to roll your own. See for example https://pypi.python.org/pypi/python-constraint/1.2 -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Building CPython

2015-05-15 Thread Mark Lawrence
as, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Building CPython

2015-05-15 Thread Mark Lawrence
. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

pip grabs tar.gz file instead of whl?

2015-05-15 Thread Mark Lawrence
hese days. However as you can see below despite my best efforts I'm still processing the tar.gz file, so what am I doing wrong? C:\Users\Mark\Documents\MyPython>pip install --no-cache-dir --trusted-host http://www.lfd.uci.edu/ -U -f http://www.lfd.uci.edu/~gohlke/pythonlibs/ numba Colle

Re: pip grabs tar.gz file instead of whl?

2015-05-15 Thread Mark Lawrence
On 15/05/2015 19:55, Chris Angelico wrote: On Sat, May 16, 2015 at 4:45 AM, Ethan Furman wrote: On 05/15/2015 06:04 AM, Mark Lawrence wrote: C:\Users\Mark\Documents\MyPython>pip install --no-cache-dir --trusted-host http://www.lfd.uci.edu/ -U -f http://www.lfd.uci.edu/~gohlke/pythonl

Re: Building CPython

2015-05-15 Thread Mark Lawrence
s would find it far easier to grasp. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Python: How to find out values of all feasible x under constraints.

2015-05-15 Thread Mark Lawrence
On 15/05/2015 13:35, Mark Lawrence wrote: On 15/05/2015 04:58, Xiang Zhang wrote: Dear all, I am writing a code using Python now. I want to know how to find out values of all feasible x under constraints. x = [x_1, x_2, x_3,..., x_10] constraints: x_i = 0,1,2,3 or 4, where i=1,2

Re: pip grabs tar.gz file instead of whl?

2015-05-15 Thread Mark Lawrence
On 16/05/2015 02:26, Chris Angelico wrote: On Sat, May 16, 2015 at 7:00 AM, Mark Lawrence wrote: The same file installed perfectly when downloaded and installed in two steps. Whether this is simply a known bug with zipfile handling, pip itself, a combination of both or what I've no ide

Re: Building CPython

2015-05-15 Thread Mark Lawrence
On 16/05/2015 02:55, Steven D'Aprano wrote: On Sat, 16 May 2015 09:27 am, Mark Lawrence wrote: On 15/05/2015 23:44, Marko Rauhamaa wrote: BartC : What /is/ a method lookup? Is it when you have this: A.B() and need to find whether the expression A (or its class or type) has a n

Re: Minimising stack trace

2015-05-15 Thread Mark Lawrence
rimination against people who live in Mudeford, which of course straddles the mighty River Mude. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: pip grabs tar.gz file instead of whl?

2015-05-15 Thread Mark Lawrence
On 16/05/2015 03:17, Chris Angelico wrote: On Sat, May 16, 2015 at 11:58 AM, Mark Lawrence wrote: The way I see it, pip is great for handling the most common case where you just want to name a package and say "go fetch", but if you want to override its decisions, you should use the l

Re: pip grabs tar.gz file instead of whl?

2015-05-15 Thread Mark Lawrence
On 16/05/2015 05:28, Terry Reedy wrote: On 5/16/2015 12:12 AM, Mark Lawrence wrote: The whole point is that setup.py never works because it can't find VS despite the fact that I know I've got the correct version installed. If I download a whl file, pip installs that version perfe

Re: Python 3: yum is dead, long live dnf!

2015-05-18 Thread Mark Lawrence
ton Churchill, not U Thant? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

<    25   26   27   28   29   30   31   32   33   34   >