On Sat, 17 Jan 2015 02:03:57 +1100, Chris Angelico ros...@gmail.com wrote:
Scenario: You're introducing someone to Python for the first time.
S/he may have some previous programming experience, or may be new to
the whole idea of giving a computer instructions. You have a couple of
minutes to show
On 21-1-2015 18:59, Steve Hayes wrote:
3. When I started to look at it, I found that strings could be any length and
were not limited to swomething arbitrary, like 256 characters.
Even more fun is that Python's primitive integer type (longs for older Python
versions)
has no arbitrary
On Friday, 16 January 2015 11:04:20 UTC-4, Chris Angelico wrote:
Scenario: You're introducing someone to Python for the first time.
S/he may have some previous programming experience, or may be new to
the whole idea of giving a computer instructions. You have a couple of
minutes to show off
On Wednesday, 21 January 2015 15:06:33 UTC-4, Chris Angelico wrote:
On Thu, Jan 22, 2015 at 5:20 AM, Irmen de Jong wrote:
On 21-1-2015 18:59, Steve Hayes wrote:
3. When I started to look at it, I found that strings could be any length
and
were not limited to swomething arbitrary,
Chris,
Scenario: You're introducing someone to Python for the first time.
S/he may have some previous programming experience, or may be new to
the whole idea of giving a computer instructions. You have a couple of
minutes to show off how awesome Python is. What do you do?
Some ideas where
On Thu, Jan 22, 2015 at 5:20 AM, Irmen de Jong irmen.nos...@xs4all.nl wrote:
On 21-1-2015 18:59, Steve Hayes wrote:
3. When I started to look at it, I found that strings could be any length and
were not limited to swomething arbitrary, like 256 characters.
Even more fun is that Python's
Mark Summerfield added the comment:
Georg said to assign this to Ethan Furman but I don't seem to have that
facility.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23292
___
On 2015-01-21, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
In 2009, Robert Martin gave a talk at RailsConf titled What Killed
Smalltalk Could Kill Ruby.
But does he answer the more important question and can we use it to
kill PHP?.
--
Grant Edwards
New submission from Albert Zeyer:
The documentation about Py_Finalize() about freeing objects is not exactly
clear.
Esp., when I have called Py_INCREF somewhere, those objects will always have
ob_refcnt 0 unless I call Py_DECREF somewhere, what about these objects? Will
they be freed in
Hi Steven, you wrote:
In 2009, Robert Martin gave a talk at RailsConf titled What Killed
Smalltalk Could Kill Ruby.
I've yet to watch the video, I'll do that later tonight, but I also remember
what DHH said about Smalltalk in his FLOSS interview about Rails, with Randal
Schwartz, in July
On 2015-01-22 03:34, Steven D'Aprano wrote:
In 2009, Robert Martin gave a talk at RailsConf titled What Killed
Smalltalk Could Kill Ruby.
Holy pacing, Batman. Watching it at 2x leaves me wondering how much
of the stage was worn off during the presentation.
And now it's all but dead. Why did
New submission from Mark Summerfield:
I think it would be worth documenting
globals().update(MyEnumeration.__members__) in the Interesting
Examples section of the enum docs.
I suspect that most people will find that importing enums is annoying
because they'll get
import A
On Jan 21, 2015, at 12:06 AM, Denis McMahon denismfmcma...@gmail.com wrote:
On Tue, 20 Jan 2015 19:37:26 -0800, Chandrakant Tiwari wrote:
in the program below i want it to make it work the same way as TRACERT
command.
As an observation, you're re-inventing a wheel that already works
STINNER Victor added the comment:
To wait for the exit of the subprocess, we use RegisterWaitForSingleObject().
To cancel this wait, we can use UnregisterWait() which returns immediatly.
Problem: UnregisterWait() doesn't tell us if the wait was cancelled or not, the
cancellation is
On Wednesday, January 21, 2015 at 6:06:06 PM UTC+5:30, Chris Angelico wrote:
On Wed, Jan 21, 2015 at 11:09 PM, Rustom Mody wrote:
I would like a set to be {1,2,3} or at worst ⦃1,2,3⦄
and a bag to be ⟅1,2,3⟆
Apart from the unicode niceness that Ive described here
Drekin added the comment:
Unfortunately, I have little or no experience with Python C code and I even
don't have a C compiler installed so I cannot experiment. I'll just put my
ideas how to solve this here.
• Add sys.__readlinehook__ attribute, which can be set to a function taking a
prompt
On Wed, Jan 21, 2015 at 9:15 AM, Ian Kelly ian.g.ke...@gmail.com wrote:
class MultiSet(MutableSet):
In retrospect this probably shouldn't derive from MutableSet, since
that carries the expectation that all elements are unique (much like
how bool shouldn't be subclassed). For instance,
On Wed, Jan 21, 2015 at 7:47 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
More irksome that for the second we've to preface with
from collections import Counter
And still more a PITA that a straightforward standard name like bag (or
multiset) is called by such an
In 2009, Robert Martin gave a talk at RailsConf titled What Killed
Smalltalk Could Kill Ruby. (No cheering, that sort of attitude is one of
the things that killed Smalltalk.) Although Martin discusses Ruby, the
lessons could also apply to Python.
Video is available here:
Changes by Claudiu Popa pcmantic...@gmail.com:
--
priority: normal - high
stage: - patch review
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22885
___
Changes by Georg Brandl ge...@python.org:
--
assignee: docs@python - ethan.furman
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23292
___
On 01/21/2015 02:06 PM, Chris Angelico wrote:
On Thu, Jan 22, 2015 at 5:20 AM, Irmen de Jong irmen.nos...@xs4all.nl wrote:
On 21-1-2015 18:59, Steve Hayes wrote:
3. When I started to look at it, I found that strings could be any length
and
were not limited to swomething arbitrary, like 256
Chris Angelico ros...@gmail.com writes:
..., and I would guess a 64-bit Java would
also raise the limit.
Even in a 64-bit Java, the _type_ returned by String.length() is 'int',
and is thus at most (2**31 - 1). This isn't a problem for strings,
which never get that long in practice, but for
Joshua Landau added the comment:
I think I've fixed the memory leaks (plural).
There were also a host of other problems with the _UNPACK opcodes in ceval.
Here are the things I remember fixing, although I think I did slightly more:
- Not throwing an error when PyDict_New or PyDict_Update
In article w2dsif33j2k@scooby-doo.csail.mit.edu, alan@scooby-
doo.csail.mit.edu says...
Even in a 64-bit Java, the _type_ returned by String.length() is
'int', and is thus at most (2**31 - 1). This isn't a problem for
strings, which never get that long in practice, but for some other
Java
Enrico Tröger added the comment:
I got the same error suddenly with Python 2.7.9.
I think this is quite unfortunate because it somewhat breaks existing
behaviour, especially that SSL certificate verification is enabled by default.
Don't get me wrong, this is the right thing in general and it
Alan Bawden a...@scooby-doo.csail.mit.edu writes:
... Score one for untyped languages.
Drat. I should have writted dynamically typed languages.
The language has changed. When I was a novice Lisp hacker, we were
comfortable saying that Lisp was untyped. But nowadays we always say
that Lisp
Guido van Rossum added the comment:
Python 3's exception chaining allows us to do the second (easier to catch
without resorting to except Exception: or even except:) while still showing
the original exception in the traceback.
--
nosy: +gvanrossum
On Thu, Jan 22, 2015 at 8:20 AM, Matthew Ruffalo mm...@case.edu wrote:
Yes, length-unlimited strings are *extremely* useful in some
applications. I remember bitterly cursing Java's string length limit of
2 ** 31 (maybe - 1) on multiple occasions. Python's strings seem to
behave like integers
Claudiu Popa added the comment:
Here's a patch which uses ast.literal_eval instead. This doesn't get code
executed, since literal_eval will fail loudly for anything other than a
literal. There are some issues to consider:
- let the current ast.literal_eval call bubble out with a lot of
On Thu, Jan 22, 2015 at 8:46 AM, Matthew Ruffalo mm...@case.edu wrote:
No, Java's String.length returns an int and Strings are limited to ~2 **
31 characters even in 64-bit Java.
Huh, annoying. In Python, the length of a string (in characters) is
stored in a Py_ssize_t (if I recall correctly),
New submission from aruseni:
https://docs.python.org/3/tutorial/controlflow.html
In many ways the object returned by range() behaves as if it is a list, but
in fact it isn’t.
--
messages: 234449
nosy: aruseni
priority: normal
severity: normal
status: open
title: A typo in the
Alan Bawden a...@scooby-doo.csail.mit.edu writes:
The language has changed. When I was a novice Lisp hacker, we were
comfortable saying that Lisp was untyped. But nowadays we always say
that Lisp is dynamically typed. I could write an essay about why...
I'd be interested in seeing that.
Roundup Robot added the comment:
New changeset fb8a093db8b1 by Victor Stinner in branch '3.4':
Issue #23095, asyncio: Rewrite _WaitHandleFuture.cancel()
https://hg.python.org/cpython/rev/fb8a093db8b1
--
nosy: +python-dev
___
Python tracker
In article 873873ae91@jester.gateway.sonic.net,
no.email@nospam.invalid says...
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
In 2009, Robert Martin gave a talk at RailsConf titled What Killed
Smalltalk Could Kill Ruby... http://www.youtube.com/watch?v=YX3iRjKj7C0
Roundup Robot added the comment:
New changeset d3804307cce4 by Victor Stinner in branch '3.4':
Issue #23095, asyncio: IocpProactor.close() must not cancel pending
https://hg.python.org/cpython/rev/d3804307cce4
--
___
Python tracker
Changes by STINNER Victor victor.stin...@gmail.com:
--
title: [Windows] asyncio: race condition related in IocpProactor.connect_pipe()
- [Windows] asyncio: race condition related to IocpProactor.connect_pipe()
___
Python tracker
On 21-1-2015 20:06, Chris Angelico wrote:
On Thu, Jan 22, 2015 at 5:20 AM, Irmen de Jong irmen.nos...@xs4all.nl wrote:
On 21-1-2015 18:59, Steve Hayes wrote:
3. When I started to look at it, I found that strings could be any length
and
were not limited to swomething arbitrary, like 256
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
In 2009, Robert Martin gave a talk at RailsConf titled What Killed
Smalltalk Could Kill Ruby... http://www.youtube.com/watch?v=YX3iRjKj7C0
That's an hour-long video; could someone who's watched it give a brief
summary?
Meanwhile,
On Wednesday, January 21, 2015 at 11:18:54 AM UTC-8, Grant Edwards wrote:
On 2015-01-21, Steven D'Aprano st...@pearwood.info wrote:
In 2009, Robert Martin gave a talk at RailsConf titled What Killed
Smalltalk Could Kill Ruby.
But does he answer the more important question and can we use it
Rustom Mody rustompm...@gmail.com writes:
Thats not bfs. That's inorder traversal
Oops, you're right. How's this:
bfs x = go [x] where
go [] = []
go (L x:ts) = x:go ts
go (B x lst rst:ts) = x : go (ts ++ [lst, rst])
*Main bfs t
[6,2,8,1,4,7,9,3,5]
--
STINNER Victor added the comment:
It took me several months to understand this issue. For the beginning of the
story, see:
https://code.google.com/p/tulip/issues/detail?id=196
But I think that *this* issue can be closed: UnregisterWaitEx() really do what
we need in asyncio.
I don't like the
On Thu, Jan 22, 2015 at 10:19 AM, Anthony Papillion
anth...@cajuntechie.org wrote:
To be fair, PHP has come a long way in the last few years and, I hear,
there's movements within the community to make it better. Namespaces
were a bit deal as were a few other things. Personally, while I am
On Thu, Jan 22, 2015 at 10:37 AM, Tim Daneliuk tun...@tundraware.com wrote:
I find these kinds of discussions sort of silly. Once there is a critical
mass of installed base, no language EVER dies.
Not sure about that. Back in the 1990s, I wrote most of my code in
REXX, either command-line or
In article mailman.17933.1421884677.18130.python-l...@python.org,
ros...@gmail.com says...
Bad idea. Better to pick a language that makes it easy to get things
right, and then work on the fun side with third-party libraries, than
to tempt people in with hey look how easy it is to do X and
New submission from STINNER Victor:
Currently, IocpProactor.connect_pipe() is implemented with QueueUserWorkItem()
which starts a thread that cannot be interrupted. Because of that, this
function requires special cases in _register() and close() methods of
IocpProactor.
While fixing the
On Tue, Jan 20, 2015 at 6:23 PM, Rustom Mody rustompm...@gmail.com wrote:
The Haskell is bullseye¹ in capturing the essense of a tree because
conceptually a tree of type t is recursive in the sense that it can contain
2 subtrees -- (B x lst rst) -- or its a base case -- L x.
How do you create
On 2015-01-21, Chris Angelico ros...@gmail.com wrote:
On Thu, Jan 22, 2015 at 6:18 AM, Grant Edwards invalid@invalid.invalid
wrote:
On 2015-01-21, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
In 2009, Robert Martin gave a talk at RailsConf titled What Killed
Smalltalk Could
On 01/21/2015 04:35 PM, Chris Angelico wrote:
On Thu, Jan 22, 2015 at 6:18 AM, Grant Edwards invalid@invalid.invalid
wrote:
On 2015-01-21, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
In 2009, Robert Martin gave a talk at RailsConf titled What Killed
Smalltalk Could Kill Ruby.
On 01/21/2015 10:34 AM, Steven D'Aprano wrote:
In 2009, Robert Martin gave a talk at RailsConf titled What Killed
Smalltalk Could Kill Ruby. (No cheering, that sort of attitude is one of
the things that killed Smalltalk.) Although Martin discusses Ruby, the
lessons could also apply to Python.
Joshua Landau added the comment:
The _UNPACK opcodes are new in this changelist.
Yup, but they're used in the other unpacking syntax too:
(*(1, 2, 3), *(4, 5, 6))
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2292
On Thu, Jan 22, 2015 at 6:18 AM, Grant Edwards invalid@invalid.invalid wrote:
On 2015-01-21, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
In 2009, Robert Martin gave a talk at RailsConf titled What Killed
Smalltalk Could Kill Ruby.
But does he answer the more important question
Guido van Rossum added the comment:
Congrats with the fix, and thanks for your perseverance!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23095
___
So I've got this python 3 script that needs to know if there is a
running DHCP daemon (ISC DHCP server) on the local system. Is there a
clean way to do this that (1) doesn't require me to do syscalls to local
utilities (like ps, top, etc), and (2) doesn't require any custom
modules (stock
On Thu, Jan 22, 2015 at 10:06 AM, Jason Bailey jbai...@emerytelcom.com wrote:
So I've got this python 3 script that needs to know if there is a running
DHCP daemon (ISC DHCP server) on the local system. Is there a clean way to
do this that (1) doesn't require me to do syscalls to local
New submission from STINNER Victor:
ProactorEventLoop lacks UDP support: create_datagram_endpoint() is not
supported.
New functions should be added to the _overlapped modul. Example: add maybe
WSARecvFrom()?
--
components: Windows, asyncio
messages: 234456
nosy: gvanrossum, haypo,
On 01/21/2015 04:37 PM, Tim Daneliuk wrote:
On 01/21/2015 10:34 AM, Steven D'Aprano wrote:
In 2009, Robert Martin gave a talk at RailsConf titled What Killed
Smalltalk Could Kill Ruby. (No cheering, that sort of attitude is one of
the things that killed Smalltalk.) Although Martin discusses
Claudiu Popa added the comment:
Thanks for the tip, Guido. The new patch uses exception chaining. If this needs
backporting, most probably the first patch can be used.
--
Added file: http://bugs.python.org/file37813/issue22885_1.patch
___
Python
Changes by aruseni aruseni.mag...@gmail.com:
--
assignee: - docs@python
components: +Documentation
nosy: +docs@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23294
___
STINNER Victor added the comment:
IocpProactor.close() must not cancel pending _WaitCancelFuture futures
FYI I found this bug when running the trollius test suite.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23095
On Thu, Jan 22, 2015 at 10:46 AM, Paul Rubin no.email@nospam.invalid wrote:
Meanwhile, there's this: http://prog21.dadgum.com/203.html
Retiring Python as a Teaching Language
tl;dr: he's switched to recommending Javascript as a first language
instead of Python, since JS makes it easier to
Neil Girdhar added the comment:
Very nice! So what's left besides errors?
* Fixing the grammar, ast, and compilation for the list, dict, and set
comprehension element unpackings
Now the primary problem is giving good errors; I don't know how to make them
look like they came from the
Grant Edwards invalid@invalid.invalid:
[At the time, a couple of us could stumble around with HTML enough to
generate web pages that looked fresh out of 1995, but that was about
it. The web pages in our older devices looked rather retro and had
pretty limited functionality.]
I miss that
On Wednesday, January 21, 2015 at 4:10:08 PM UTC-8, Mario Figueiredo wrote:
In article mailman.17933.1421884677.18130.python-l...@python.org,
ros...@gmail.com says...
Bad idea. Better to pick a language that makes it easy to get things
right, and then work on the fun side with
R. David Murray added the comment:
bytes does support startswith:
b'abc'.startswith(b'a')
True
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23297
___
I don't think that Python is doomed. I *do* think that type-hinting is
useful, and Python has borrowed a syntax that is similar to that used in
other languages, so that it is a familiar one to many developers.
It is a stretch to call it intuitive though, either to write or to
read. Personally, I
Andy Zobro added the comment:
This breaks custom actions.
e.g.:
class dict_action(argparse.Action):
def __init__(self, *a, **k):
argparse.Action.__init__(self, *a, **k)
TypeError: __init__() got an unexpected keyword argument 'allow_abbrev'
--
nosy: +xobes
On 01/21/2015 08:30 PM, Steven D'Aprano wrote:
So what is this unspeakable, nightmarish, cryptic abomination going to look
like? Here's an example from PEP 484:
def greeting(name: str) - str:
return 'Hello ' + name
I don't know about you, but I think anyone who cannot read that
On 22/01/2015 05:56, Chris Angelico wrote:
On Thu, Jan 22, 2015 at 4:50 PM, Nicholas Cole nicholas.c...@gmail.com wrote:
I would have preferred Python to mimic:
Define function add taking price1, the price2, print_error equals true.
Price1 is a float. Price2 is a float. The function returns a
On 22/01/2015 02:11, Rick Johnson wrote:
On Wednesday, January 21, 2015 at 10:34:40 AM UTC-6, Steven D'Aprano wrote:
In 2009, Robert Martin gave a talk at RailsConf titled
What Killed Smalltalk Could Kill Ruby. (No cheering,
that sort of attitude is one of the things that killed
Smalltalk.)
On 01/21/2015 05:36 PM, Chris Angelico wrote:
On Thu, Jan 22, 2015 at 11:09 AM, Mario Figueiredo mar...@gmail.com wrote:
I want to become a programmer so I can make games is, on the vast
majority of cases, the quote of someone who will never become a
programmer. Why should teachers reward that
Neil Girdhar added the comment:
Also maybe not in this changelist, but we should consider replacing STORE_MAP
and BUILD_MAP with a single opcode BUILD_MAP(n) that produces a dict out of the
top n items on the stack just like BUILD_LIST(n) does. What do you think?
--
Chris Angelico ros...@gmail.com writes:
Either you pick up a super-restrictive hey look, you can build a game
with just point and click system, which isn't teaching programming at
all, or you end up getting bogged down in the massive details of what
it takes to write code.
Code Hero ran into
On Thu, Jan 22, 2015 at 10:55:27AM +1100, Chris Angelico wrote:
Where's REXX today?
Still (somehow) alive in neo-Amiga platforms like AmigaOS4.x, MorphOS and AROS.
I know that's as good as dead but there are still people writing AREXX glue
code.
--
vag·a·bond adjective \ˈva-gə-ˌbänd\
a :
Terry J. Reedy added the comment:
I answered my Q1 in msg187219: test.test_gettest is currently passing, with no
skips, on 2.7 and 3.4 on Win 7.
patch.diff: I would rather add the 4 lines of the proposed idle_i18n.py to an
existing module, perhaps Bindings.py itself, since that is the first
On Thursday, January 22, 2015 at 3:57:50 AM UTC+5:30, Paul Rubin wrote:
Rustom Mody writes:
Thats not bfs. That's inorder traversal
Oops, you're right. How's this:
bfs x = go [x] where
go [] = []
go (L x:ts) = x:go ts
go (B x lst rst:ts) = x : go (ts ++ [lst, rst])
*Main bfs
On Thursday, January 22, 2015 at 4:25:03 AM UTC+5:30, Ian wrote:
On Tue, Jan 20, 2015 at 6:23 PM, Rustom Mody wrote:
The Haskell is bullseye¹ in capturing the essense of a tree because
conceptually a tree of type t is recursive in the sense that it can contain
2 subtrees -- (B x lst rst) --
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
def median_grouped(data:Iterable[Real], interval:Real=1)-Real: ...
Wow, that's really nice. I had heard something about Python type hints
but hadn't seen them before.
So how does Python's proposed type-hints compared to that used by
New submission from dongwm:
Sometimes I need to use argparse like this:
parser = argparse.ArgumentParser(prog='PROG')
group = parser.add_mutually_dependence_group()
group.add_argument('--foo')
group.add_argument('--bar')
parser.parse_args(['--foo', 'f', '--bar', 'b'])
Namespace(bar='b',
On 1/21/2015 7:16 PM, Mario Figueiredo wrote:
In article 873873ae91@jester.gateway.sonic.net,
no.email@nospam.invalid says...
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
In 2009, Robert Martin gave a talk at RailsConf titled What Killed
Smalltalk Could Kill Ruby...
Changes by dongwm ciici...@gmail.com:
Added file: http://bugs.python.org/file37816/argparse_test.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23298
___
On Thu, Jan 22, 2015 at 4:50 PM, Nicholas Cole nicholas.c...@gmail.com wrote:
I would have preferred Python to mimic:
Define function add taking price1, the price2, print_error equals true.
Price1 is a float. Price2 is a float. The function returns a float.
But now this is sounding a little
Paul Rubin no.email@nospam.invalid writes:
-spec median_grouped(iterable(real())) - real().
Oops:
-spec median_grouped(iterable(real()), real()) - real().
--
https://mail.python.org/mailman/listinfo/python-list
On 22/01/2015 05:35, Paul Rubin wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
def median_grouped(data:Iterable[Real], interval:Real=1)-Real: ...
Wow, that's really nice. I had heard something about Python type hints
but hadn't seen them before.
Currently flying here
Andy Zobro added the comment:
Ignore previous comment, I wish I could delete it.
I simply provided the allow_abbrev to the wrong function and spent zero time
investigating the error.
--
___
Python tracker rep...@bugs.python.org
On Wednesday, January 21, 2015 at 10:31:12 PM UTC-6, Steven D'Aprano wrote:
Occasionally you find people spreading Fear, Uncertainty, Doubt about
Python. Python is now over 20 years old and one of the most popular
languages in the world no matter how you measure popularity:
What's next, are
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - duplicate
status: open - closed
superseder: - ‘tokenize.detect_encoding’ is confused between text and bytes:
no ‘startswith’ method on a byte string
___
Python tracker
Alan Bawden wrote:
Alan Bawden a...@scooby-doo.csail.mit.edu writes:
... Score one for untyped languages.
Drat. I should have writted dynamically typed languages.
The language has changed. When I was a novice Lisp hacker, we were
comfortable saying that Lisp was untyped. But nowadays
Changes by dongwm ciici...@gmail.com:
Added file: http://bugs.python.org/file37815/argparse_doc.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23298
___
On Thu, Jan 22, 2015 at 11:09 AM, Mario Figueiredo mar...@gmail.com wrote:
I want to become a programmer so I can make games is, on the vast
majority of cases, the quote of someone who will never become a
programmer. Why should teachers reward that kind of thought?
How about I want to become a
Eric V. Smith added the comment:
What's the typo? I'm not seeing it.
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23294
___
On Thu, Jan 22, 2015 at 12:38 PM, Paul Rubin no.email@nospam.invalid wrote:
Mario Figueiredo mar...@gmail.com writes:
I want to become a programmer so I can make games is, on the vast
majority of cases, the quote of someone who will never become a
programmer. Why should teachers reward that
On Wed, Jan 21, 2015 at 3:06 PM, Jason Bailey jbai...@emerytelcom.com wrote:
So I've got this python 3 script that needs to know if there is a running
DHCP daemon (ISC DHCP server) on the local system. Is there a clean way to
do this that (1) doesn't require me to do syscalls to local utilities
Joshua Landau added the comment:
According to the standard, int can be only 16 bits long so that only leaves
255/255. However, if the offset is on top of the dictionary count, this is
easily enough to clear the limits for the maximum function size (worst case is
a merge of 255 dicts with an
On Thu, Jan 22, 2015 at 1:59 PM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
To my mind, what killed REXX is that most operating systems just don't
support its key feature well: ADDRESS targets!
When the only target turns ADDRESS into the equivalent of os.system()
(or some
Neil Girdhar added the comment:
You're right.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2292
___
___
Python-bugs-list mailing list
Mario Figueiredo wrote:
In article mailman.17933.1421884677.18130.python-l...@python.org,
ros...@gmail.com says...
Bad idea. Better to pick a language that makes it easy to get things
right, and then work on the fun side with third-party libraries, than
to tempt people in with hey look how
Mario Figueiredo mar...@gmail.com writes:
I want to become a programmer so I can make games is, on the vast
majority of cases, the quote of someone who will never become a
programmer. Why should teachers reward that kind of thought?
I don't see what the problem is. Kids are interested in
Neil Girdhar added the comment:
I am a huge fan of giving good errors. Looks good to me. Will we need to make
sure that the call helper function we worked on produces additional
BUILD_MAP_UNPACK opcodes every 256 dictionaries just in case?
--
___
Neil Girdhar added the comment:
Another option to consider is to just use a bit on the BUILD_MAP_UNPACK and
then have a stack marking opcode at the function call (not sure what to call
it, but say FUNCTION_CALL_MARK)
The advantage would be you don't store or calculate relative stack
1 - 100 of 160 matches
Mail list logo