On 17 Oct 2013 05:48:10 GMT, Steven D'Aprano st...@pearwood.info wrote:
On Thu, 17 Oct 2013 00:22:47 -0400, random832 wrote:
While this flippant usage of Nazi (based on, as I understand it,
Seinfeld's soup nazi) may be offensive, it has nothing to do with
sexism. If the scope of this
I don't know if I want to step into the flames here, but my understanding has
always been that in the absence of polymorphism the best you can do is object
based programming instead of object oriented programming.
Object based programming is a powerful step forward. The insight that by
On 17/10/2013 01:53, Mark Janssen wrote:
And your earlier idea that punched cards didn't have tokens is wildly
ignorant of the state of software and languages 50 years ago.
Please tell me how you parsed tokens with binary switches 50 years
ago. Your input is rubbish.
You must be one of the
On 17/10/2013 02:31, Brandon La Porte wrote:
On Wednesday, 16 October 2013 18:31:09 UTC-4, Mark Lawrence wrote:
On 16/10/2013 22:34, Brandon La Porte wrote:
I have the following code to make a plot of 4 different supply curves
(economics).
from matplotlib import pyplot as plt
On Thu, Oct 17, 2013 at 5:49 PM, Peter Cacioppi
peter.cacio...@gmail.com wrote:
I don't know if I want to step into the flames here, but my understanding has
always been that in the absence of polymorphism the best you can do is
object based programming instead of object oriented programming.
What you've said here is that without polymorphism, you can't have
polymorphism. :)
Respectfully, no. I refer to the distinction between object based and object
oriented programming. Wikipedia's entry is consistent with my understanding
(not to argue by wiki-authority, but the terminology
Am 17.10.13 09:23, schrieb Peter Cacioppi:
Do you have a clean little example of polymorphism being
mocked in a reasonable way with pure C? There are many nice
object-based C projects floating around, but real polymorphism? I
think you can't do it without some bizarre work-arounds, but I'd be
On Thu, Oct 17, 2013 at 6:23 PM, Peter Cacioppi
peter.cacio...@gmail.com wrote:
Respectfully, no. I refer to the distinction between object based and object
oriented programming. Wikipedia's entry is consistent with my understanding
(not to argue by wiki-authority, but the terminology here
rusi writes:
However - to speak a little for Mark's perspective (from a hopefully
more educated background): There's a fine line between laboriously
simulating a feature and properly supporting it:
- C has arbitrary precision arithmetic -- use gmp library
- C is a functional language -- use
On 17/10/2013 01:46, Chris Angelico wrote:
On Thu, Oct 17, 2013 at 11:43 AM, MRAB pyt...@mrabarnett.plus.com wrote:
I'm guessing, but perhaps you need:
instance = getattr(self, %s % key)
How's that different from getattr(self,str(key))?
I'm trying to make the bug clearer for the OP by
On Thu, 17 Oct 2013 11:46:52 +1100, Chris Angelico wrote:
On Thu, Oct 17, 2013 at 11:43 AM, MRAB pyt...@mrabarnett.plus.com
wrote:
I'm guessing, but perhaps you need:
instance = getattr(self, %s % key)
How's that different from getattr(self,str(key))?
Are you blind man? The first one
On Thu, 17 Oct 2013 01:36:36 +0200, Skybuck Flying wrote:
Computer languages should also support labels and the goto statement so
that code recovery from failures is more easy:
O_o
That's a very ... interesting ... statement.
Oh look, your post was cross-posted to no fewer than four
On Wed, 16 Oct 2013 23:13:33 -0400, Owen Jacobson wrote:
Last week, Elad Maidar wrote a fairly short but readable opinion
piece[0] illustrating some long-standing social problems in the Ruby
community, ending with a very specific call to action around naming
conventions for Ruby projects and
On Wed, Oct 16, 2013, at 11:13 PM, Owen Jacobson wrote:
[...]
2. What kind of social pressure can we bring to bear to _keep_ Python's
package naming conventions as socially neutral as they are, if and when
some high-profile dirtbag decides this language is the best language?
How can we
On Thu, Oct 17, 2013 at 9:30 PM, mar...@python.net wrote:
On Wed, Oct 16, 2013, at 11:13 PM, Owen Jacobson wrote:
[...]
2. What kind of social pressure can we bring to bear to _keep_ Python's
package naming conventions as socially neutral as they are, if and when
some high-profile dirtbag
On Thu, 17 Oct 2013 17:44:01 +1100, Ben Finney wrote:
[...]
Nazis, while they were an awful oppressive influence in society in the
first half of the 20th century, are not an influence now in the 3rd
millennium.
Tell that to Golden Dawn. And the Russian Parliament.
Just because few people in
On 16Oct2013 16:13, t.h.i.r.d_...@hotmail.com t.h.i.r.d_...@hotmail.com wrote:
Can somebody tell me how I can test BockHosts? I want to see if
an IP address gets blocked or not, as I have to provide evidence
of testing for a presentation.
Well, you could ping it I suppose... Unless you're
:
On Thu, Oct 17, 2013 at 09:20:39AM +, Steven D'Aprano wrote:
Oh well. There's only so much I can do at once. I've got bigger
troubles than trying to solve Ruby's problems with yahoos, and
frankly, if I were a Ruby community member, I wouldn't exactly be
pleased to have a bunch of
On Thursday, October 17, 2013 12:19:02 PM UTC+5:30, Peter Cacioppi wrote:
Object oriented programming takes things further, most significantly by
introducing the idea that the object reference you are referencing might be a
run time dependent sub-class. Even Python, which isn't strongly
On Thursday, October 17, 2013 6:09:59 PM UTC+5:30, rusi wrote:
On Thursday, October 17, 2013 12:19:02 PM UTC+5:30, Peter Cacioppi wrote:
Object oriented programming takes things further, most significantly by
introducing the idea that the object reference you are referencing might be a
Hi.
Thank you all for your answers.
--
Context:
The problem I want to address is the code being stuck too long when the
network is down.
I'm working on a software gateway running on a Raspberry Pi, that forwards
data received through a radio link
On 2013-10-17, Mark Janssen dreamingforw...@gmail.com wrote:
And your earlier idea that punched cards didn't have tokens is wildly
ignorant of the state of software and languages 50 years ago.
Please tell me how you parsed tokens with binary switches 50 years
ago. Your input is rubbish.
Are
In article 201310162317485-owenjacobson@grimoireca,
Owen Jacobson owen.jacob...@grimoire.ca wrote:
* SexMachine (https://pypi.python.org/pypi/SexMachine/0.1.1 - an
attempt to detect the gender of names, which⦠well, ask the nearest boy
named Sue - or girl named Leslie)
I'm not sure
Hello,
On Thu, Oct 17, 2013 at 03:34:05PM +0200, Jérôme wrote:
Hi.
Thank you all for your answers.
--
Context:
The problem I want to address is the code being stuck too long when the
network is down.
I'm working on a software gateway
I am a woman and all I can say to these things is.. Bringing light to these
things do nothing but give attention to the attention seeking.. yea the
names are dumb. But does it ever stop me. No. Mainly because ignore the
college/boyish mentality that is associated with names like that.
On Thu,
Prior to that [the '70s] you have punch cards where there's no meaningful
definition of parsing because there are no tokens.
I have no idea what you mean by this. [...]
You seem drawn to sweeping statements about the current state and history of
computer science, but then make claims like
On 17/10/2013 15:49, Mark Janssen wrote:
Prior to that [the '70s] you have punch cards where there's no meaningful
definition of parsing because there are no tokens.
I have no idea what you mean by this. [...]
You seem drawn to sweeping statements about the current state and history of
On Fri, Oct 18, 2013 at 1:49 AM, Mark Janssen dreamingforw...@gmail.com wrote:
It's like this. No matter how you cut it, you're going to get back to
the computers where you load instructions with switches. At that
point, I'll be very much looking in anticipation to your binary-digit
lexer.
On 17/10/2013 04:13, Owen Jacobson wrote:
It is no business of the Python community how the Ruby community manages
sexism or any other ism.
--
Roses are red,
Violets are blue,
Most poems rhyme,
But this one doesn't.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Oct 18, 2013 at 1:38 AM, Danyelle Davis ladyni...@gmail.com wrote:
I am a woman and all I can say to these things is.. Bringing light to these
things do nothing but give attention to the attention seeking.. yea the
names are dumb. But does it ever stop me. No. Mainly because ignore
Hello Everyone!
*Problem:*
I am trying a simple code for writting excel sheet. The program checks if
the Excel sheet already exists, If the file exists, then it append it with
the new data. The problem is I am unable to copy hyperlinks. I would be very
thankful if anyone can suggest me some way.
What we need to do is A) Prove that we are not sexist and racist by excluding
and intolerating people who do not agree with. B) Head on over to the Ruby
mailing list and make a thread called Hey guys we are the python people, and
can you learn to behave, ok plz? wherein we detail to them what
On Thursday, October 17, 2013 5:18:25 PM UTC+5:30, Zero Piraeus wrote:
:
On Thu, Oct 17, 2013 at 09:20:39AM +, Steven D'Aprano wrote:
Oh well. There's only so much I can do at once. I've got bigger
troubles than trying to solve Ruby's problems with yahoos, and
frankly, if I
Peter Cacioppi peter.cacio...@gmail.com writes:
What you've said here is that without polymorphism, you can't have
polymorphism. :)
Respectfully, no. I refer to the distinction between object based and object
oriented programming. Wikipedia's entry is consistent with my understanding
On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris Angelico wrote:
Module names should be descriptive, not fancy.
Interesting comment, on a mailing list for a language named after a snake,
especially by a guy who claims to prefer an language named after a fish :-)
--
On Wednesday, October 16, 2013 1:56:27 AM UTC+5:30, zipher wrote:
Yes, well clearly we are not having the same thoughts, yet the
purpose of the academic establishment is to pin down such terminology
and not have these sloppy understandings everywhere. You dig?
Heh Mark I am really sorry. I
On 17/10/2013 17:43, Paul Pittlerson wrote:
What we need to do is A) Prove that we are not sexist and racist by
excluding and intolerating people who do not agree with. B) Head on
over to the Ruby mailing list and make a thread called Hey guys we
are the python people, and can you learn to
On 17/10/2013 18:32, rusi wrote:
On Wednesday, October 16, 2013 1:56:27 AM UTC+5:30, zipher wrote:
Yes, well clearly we are not having the same thoughts, yet the
purpose of the academic establishment is to pin down such
terminology and not have these sloppy understandings everywhere.
You dig?
On 17/10/2013 18:32, rusi wrote:
On Wednesday, October 16, 2013 1:56:27 AM UTC+5:30, zipher wrote:
Yes, well clearly we are not having the same thoughts, yet the
purpose of the academic establishment is to pin down such terminology
and not have these sloppy understandings everywhere. You dig?
17.10.13 20:37, MRAB написав(ла):
It's interesting to note that, in the early days, programming was
thought to be a suitable job for a woman because, after all, it
involved typing, so basically it was just clerical activity!
But in the earlier days, typing and clerical activity were male
Brandon La Porte laporte.bran...@gmail.com writes:
I have the following code to make a plot of 4 different supply curves
(economics).
from matplotlib import pyplot as plt
price = range(0,51)
q1 = [x/2.0 for x in price]
q2 = [x/4.0 for x in price]
q3 = [x/5.0 for x in price]
q4 =
On 10/17/2013 04:50 AM, Cameron Simpson wrote:
On 16Oct2013 16:13, t.h.i.r.d_...@hotmail.com t.h.i.r.d_...@hotmail.com wrote:
Can somebody tell me how I can test BockHosts? I want to see if
an IP address gets blocked or not, as I have to provide evidence
of testing for a presentation.
Well,
The first C++ compilers were just preprocessors that translated into
pure C code ...
I agree with this.
the C code was reasonably clear, not really convoluted, so you would have
been able to write it yourself.
I disagree with this. My sense of C is that IF you are relying on
On Thu, Oct 17, 2013 at 11:16 AM, Roy Smith r...@panix.com wrote:
On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris Angelico wrote:
Module names should be descriptive, not fancy.
Interesting comment, on a mailing list for a language named after a snake,
especially by a guy who claims
On 17/10/2013 20:43, Ian Kelly wrote:
On Thu, Oct 17, 2013 at 11:16 AM, Roy Smith r...@panix.com wrote:
On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris Angelico wrote:
Module names should be descriptive, not fancy.
Interesting comment, on a mailing list for a language named after a
I sovled with :
for key, val in
self.projectsInstance.addOnFieldsInstance.items():
setattr(self,%s % val,val)
instance = getattr(self,%s % val)
print %s %s % (key,val)
QtCore.QObject.connect(instance,
On Thu, Oct 17, 2013 at 10:32 AM, rusi rustompm...@gmail.com wrote:
On Wednesday, October 16, 2013 1:56:27 AM UTC+5:30, zipher wrote:
Yes, well clearly we are not having the same thoughts, yet the
purpose of the academic establishment is to pin down such terminology
and not have these sloppy
Op 17-10-13 16:38, Danyelle Davis schreef:
I am a woman and all I can say to these things is.. Bringing light to
these things do nothing but give attention to the attention seeking..
yea the names are dumb. But does it ever stop me. No. Mainly because
ignore the college/boyish mentality that
On 18 October 2013 04:16, Roy Smith r...@panix.com wrote:
On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris Angelico wrote:
Module names should be descriptive, not fancy.
Interesting comment, on a mailing list for a language named after a snake,
especially by a guy who claims to
On 10/17/2013 2:49 AM, Peter Cacioppi wrote:
Even Python, which isn't strongly typed,
Python objects have a definite type/class. It is fixed for instances of
builtins. If that is not 'strong', the word has no meaning.
manages polymorphism by allowing the self argument to a sub-class of
On 17/10/2013 07:49, Peter Cacioppi wrote:
I don't know if I want to step into the flames here,
Even Python, which isn't strongly typed
Yeah right.
--
Roses are red,
Violets are blue,
Most poems rhyme,
But this one doesn't.
Mark Lawrence
--
My bad, Python is dynamically typed, but also strongly typed.
But I still say it has language features that specifically support
polymorphism, which is why true OO can be developed in Python in a readable way.
--
https://mail.python.org/mailman/listinfo/python-list
On 17 October 2013 04:13, Owen Jacobson owen.jacob...@grimoire.ca wrote:
Last week, Elad Maidar wrote a fairly short but readable opinion piece[0]
illustrating some long-standing social problems in the Ruby community,
ending with a very specific call to action around naming conventions for
On 17 October 2013 22:14, Joshua Landau jos...@landau.ws wrote:
It's not our job to do anything. We can't clean the internet, so
there's no point trying. Personally I think the common digressions
into attacks on intellect and professionalism are much more socially
regressed than the minute
On 10/17/13 3:49 PM, Mark Janssen wrote:
On Thu, Oct 17, 2013 at 10:32 AM, rusi rustompm...@gmail.com wrote:
On Wednesday, October 16, 2013 1:56:27 AM UTC+5:30, zipher wrote:
Yes, well clearly we are not having the same thoughts, yet the
purpose of the academic establishment is to pin down
On Thursday 17 October 2013 17:34:15 Mark Lawrence did opine:
On 17/10/2013 20:43, Ian Kelly wrote:
On Thu, Oct 17, 2013 at 11:16 AM, Roy Smith r...@panix.com wrote:
On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris Angelico wrote:
Module names should be descriptive, not fancy.
On 10/16/13 11:13 PM, Owen Jacobson wrote:
3. How can we reach out to the Ruby community and help *them* get past
the current crop of gender issues, and help them as a group to do better
next time?
The Ruby community seems to be a singular example of brogrammer
culture: mostly young men, lots
On 10/17/2013 01:57 PM, Ned Batchelder wrote:
Read and listen more. Write and say less.
Mark Janssen has no interest in learning. From a thread long-ago:
Mark Janssen wrote:
Ethan Furman wrote:
Mark Janssen wrote:
Really?
-- int=five
-- [int(i) for i in [1,2,3]]
TypeError: str is
On Fri, Oct 18, 2013 at 8:50 AM, Kevin Walzer k...@codebykevin.com wrote:
I've worked in marketing, editing, technical writing, and development, and
at no place I have ever worked would such behavior be greeted with anything
but immediate termination.
That's all very well, but what if these
On 10/17/13 6:11 PM, Chris Angelico wrote:
On Fri, Oct 18, 2013 at 8:50 AM, Kevin Walzer k...@codebykevin.com wrote:
I've worked in marketing, editing, technical writing, and development, and
at no place I have ever worked would such behavior be greeted with anything
but immediate termination.
On Fri, Oct 18, 2013 at 4:16 AM, Roy Smith r...@panix.com wrote:
On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris Angelico wrote:
Module names should be descriptive, not fancy.
Interesting comment, on a mailing list for a language named after a snake,
especially by a guy who claims to
Dear all,
Suppose I have the following code:
##3
mydic = dict()
mydict.update({'string':QtGui.QCheckBox()}) ## suppose this dic has many
value with some string and QCheckBox Object
#Then i have itreate it :
for key, val in mydict.items():
On 18/10/2013 00:17, Mohsen Pahlevanzadeh wrote:
Dear all,
Suppose I have the following code:
##3
mydic = dict()
mydict.update({'string':QtGui.QCheckBox()}) ## suppose this dic has many
value with some string and QCheckBox Object
If you do this, you're
You know, I'd heard somewhere that Goto was considered harmful trying to
remember exactly where
--
https://mail.python.org/mailman/listinfo/python-list
In article cb5c412c-7d41-4778-acc6-c82200848...@googlegroups.com,
Peter Cacioppi peter.cacio...@gmail.com wrote:
OTOH, I've seen object-based C development projects (I.e. where you could
tell what function was being called at compile time) that are quite readable.
If you can tell what
On Fri, Oct 18, 2013 at 11:01 AM, Roy Smith r...@panix.com wrote:
In article cb5c412c-7d41-4778-acc6-c82200848...@googlegroups.com,
Peter Cacioppi peter.cacio...@gmail.com wrote:
OTOH, I've seen object-based C development projects (I.e. where you could
tell what function was being called at
In article mailman.1186.1382050591.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
12.1. pickle Python object serialization
(flavorful, fine once you know it, but a little unintuitive)
Actually, pickle is a very descriptive term. You might be thinking that
a pickle is
On Oct 17, 2013 6:59 PM, Peter Cacioppi peter.cacio...@gmail.com wrote:
You know, I'd heard somewhere that Goto was considered harmful trying
to remember exactly where
I can't tell if you were kidding or not... Just in case:
http://en.m.wikipedia.org/wiki/Considered_harmful
(can't
Cmon, Skip, assuming everyone gets the considered harmful reference falls
under the we're all adults here rubric.
--
https://mail.python.org/mailman/listinfo/python-list
yes it was a joke, apparently not a good one
On Thu, Oct 17, 2013 at 5:39 PM, Skip Montanaro skip.montan...@gmail.comwrote:
On Oct 17, 2013 6:59 PM, Peter Cacioppi peter.cacio...@gmail.com
wrote:
You know, I'd heard somewhere that Goto was considered harmful
trying to remember
On Thu, 17 Oct 2013 21:13:33 +0300, Serhiy Storchaka wrote:
17.10.13 20:37, MRAB написав(ла):
It's interesting to note that, in the early days, programming was
thought to be a suitable job for a woman because, after all, it
involved typing, so basically it was just clerical activity!
But
On Thu, 17 Oct 2013 07:49:52 -0700, Mark Janssen wrote:
It's like this. No matter how you cut it, you're going to get back to
the computers where you load instructions with switches. At that point,
I'll be very much looking in anticipation to your binary-digit lexer.
Why stop there? If you
On Thu, Oct 17, 2013 at 3:10 PM, Ethan Furman et...@stoneleaf.us wrote:
On 10/17/2013 01:57 PM, Ned Batchelder wrote:
Read and listen more. Write and say less.
Mark Janssen has no interest in learning. From a thread long-ago:
Mark Janssen wrote:
Ethan Furman wrote:
Mark Janssen
On Thu, 17 Oct 2013 19:24:58 +1100, Chris Angelico wrote:
Anyway, what I sought to prove was that polymorphic object oriented code
can be written in C or any other language.
The proof of this is that any Turing-complete language can simulate any
other language. Obviously the *difficulty* can
On Thu, 17 Oct 2013 08:50:26 +0200, Steve Hayes wrote:
On 17 Oct 2013 05:48:10 GMT, Steven D'Aprano st...@pearwood.info
wrote:
On Thu, 17 Oct 2013 00:22:47 -0400, random832 wrote:
While this flippant usage of Nazi (based on, as I understand it,
Seinfeld's soup nazi) may be offensive, it
Hi all,
I am new to python, just was looking for logic to understand to write code in
the below scenario.
I am having a file (filea) with multiple columns, and another file(fileb) with
again multiple columns, but say i want to use column2 of fileb as a search
expression to search for similar
It's like this. No matter how you cut it, you're going to get back to
the computers where you load instructions with switches. At that point,
I'll be very much looking in anticipation to your binary-digit lexer.
Why stop there? If you go back far enough, you've got Babbage with his
On Fri, 18 Oct 2013 02:07:48 +1100, Chris Angelico wrote:
Thing is, it's all very well to avoid using one particular module
because you don't like its name... but what happens when there are a
goodly number of such ill-named modules? Let's suppose you don't like
the name readline because it
On Fri, 18 Oct 2013 07:18:49 +0530, torque.in...@gmail.com wrote:
Hi all,
I am new to python, just was looking for logic to understand to write
code in the below scenario.
I am having a file (filea) with multiple columns, and another
file(fileb) with again multiple columns, but say i
On Thu, 17 Oct 2013 18:59:07 -0700, Mark Janssen wrote:
-- int=five
-- [int(i) for i in [1,2,3]]
TypeError: str is not callable
Now how are you going to get the original int type back?
Trivially easy:
py int
type 'int'
py int = five # Oops!
py int(42.5)
Traceback (most recent call
On Fri, 2013-10-18 at 00:54 +0100, MRAB wrote:
On 18/10/2013 00:17, Mohsen Pahlevanzadeh wrote:
Dear all,
Suppose I have the following code:
##3
mydic = dict()
mydict.update({'string':QtGui.QCheckBox()}) ## suppose this dic has many
value
On Wed, 16 Oct 2013 23:49:02 -0700, Peter Cacioppi wrote:
Even Python, which isn't strongly typed
I see that in a later message you have stepped away from that
misconception, but I think it is well worth reading this essay:
https://cdsmith.wordpress.com/2011/01/09/an-old-article-i-wrote/
On Thu, 17 Oct 2013 10:16:24 -0700, Roy Smith wrote:
On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris Angelico wrote:
Module names should be descriptive, not fancy.
Interesting comment, on a mailing list for a language named after a
snake, especially by a guy who claims to prefer an
On Thursday, October 17, 2013 11:14:29 PM UTC+5:30, MRAB wrote:
On 17/10/2013 18:32, rusi wrote:
On Wednesday, October 16, 2013 1:56:27 AM UTC+5:30, zipher wrote:
Yes, well clearly we are not having the same thoughts, yet the
purpose of the academic establishment is to pin down such
On Friday, October 18, 2013 7:38:30 AM UTC+5:30, zipher wrote:
It's like this. No matter how you cut it, you're going to get back to
the computers where you load instructions with switches. At that point,
I'll be very much looking in anticipation to your binary-digit lexer.
Why stop
On Fri, Oct 18, 2013 at 11:10 AM, Roy Smith r...@panix.com wrote:
In article mailman.1186.1382050591.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
12.1. pickle ‹ Python object serialization
(flavorful, fine once you know it, but a little unintuitive)
Actually, pickle
On Thu, 17 Oct 2013 19:08:30 -0700, Mark Janssen wrote:
It's like this. No matter how you cut it, you're going to get back to
the computers where you load instructions with switches. At that
point, I'll be very much looking in anticipation to your binary-digit
lexer.
Why stop there? If
On Fri, Oct 18, 2013 at 2:14 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Thu, 17 Oct 2013 10:16:24 -0700, Roy Smith wrote:
On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris Angelico wrote:
Module names should be descriptive, not fancy.
Interesting comment, on a
On Fri, Oct 18, 2013 at 2:14 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
One thing he missed is that there are untyped languages where everything
is the same type. If everything is the same type, that's equivalent to
there being no types at all. Examples include TCL and
On Fri, 18 Oct 2013 06:43:12 +0330, Mohsen Pahlevanzadeh wrote:
On Fri, 2013-10-18 at 00:54 +0100, MRAB wrote:
[...]
Why are you using attributes anyway? Why not just store them in a dict?
At first i store them in a dict:
###33
for row in
On Fri, 18 Oct 2013 15:12:36 +1100, Chris Angelico wrote:
On Fri, Oct 18, 2013 at 2:14 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
One thing he missed is that there are untyped languages where
everything is the same type. If everything is the same type, that's
equivalent
On Fri, Oct 18, 2013 at 3:45 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
I don't know about TCL, but in Hypertalk, when I said everything is a
string, I meant it. If you want a list of strings, you create one big
string using some delimiter (usually spaces, commas or
On Wed, Oct 16, 2013 at 9:13 PM, Owen Jacobson owen.jacob...@grimoire.cawrote:
Last week, Elad Maidar wrote a fairly short but readable opinion piece[0]
illustrating some long-standing social problems in the Ruby community,
ending with a very specific call to action around naming conventions
Martin Matusiak added the comment:
Hm, I see. Actually, in is already used in this function a little further
down:
elif PyPy in sys_version:
So we should change both occurrences then. I'm attaching a v2 with these
changes.
--
Added file:
Claudiu.Popa added the comment:
I could use self-pattern-logical_size, but it seems that I still need the
call to getstring for bytes co, to obtain the view to the underlying buffer
(otherwise the group0 part from the repr will contain random bytes). I didn't
find a simpler way to achieve
Georg Brandl added the comment:
Looks fine but -- as a new feature -- is 3.4 only, and needs docs and tests.
--
nosy: +georg.brandl
stage: - patch review
versions: +Python 3.4 -Python 2.7
___
Python tracker rep...@bugs.python.org
New submission from Tobias Oberstein:
Currently the `zlib` module documents
zlib.compressobj([level])
However, there are more parameters present already today:
zlib.compressobj([level, method, wbits])
These other parameters are used in at least 2 deployed libraries (in the
context
Changes by Ned Deily n...@acm.org:
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19275
___
___
Python-bugs-list mailing
New submission from Tobias Oberstein:
The zlib library provides a couple of knobs to control the behavior and
resource consumption of compression:
ZEXTERN int ZEXPORT deflateInit2 OF((z_streamp strm,
int level,
Esa Peuha added the comment:
Apparently related to issue 19205 and issue 19209. Looks like _osx_support
imports re which imports copyreg.
--
nosy: +Esa.Peuha
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19275
1 - 100 of 177 matches
Mail list logo