Re: [Python-Dev] Another case for frozendict

2014-07-15 Thread Russell E. Owen
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.

Re: [Python-Dev] Fwd: [python-tulip] Need help to finish asyncio documentation

2014-02-10 Thread Russell E. Owen
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

Re: [Python-Dev] PEP 455: TransformDict

2013-10-07 Thread Russell E. Owen
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

Re: [Python-Dev] Compiler for the Mac OS X version of Python 3.4

2013-09-16 Thread Russell E. Owen
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

[Python-Dev] pep 422 Safe object finalization question: why break weakrefs first?

2013-05-28 Thread Russell E. Owen
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

Re: [Python-Dev] PEP 443 - Single-dispatch generic functions (including ABC support)

2013-05-28 Thread Russell E. Owen
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

Re: [Python-Dev] PEP 443 - Single-dispatch generic functions (including ABC support)

2013-05-28 Thread Russell E. Owen
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

Re: [Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library

2013-04-12 Thread Russell E. Owen
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

Re: [Python-Dev] Playing with a new theme for the docs

2012-03-22 Thread Russell E. Owen
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

Re: [Python-Dev] Playing with a new theme for the docs

2012-03-22 Thread Russell E. Owen
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

Re: [Python-Dev] Drop the new time.wallclock() function?

2012-03-15 Thread Russell E. Owen
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,

Re: [Python-Dev] peps: Update with bugfix releases.

2012-02-13 Thread Russell E. Owen
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

Re: [Python-Dev] peps: Update with bugfix releases.

2012-02-09 Thread Russell E. Owen
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

Re: [Python-Dev] Fixing #7175: a standard location for Python config files

2010-08-11 Thread Russell E. Owen
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

Re: [Python-Dev] PEP 3147, __pycache__ directories and umask

2010-03-23 Thread Russell E. Owen
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

Re: [Python-Dev] Python 2.6.3

2009-09-10 Thread Russell E. Owen
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

Re: [Python-Dev] (try-except) conditional expression similar to (if-else) conditional (PEP 308)

2009-08-06 Thread Russell E. Owen
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

Re: [Python-Dev] RELEASED Python 2.6.2

2009-04-17 Thread Russell E. Owen
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

Re: [Python-Dev] RELEASED Python 2.6.2

2009-04-15 Thread Russell E. Owen
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

Re: [Python-Dev] OS X Installer for 3.0.1 and supported versions

2009-03-10 Thread Russell E. Owen
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

Re: [Python-Dev] OS X Installer for 3.0.1 and supported versions

2009-02-25 Thread Russell E. Owen
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

Re: [Python-Dev] PEP 3142: Add a while clause to generator expressions

2009-01-21 Thread Russell E. Owen
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-Dev] Fix python darwin build to look for non-framework Tk if not a framework build?

2008-08-26 Thread Russell E. Owen
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

Re: [Python-Dev] [python] trunc()

2008-01-28 Thread Russell E. Owen
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

Re: [Python-Dev] trunc()

2008-01-28 Thread Russell E. Owen
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

Re: [Python-Dev] [Python-3000] Universal newlines support in Python 3.0

2007-08-13 Thread Russell E Owen
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

[Python-Dev] distutils patch

2006-08-28 Thread Russell E. Owen
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

[Python-Dev] get for lists and tuples?

2006-07-11 Thread Russell E. Owen
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

Re: [Python-Dev] PEP 3102: Keyword-only arguments

2006-05-02 Thread Russell E. Owen
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:

Re: [Python-Dev] PEP 359: The make Statement

2006-04-17 Thread Russell E. Owen
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,

Re: [Python-Dev] Python Library Reference top page too long

2006-03-17 Thread Russell E. Owen
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

Re: [Python-Dev] Py3k: Except clause syntax

2006-03-16 Thread Russell E. Owen
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?

Re: [Python-Dev] PEP 3000 and new style classes

2005-09-09 Thread Russell E. Owen
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:

Re: [Python-Dev] PEP, take 2: Exception Reorganization for Python 3.0

2005-08-03 Thread Russell E. Owen
In article [EMAIL PROTECTED], Brett Cannon [EMAIL PROTECTED] wrote: New Hierarchy = Exception +-- CriticalException (new) +-- KeyboardInterrupt +-- MemoryError +-- SystemError +-- ControlFlowException (new) +-- StopIteration +-- GeneratorExit +--

Re: [Python-Dev] PEP 343 - next steps

2005-06-10 Thread Russell E. Owen
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

Re: [Python-Dev] PEP 343 - Abstract Block Redux

2005-05-16 Thread Russell E. Owen
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

Re: [Python-Dev] Pre-PEP: Unifying try-except and try-finally

2005-05-11 Thread Russell E. Owen
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: