In article
CAPTjJmoZHLfT3G4eqV+=zcvbpf65fkcmah9h_8p162uha7f...@mail.gmail.com,
Chris Angelico ros...@gmail.com wrote:
On Mon, Jul 14, 2014 at 12:04 AM, Jason R. Coombs jar...@jaraco.com wrote:
I can achieve what I need by constructing a set on the âitemsâ of the
dict.
In article
cap7+vjkmbpyu_e+4tyc3x6ofc_ydmd9k9pxk8atoll6oj_8...@mail.gmail.com,
Guido van Rossum gu...@python.org wrote:
We could really use more help reviewing and finishing asyncio's docs!
...
http://docs.python.org/dev/library/asyncio.html
I think the documentation desperately needs an
In article c4c036b6-130c-4718-beb1-a7c923008...@gmail.com,
Raymond Hettinger raymond.hettin...@gmail.com wrote:
On Sep 22, 2013, at 6:16 PM, Ethan Furman et...@stoneleaf.us wrote:
Are we close to asking for pronouncement?
When you're ready, let me know.
In the meantime, I conducting
In article b3293155-e4d5-4389-a555-c31bc49ce...@gmail.com,
Raymond Hettinger raymond.hettin...@gmail.com wrote:
On Sep 14, 2013, at 1:32 PM, Ned Deily n...@acm.org wrote:
The
most recent Developer Tools for 10.8 and 10.7 systems, Xcode 4.6.x, have
a mature clang but do not provide a
Pep 422 proposes the following order for dealing with cyclic isolates:
1. Weakrefs to CI objects are cleared, and their callbacks called. At
this point, the objects are still safe to use.
2. The finalizers of all CI objects are called.
3. The CI is traversed again to determine if it is
In article c9841b1f-80f3-4e77-83e6-f71859524...@langa.pl,
Åukasz Langa luk...@langa.pl wrote:
Hello,
Since the initial version, several minor changes have been made to the
PEP. The history is visible on hg.python.org. The most important
change in this version is that I introduced ABC
A question about the example:
how hard would it be to modify the example
@fun.register(list)
...
to work with other collections? If it is easy, I think it would make a
for a much more useful example.
-- Russell
___
Python-Dev mailing list
In article
CAP7+vJLUO0B0y+=Jcg8D=jq3mggsam1tb9zztto7ncrke6m...@mail.gmail.com,
Guido van Rossum gu...@python.org wrote:
On Fri, Apr 12, 2013 at 9:34 AM, Guido van Rossum gu...@python.org wrote:
To me, NotImplementedError means that a subclass didn't implement
something it should have
In article 4f6b5b33.9020...@pearwood.info,
Steven D'Aprano st...@pearwood.info wrote:
...
My first impression of this page:
http://www.python.org/~gbrandl/build/html/index.html
was that the grey side-bar gives the page a somber, perhaps even dreary,
look.
First impressions count, and
In article rowen-edfa17.11495422032...@news.gmane.org,
Russell E. Owen ro...@uw.edu wrote:
In article 4f6b5b33.9020...@pearwood.info,
Steven D'Aprano st...@pearwood.info wrote:
...
My first impression of this page:
http://www.python.org/~gbrandl/build/html/index.html
In article
efe3877620384242a686d52278b7ccd3362...@rkv-it-exch104.ccp.ad.local,
Kristján Valur Jónsson krist...@ccpgames.com wrote:
What does jumping forward mean? That's what happens with every clock at
every time quantum. The only effect here is that this clock will be slightly
noisy,
In article nad-49d85a.22070509022...@news.gmane.org,
Ned Deily n...@acm.org wrote:
In article rowen-ba4fcf.11522909022...@news.gmane.org,
Russell E. Owen ro...@uw.edu wrote:
One problem I've run into is that the 64-bit Mac python 2.7 does not
work properly with ActiveState Tcl/Tk. One
In article 4f32df1e.40...@v.loewis.de,
Martin v. Lowis mar...@v.loewis.de wrote:
Am 05.02.2012 21:34, schrieb Ned Deily:
In article
20120205204551.horde.ncdeyvnncxdpltxvnkzi...@webmail.df.eu,
mar...@v.loewis.de wrote:
I understand that but, to me, it makes no sense to send out
In article 4c62c01d.6000...@netwok.org,
Ãric Araujo mer...@netwok.org wrote:
Hello list
Tarek opened a distutils bugs in http://bugs.python.org/issue7175 that
evolved into a discussion about the proper location to use for config files.
Distutils uses [.]pydistutils.cfg and .pypirc, and
In article 4ba80418.6030...@canterbury.ac.nz,
Greg Ewing greg.ew...@canterbury.ac.nz wrote:
Antoine Pitrou wrote:
In light of this issue, I'm -0.5 on __pycache__ becoming the default
caching
mechanism. The directory ownership/permissions issue is too much of a mess,
especially for
In article c11f8211-8938-4c68-8221-c3c73e8e5...@mac.com,
Ronald Oussoren ronaldousso...@mac.com wrote:
On 9 Sep, 2009, at 19:29, Ned Deily wrote:
Without trying to put Ronald on the spot (too much!), it would be a
good
idea to get his assessment where things stand wrt 2.6 on 10.6
In article d28975e8-6706-4515-9c9e-fb7f90775...@masklinn.net,
Xavier Morel catch-...@masklinn.net wrote:
On 6 Aug 2009, at 00:22 , Jeff McAninch wrote:
I'm new to this list, so please excuse me if this topic has been
discussed, but I didn't
see anything similar in the archives.
I
In article nad-304e10.20284516042...@news.gmane.org,
Ned Deily n...@acm.org wrote:
In article dd982bd4-02ab-4395-afee-cd3d0eeb7...@u.washington.edu,
Russell Owen ro...@u.washington.edu wrote:
I installed the Mac binary on my Intel 10.5.6 system and it works,
except it still uses Apple's
Thank you for 2.6.2.
I see the Mac binary installer isn't out yet (at least it is not listed
on the downloads page). Any chance that it will be compatible with 3rd
party Tcl/Tk?
Most recent releases have not been; the only way I know to make a
compatible build is to build the installer on a
In article ad5bf985-3c9b-4d49-bfe6-0cff1b57a...@mac.com,
Ronald Oussoren ronaldousso...@mac.com wrote:
On 27 Feb, 2009, at 1:57, Ned Deily wrote:
In article rowen-8731e0.13531325022...@news.gmane.org,
Russell E. Owen ro...@u.washington.edu wrote:
I want to follow up on this a bit
In article nad-34f90e.0314022...@news.gmane.org,
Ned Deily n...@acm.org wrote:
Speaking of an OS X installer for 3.0.1, over the last few weeks I have
been working on tidying up the OS X installer build process. While the
basic OS X build/installer process is good, some cruft has
In article pine.lnx.4.64.0901210811430.14...@kimball.webabinitio.net,
rdmur...@bitdance.com wrote:
...
I understand that you are saying that 'while x' is used in the same
logical sense (take a different action when x is no longer true),
but that I don't feel that that is enough to say that it
Python's own setup.py file seems to only look for a Framework Tcl/Tk on
darwin. This is a headache if one is trying to build a non-framework
python that uses a non-framework tcl/tk.
Any chance of getting this fixed? I'm willing to work on a patch if it
has any chance of being accepted. Any
In article [EMAIL PROTECTED],
Martin v. Lowis [EMAIL PROTECTED] wrote:
If the ambiguity is that 'int' behaviour is unspecified for floats - is
it naive to suggest we specify the behaviour?
The concern is that whatever gets specified is arbitrary. There are many
ways how an int can be
In article
[EMAIL PROTECTED],
Paul Moore [EMAIL PROTECTED] wrote:
On 24/01/2008, Jeffrey Yasskin [EMAIL PROTECTED] wrote:
int has to be a builtin because it's a fundamental type. trunc()
followed round() into the builtins. I have no opinion on whether ceil
and floor should move there; it
In article [EMAIL PROTECTED],
Stephen J. Turnbull [EMAIL PROTECTED] wrote:
Guido van Rossum writes:
However, the old universal newlines feature also set an attibute named
'newlines' on the file object to a tuple of up to three elements
giving the actual line endings that were
A colleague stumbled across distutils bug/misfeature that he found had
been reported with an associated patch:
http://sourceforge.net/tracker/index.php?func=detailaid=1183712group_i
d=5470atid=305470
and I'm wondering if there's any plans to accept the patch or implement
some other fix (such as
I'd like to have the get method available for lists and tuples. (I
figured this must have been discussed before but can't recall it and
didn't turn anything up on google).
It's obviously not a use-all-the-time method (or it'd already be there),
but I find myself wanting it often enough to
In article
[EMAIL PROTECTED],
Guido van Rossum [EMAIL PROTECTED] wrote:
On 5/2/06, Greg Ewing [EMAIL PROTECTED] wrote:
Terry Reedy wrote:
my way to call your example (given the data in separate variables):
make_person(name, age, phone, location)
your way:
At some point folks were discussing use cases of make where it was
important to preserve the order in which items were added to the
namespace.
I'd like to suggest adding an implementation of an ordered dictionary to
standard python (e.g. as a library or built in type). It's inherently
useful,
In article [EMAIL PROTECTED],
Georg Brandl [EMAIL PROTECTED] wrote:
Another thing that would be *really* useful is to list the actual
built-in types with the category. For example:
Sequence Types (str, unicode, list, tuple, buffer, xrange)
Mapping Types (dict)
+1
If I understand
In article [EMAIL PROTECTED],
Greg Ewing [EMAIL PROTECTED] wrote:
For Py3k, any thoughts on changing the syntax of
the except clause from
except type, value:
to
except type as value:
so that things like
except TypeError, ValueError:
will do what is expected?
In article [EMAIL PROTECTED],
Tristan Seligmann [EMAIL PROTECTED] wrote:
* Lisandro Dalcin [EMAIL PROTECTED] [2005-09-08 13:56:07 -0300]:
Yes, you are right. But this way, you are making explicit a behavior
that will be implicit in the future.
For example, we could also do:
In article [EMAIL PROTECTED],
Brett Cannon [EMAIL PROTECTED] wrote:
New Hierarchy
=
Exception
+-- CriticalException (new)
+-- KeyboardInterrupt
+-- MemoryError
+-- SystemError
+-- ControlFlowException (new)
+-- StopIteration
+-- GeneratorExit
+--
In article [EMAIL PROTECTED],
Guido van Rossum [EMAIL PROTECTED] wrote:
...
- Whether and how to keep a door open for a future extension to the
syntax that allows multiple resources to be acquired in a single
with-statement. Possible syntax could be
(a)with EXPR1 [as VAR1], EXPR2 [as
In article [EMAIL PROTECTED],
Phillip J. Eby [EMAIL PROTECTED] wrote:
...
I personally think that StopIteration, TerminateIteration,
KeyboardInterrupt and perhaps certain other exceptions should derive from
some base class other than Exception (e.g. Raisable or some such) to help
with the
In article [EMAIL PROTECTED],
Timothy Fitz [EMAIL PROTECTED] wrote:
No, as except clauses can only occur before the finally clause, and
execution
should not go backwards.
This restriction feels a bit arbitrary. I can guarantee someone is
going to flatten this:
try:
try:
37 matches
Mail list logo