Re: [Python-Dev] Unicode 8.0 and 3.5

2015-06-27 Thread Terry Reedy
On 6/27/2015 4:57 PM, Benjamin Peterson wrote: On Thu, Jun 18, 2015, at 13:27, Terry Reedy wrote: Unicode 8.0 was just released. Can we have unicodedata updated to match in 3.5? 3.5 now has Unicode 8.0.0. Great. Does the release PEP or something else have instructions on how to do

Re: [Python-Dev] PEP 0420: Extent of implementation? Specifically Python 2?

2015-06-19 Thread Terry Reedy
On 6/19/2015 11:21 AM, triccare triccare wrote: Will this PEP be implemented in Python 2? Version: 3.3 Enhancements are not backported And, more generally, is there a way to know the extent of implementation of any particular PEP? When a PEP is accepted, the version field should be

[Python-Dev] Unicode 8.0 and 3.5

2015-06-18 Thread Terry Reedy
Unicode 8.0 was just released. Can we have unicodedata updated to match in 3.5? -- Terry Jan Reedy ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] Python 3 migration status update across some key subcommunities (was Re: 2.7 is here until 2020, please don't call it a waste.)

2015-05-31 Thread Terry Reedy
On 5/31/2015 10:15 AM, Nick Coghlan wrote: The education community started switching a while back - if you watch Carrie-Anne Philbin's PyCon UK 2014 keynote, one of her requests for the broader Python community was for everyone else to just catch up already in order to reduce student's

Re: [Python-Dev] Computed Goto dispatch for Python 2

2015-05-31 Thread Terry Reedy
On 5/31/2015 6:59 AM, Alexander Walters wrote: A better course of action would be to deprecate the non-portable version. Other than setting the PATH envvar, why do we need to continue even touching the system on install? It is highly annoying for those of us that maintain several installs of

Re: [Python-Dev] Single-file Python executables (was: Computed Goto dispatch for Python 2)

2015-05-29 Thread Terry Reedy
On 5/28/2015 4:29 PM, Paul Moore wrote: On 28 May 2015 at 20:47, Brett Cannon br...@python.org wrote: I think it's to have a single tool to do it for any platform, not to have the technical nuts and bolts be the same necessarily. I think it's also to figure out if there is anything the

Re: [Python-Dev] Single-file Python executables (was: Computed Goto dispatch for Python 2)

2015-05-28 Thread Terry Reedy
On 5/28/2015 12:44 PM, Donald Stufft wrote: I do think single-file executables are an important piece to Python's long-term competitiveness. I completely agree. I talk to a lot of people about packaging of things, and while I think there are some serious problems with huge parts of Go’s

Re: [Python-Dev] Computed Goto dispatch for Python 2

2015-05-28 Thread Terry Reedy
On 5/28/2015 10:55 AM, Steve Dower wrote: And it would look like a 20MB+ file just for a simple 1KB Python script... For Windows at least, I'd prefer to have some app-style installer generation (e.g. http://pynsist.readthedocs.org/en/latest/) which, combined with the embeddable Python distro

Re: [Python-Dev] Preserving the definition order of class namespaces.

2015-05-27 Thread Terry Reedy
On 5/27/2015 4:16 AM, Antoine Pitrou wrote: I second that sentiment. But it strikes me that we're doing this because our release frequency is completely inadapted. If we had feature releases, say, every 6 or 9 months, the problem wouldn't really exist in the first place. How about a feature

Re: [Python-Dev] Computed Goto dispatch for Python 2

2015-05-27 Thread Terry Reedy
On 5/27/2015 9:31 PM, Nick Coghlan wrote: +1 from me, for basically the same reasons Guido gives: Python 2.7 is going to be with us for a long time, and this particular change shouldn't have any externally visible impacts at either an ABI or API level. Immediately after a release, giving the

Re: [Python-Dev] Preserving the definition order of class namespaces.

2015-05-25 Thread Terry Reedy
On 5/25/2015 3:40 PM, Eric Snow wrote: On Mon, May 25, 2015 at 1:33 AM, Antoine Pitrou solip...@pitrou.net wrote: On Sat, 23 May 2015 20:14:56 -0700 Larry Hastings la...@hastings.org wrote: Yeah, I'm willing to grant the feature freeze exception, assuming he can find general approval from the

Re: [Python-Dev] An yocto change proposal in logging module to simplify structured logs support

2015-05-24 Thread Terry Reedy
Please post your idea to the python-ideas list. -- Terry Jan Reedy ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

[Python-Dev] 3.5 doc warnings

2015-05-23 Thread Terry Reedy
35\Doc\whatsnew\3.5.rst:686: ERROR: Unknown interpreted text role module. 35\Doc\library\typing.rst:: WARNING: document isn't included in any toctree from building html docs just now -- Terry Jan Reedy ___ Python-Dev mailing list

Re: [Python-Dev] Automated testing of patches from bugs.python.org

2015-05-20 Thread Terry Reedy
On 5/20/2015 3:44 AM, anatoly techtonik wrote: This was intended to add status for bugs.python.org, but the work on Roundup had stalled due to uncertainty and despair on how to handle utf-8 (internal to Roundup) vs unicode (internal to Jinja2) in this issue:

Re: [Python-Dev] Automated testing of patches from bugs.python.org

2015-05-19 Thread Terry Reedy
On 5/19/2015 11:02 AM, Kushal Das wrote: Hi, With the help of CentOS project I am happy to announce an automated system [1] to test patches from bugs.python.org. This can be fully automated to test the patches whenever someone uploads a patch in the roundup, but for now it accepts IRC commands

Re: [Python-Dev] Gcode path

2015-05-18 Thread Terry Reedy
On 5/18/2015 4:18 PM, Guido van Rossum wrote: It's unlikely that anyone on this list can help you with this. It's a question you should ask of the ReplicatorG people, not the Python people... If that does not work, try stackoverflow, or possibly even python-list. This list is focused only

Re: [Python-Dev] cpython (merge 3.4 - default): Added tests for more builtin types.

2015-05-17 Thread Terry Reedy
On 5/17/2015 1:57 AM, Serhiy Storchaka wrote: On 17.05.15 02:44, Ned Deily wrote: In article 20150516183940.21146.77...@psf.io, serhiy.storchaka python-check...@python.org wrote: https://hg.python.org/cpython/rev/7b350f712c0e changeset: 96099:7b350f712c0e parent: 96096:f0c94892ac31

[Python-Dev] Repository builds as 2.7.8+

2015-05-13 Thread Terry Reedy
Python 2.7.8+ (default, May 13 2015, 16:46:29) [MSC v.1500 32 bit (Intel)] on win32 Shouldn't this be 2.7.9+ or 2.7.10rc1? -- Terry Jan Reedy ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] Repository builds as 2.7.8+

2015-05-13 Thread Terry Reedy
On 5/13/2015 6:22 PM, Antoine Pitrou wrote: On Wed, 13 May 2015 18:15:10 -0400 Terry Reedy tjre...@udel.edu wrote: On 5/13/2015 5:45 PM, Zachary Ware wrote: On Wed, May 13, 2015 at 4:05 PM, Terry Reedy tjre...@udel.edu wrote: Python 2.7.8+ (default, May 13 2015, 16:46:29) [MSC v.1500 32 bit

Re: [Python-Dev] Repository builds as 2.7.8+

2015-05-13 Thread Terry Reedy
On 5/13/2015 5:45 PM, Zachary Ware wrote: On Wed, May 13, 2015 at 4:05 PM, Terry Reedy tjre...@udel.edu wrote: Python 2.7.8+ (default, May 13 2015, 16:46:29) [MSC v.1500 32 bit (Intel)] on win32 Shouldn't this be 2.7.9+ or 2.7.10rc1? Make sure your repository is up to date, the patchlevel

[Python-Dev] Tracker reviews look like spam

2015-05-12 Thread Terry Reedy
Gmail dumps patch review email in my junk box. The problem seems to be the spoofed From: header. Received: from psf.upfronthosting.co.za ([2a01:4f8:131:2480::3]) by mx.google.com with ESMTP id m1si26039166wjy.52.2015.05.12.00.20.38 for tjre...@udel.edu; Tue, 12 May

Re: [Python-Dev] anomaly

2015-05-12 Thread Terry Reedy
On 5/11/2015 3:40 AM, Florian Bruhin wrote: [snip] This trollish thread was cross-posted to python-list, where it was semi-ok, at least in the beginning, and pydev, where it is not. It has continued on python-list with pydev removed. Please do not continue it here (on pydev). -- Terry Jan

Re: [Python-Dev] PEP 492: async/await in Python; version 5

2015-05-06 Thread Terry Reedy
to consider using an elaboration of examples/subprocess_shell.py to replace subprocess socket communication with pipe comminication? On Tue, May 5, 2015 at 6:03 PM, Terry Reedy tjre...@udel.edu mailto:tjre...@udel.edu wrote: My specific use case is to be able to run a program

Re: [Python-Dev] PEP 492: async/await in Python; version 5

2015-05-06 Thread Terry Reedy
On 5/6/2015 5:39 PM, Guido van Rossum wrote: Sorry to send you on such a wild goose chase! I did mean the issue you found #21). I just updated it with a link to a thread that has more news: https://groups.google.com/forum/#!searchin/python-tulip/tkinter/python-tulip/TaSVW-pjWro/hCP6qS4eRnAJ

Re: [Python-Dev] PEP 492: async/await in Python; version 5

2015-05-05 Thread Terry Reedy
On 5/5/2015 6:25 PM, Yury Selivanov wrote: Yes, there is no other popular event loop for 3.4 other than asyncio, There is the tk(inter) event loop which also ships with CPython, and which is commonly used. that uses coroutines based on generators Oh ;-) Tkinter event loop is callback

Re: [Python-Dev] Type hints -- a mediocre programmer's reaction

2015-04-23 Thread Terry Reedy
On 4/22/2015 8:45 PM, Guido van Rossum wrote: On Wed, Apr 22, 2015 at 2:38 PM, Chris Barker chris.bar...@noaa.gov mailto:chris.bar...@noaa.gov wrote: On Tue, Apr 21, 2015 at 11:32 PM, Terry Reedy tjre...@udel.edu mailto:tjre...@udel.edu wrote: I was just thinking today

Re: [Python-Dev] Type hints -- a mediocre programmer's reaction

2015-04-22 Thread Terry Reedy
On 4/21/2015 6:41 PM, Chris Barker wrote: Well, it'll catch passing in a string instead of a sequence of strings -- one of teh common and semi-insidious type errors I see a lot (at least with newbies). Oh wait, maybe it won't -- a string IS a sequence of strings. That's why this is an

Re: [Python-Dev] Type hints -- a mediocre programmer's reaction

2015-04-22 Thread Terry Reedy
On 4/21/2015 6:50 PM, Chris Barker wrote: On Tue, Apr 21, 2015 at 11:58 AM, Paul Sokolovsky pmis...@gmail.com mailto:pmis...@gmail.com wrote: It does, and hope people won't be caught in static typechecking loop and consider other usages too. I an interested is using type hints for

Re: [Python-Dev] Type hints -- a mediocre programmer's reaction

2015-04-21 Thread Terry Reedy
On 4/20/2015 9:07 PM, Chris Angelico wrote: On Tue, Apr 21, 2015 at 10:52 AM, Ben Finney ben+pyt...@benfinney.id.au wrote: Jack is not complaining only about *writing* code. He's complaining about the effect this will have on code that we all are expected to *read*. For reading, good

Re: [Python-Dev] Installing Python from the source code on Windows

2015-04-03 Thread Terry Reedy
On 4/3/2015 5:51 AM, Narsu wrote: Hi Python I'm working on a game project,using c++ as main language, and using python as script.I've built the Python from the source code on Windows, and when I invoked method Py_Initialize my program exited. After some tests I realized as long as I move the

Re: [Python-Dev] PiCxx

2015-03-24 Thread Terry Reedy
On 3/24/2015 11:53 AM, π wrote: Hello PythonDevvers, I apologise in advance. This is slightly off topic. This will be my only post on the subject. pydev is about development *of* Python the language and CPython the implementation. python-list is about development *with* Python. This post

Re: [Python-Dev] 2.7.9 regression in argparse

2015-03-20 Thread Terry Reedy
On 3/20/2015 9:31 AM, anatoly techtonik wrote: Just a pointer for possible regression http://bugs.python.org/issue23058 I just added the argparse maintainer to the nosy list -- Terry Jan Reedy ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Tunning binary insertion sort algorithm in Timsort.

2015-03-09 Thread Terry Reedy
On 3/8/2015 8:17 PM, nha pham wrote: We can optimize the TimSort algorithm by optimizing its binary insertion sort. The current version of binary insertion sort use this idea: Use binary search to find a final position in sorted list for a new element X. Then insert X to that location. I

Re: [Python-Dev] Emit SyntaxWarning on unrecognized backslash escapes?

2015-02-24 Thread Terry Reedy
On 2/24/2015 1:14 PM, Guido van Rossum wrote: And I'd weigh the needs of users who know what they are doing somewhat higher than educating newbies through error messages. While newbies are most likely to try out open() with a string literal, in real programs that is rare, and filenames are

Re: [Python-Dev] how to inspect if something includes a bound first param

2015-02-24 Thread Terry Reedy
On 2/24/2015 8:56 PM, Gregory P. Smith wrote: inspect.getargspec(method) and inspect.signature(method) both include the 'self' parameter but how are we to figure out from method itself that it is actually bound and that its first parameter is expected to be a bound instance? This seems like a

Re: [Python-Dev] how to inspect if something includes a bound first param

2015-02-24 Thread Terry Reedy
On 2/24/2015 9:02 PM, Eric V. Smith wrote: I'm not sure if it's correct, but deep in a library of mine I have: elif type(fn) == types.MethodType: # bound method? if fn.im_self is None: # no 'self' nskip = 0 else: # need to supply 'self' nskip =

Re: [Python-Dev] (no subject)

2015-02-10 Thread Terry Reedy
On 2/9/2015 7:29 PM, Neil Girdhar wrote: For some reason I can't seem to reply using Google groups, which is is telling this is a read-only mirror (anyone know why?) I presume spam prevention. Most spam on python-list comes from the read-write GG mirror. -- Terry Jan Reedy

Re: [Python-Dev] rst files

2015-01-23 Thread Terry Reedy
On 1/23/2015 7:15 PM, R. David Murray wrote: On Fri, 23 Jan 2015 15:55:29 -0800, Guido van Rossum gu...@python.org wrote: This adds entries to the index of the document -- similar to the index at the end of a book. I think single vs. double refers to different types of entries. Check out this

Re: [Python-Dev] python 2.7.9 regression in argparse?

2015-01-06 Thread Terry Reedy
On 1/6/2015 7:39 AM, Victor Stinner wrote: More context: 2014-12-19 12:43 GMT+01:00 anatoly techtonik techto...@gmail.com: https://github.com/nickstenning/honcho/pull/121 The link mentions the following changeset: --- changeset: 93122:1a3143752db2 branch: 2.7 parent:

Re: [Python-Dev] [PEPs] Fwd: fixing broken link in pep 3

2014-12-18 Thread Terry Reedy
On 12/18/2014 4:19 PM, Chris Angelico wrote: On Fri, Dec 19, 2014 at 5:39 AM, Guido van Rossum gu...@python.org wrote: -- Forwarded message -- From: Victor Stinner victor.stin...@gmail.com Hi, Yes, the link is dead. It looks like the following link contains the same info:

Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition

2014-12-12 Thread Terry Reedy
On 12/12/2014 1:24 PM, Mark Roberts wrote: However, my point was that just because the core libraries by usage are *starting* to roll out Python 3 support doesn't mean that things are easy or convenient yet. ... I suppose what I'm saying is that the long tail of libraries is far more valuable

Re: [Python-Dev] My thinking about the development process

2014-12-06 Thread Terry Reedy
On 12/6/2014 10:26 AM, Nick Coghlan wrote: On 7 December 2014 at 01:07, Donald Stufft don...@stufft.io wrote: A likely solution is to use a pre-merge test runner for the systems that we can isolate which will give a decent indication if the tests are going to pass across the entire supported

Re: [Python-Dev] My thinking about the development process

2014-12-05 Thread Terry Reedy
On 12/5/2014 3:04 PM, Brett Cannon wrote: 1. Contributor clones a repository from hg.python.org http://hg.python.org 2. Contributor makes desired changes 3. Contributor generates a patch 4. Contributor creates account on bugs.python.org http://bugs.python.org and signs the [contributor

Re: [Python-Dev] WebM MIME type in mimetypes module

2014-12-02 Thread Terry Reedy
On 12/2/2014 7:07 PM, Chris Rebert wrote: Hi all, I'm seeking to move http://bugs.python.org/issue16329 towards conclusion. Since the discussion on the issue itself seems to have petered out, I thought I'd bring it up here. To summarize the issue, it proposes adding an entry for WebM (

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-12-01 Thread Terry Reedy
On 12/1/2014 11:42 AM, Wes Turner wrote: Here's a roundup of tools links, to make sure we're all on the same page: Git HG Rosetta Stone === https://github.com/sympy/sympy/wiki/Git-hg-rosetta-stone#rosetta-stone BugWarrior === BugWarrior works with many issue tracker

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-11-30 Thread Terry Reedy
On 11/30/2014 2:33 PM, Donald Stufft wrote: So a goal of mine here is to sort of use these as a bit of a test bed. Moving CPython itself is a big and drastic change with a lot of implications, but moving the “support” repositories is not nearly as much, especially with a read only mirror on

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-11-30 Thread Terry Reedy
On 11/30/2014 1:05 PM, Guido van Rossum wrote: I don't feel it's my job to accept or reject this PEP, but I do have an opinion. ... - I am basically the only remaining active PEP editor, so I see most PEP contributions by non-core-committers. Almost all of these uses github. Not bitbucket, not

Re: [Python-Dev] Unicode decode exception

2014-11-30 Thread Terry Reedy
On 11/30/2014 3:07 AM, balaji marisetti wrote: Hi, When I try to iterate through the lines of a file(openssl-1.0.1j/crypto/bn/asm/x86_64-gcc.c), I get a UnicodeDecodeError (in python 3.4.0 on Ubuntu 14.04). But there is no such error with python 2.7.6. What could be the problem? Questions

Re: [Python-Dev] advice needed: best approach to enabling metamodules?

2014-11-30 Thread Terry Reedy
On 11/30/2014 2:27 PM, Ethan Furman wrote: On 11/30/2014 11:15 AM, Guido van Rossum wrote: On Sun, Nov 30, 2014 at 6:15 AM, Brett Cannon wrote: On Sat, Nov 29, 2014, 21:55 Guido van Rossum wrote: All the use cases seem to be about adding some kind of getattr hook to modules. They all seem to

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-11-30 Thread Terry Reedy
On 11/30/2014 4:45 PM, Donald Stufft wrote: I think you are stimulating more heated discussion than is necessary by trying to do too much, both in terms of physical changes and in terms of opinion persuasion. I am reminded of the integer division change. The initial discussion was

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-11-30 Thread Terry Reedy
On 11/30/2014 8:19 PM, Pierre-Yves David wrote: Mercurial have robust Windows support for a long time. This support is native (not using cygwin) and handle properly all kind of strange corner case. We have large scale ecosystem (http://unity3d.com/) using Mercurial on windows. We also have

Re: [Python-Dev] PEP 479: Change StopIteration handling inside generators

2014-11-23 Thread Terry Reedy
On 11/22/2014 5:23 PM, Chris Angelico wrote: On Sun, Nov 23, 2014 at 8:03 AM, Ron Adam ron3...@gmail.com wrote: Making comprehensions work more like generator expressions would, IMO, imply making the same change to all for loops: having a StopIteration raised by the body of the loop quietly

Re: [Python-Dev] PEP 479: Change StopIteration handling inside generators

2014-11-22 Thread Terry Reedy
On 11/22/2014 2:49 PM, Ron Adam wrote: On 11/22/2014 08:31 AM, Nick Coghlan wrote: I'm definitely coming around to the point of view that, even if we wouldn't design it the way it currently works given a blank slate, the alternative design doesn't provide sufficient benefit to justify the

Re: [Python-Dev] PEP 479: Change StopIteration handling inside generators

2014-11-20 Thread Terry Reedy
On 11/20/2014 5:04 PM, Guido van Rossum wrote: On Thu, Nov 20, 2014 at 12:13 PM, Serhiy Storchaka storch...@gmail.com mailto:storch...@gmail.com wrote: On 20.11.14 21:58, Antoine Pitrou wrote: To me generator_return sounds like the addition to generator syntax

Re: [Python-Dev] PEP 479: Change StopIteration handling inside generators

2014-11-20 Thread Terry Reedy
On 11/20/2014 2:36 PM, Guido van Rossum wrote: There's still a lively discussion on python-ideas; Steven D'Aprano has dug up quite a bit of evidence that StopIteration is used quite a bit in ways that will break under the new behavior, and there also seems to be quite a bit of third-party

Re: [Python-Dev] Static checker for common Python programming errors

2014-11-17 Thread Terry Reedy
On 11/17/2014 9:49 AM, Stefan Bucur wrote: I'm developing a Python static analysis tool that flags common programming errors in Python programs. The tool is meant to complement other tools like Pylint (which perform checks at lexical and syntactic level) by going deeper with the code analysis

Re: [Python-Dev] Problem displaying the warning symbol

2014-11-16 Thread Terry Reedy
On 11/16/2014 11:49 AM, R. David Murray wrote: On Sun, 16 Nov 2014 11:23:41 +0100, Stefano Borini stefano.bor...@ferrara.linux.it wrote: I report a finding (bug?) about the warning unicode symbol, as reported here

Re: [Python-Dev] Windows Dedicated Mailing List

2014-11-15 Thread Terry Reedy
On 11/15/2014 3:01 AM, Shorya Raj wrote: Fair enough. Like I said, I wanted to see what the consensus was, and it seems to be shifting towards not making another list. Agreed. The traffic here is not high enough to need a split. Most OS specific issues that need a patch end up as a specific

Re: [Python-Dev] OneGet provider for Python

2014-11-14 Thread Terry Reedy
On 11/14/2014 7:12 PM, Vincent Povirk wrote: If anyone has questions about OneGet generally, you should probably ask them directly (see https://github.com/OneGet/oneget), as I am not a definitive source of information on the project. No subscription needed to follow a thread. Python-dev is

Re: [Python-Dev] problem with hg.python.org?

2014-11-02 Thread Terry Reedy
On 11/1/2014 11:03 PM, Donald Stufft wrote: On Nov 1, 2014, at 10:37 PM, Terry Reedy tjre...@udel.edu wrote: abort: data/Doc/howto/webservers.rst.i@5f4ad429ae9f: unknown parent! remote: Unable to write to standard output: The pipe is being closed. The internet suggests trying hg verify

[Python-Dev] problem with hg.python.org?

2014-11-01 Thread Terry Reedy
My normally dependable pull.bat script has 3 times given me this. F:\Python\devhg --repository F:\Python\dev\5\py35 pull --verbose --config ui.merge=internal:merge ssh://h...@hg.python.org/cpython pulling from ssh://h...@hg.python.org/cpython searching for changes all local heads known

Re: [Python-Dev] Status of C compilers for Python on Windows

2014-10-30 Thread Terry Reedy
On 10/30/2014 8:59 AM, R. David Murray wrote: On Wed, 29 Oct 2014 23:33:06 -0400, Terry Reedy tjre...@udel.edu wrote: The devguide needs to be kept up to date. If you open a tracker issue, put me as nosy to review and commit. The devguide is about building python itself. Paul is talking

Re: [Python-Dev] Status of C compilers for Python on Windows

2014-10-29 Thread Terry Reedy
On 10/29/2014 4:05 PM, Paul Moore wrote: On 29 October 2014 15:31, Nathaniel Smith n...@pobox.com wrote: You can use Express editions of Visual Studio. IIUC, the express edition compilers are 32-bit only, and what you actually want are the SDK compilers:

Re: [Python-Dev] Status of C compilers for Python on Windows

2014-10-29 Thread Terry Reedy
On 10/29/2014 11:37 AM, Steve Dower wrote: My ideal target (Utopia refined to be achievable) is for python-dev to handle the Python binaries themselves (already done) and to make them easy to bundle with applications/etc (I'm working on this for 3.5), and for PyPI to include pre-built wheels

Re: [Python-Dev] results of id() and weakref.getweakrefs() sometimes break on object resurrection

2014-10-27 Thread Terry Reedy
On 10/27/2014 12:23 PM, Stefan Richthofer wrote: You mean Jython deletes instance attributes before calling __del__ ? No. I think the term of object resurrection usually does not mean bringing back a deleted object in the sense that memory was already freed. I think it rather means that

Re: [Python-Dev] Status of C compilers for Python on Windows

2014-10-25 Thread Terry Reedy
On 10/25/2014 5:11 PM, Chris Angelico wrote: It might fragment the community to have multiple different binary distributions. But it ought to be possible for any person/organization to say We're going to make our own build of Python, with these extension modules, built with this compiler,

[Python-Dev] https://docs.python.org/3/using/index.html not linking correctly

2014-10-20 Thread Terry Reedy
If I go to https://docs.python.org/3/using/index.html and click on any of the TOC entries, I get 'connecting' indefinitely. This problem seems unique to this file. I tried several other index files and clicking am entry brings up the corresponding page almost immediately. -- Terry Jan Reedy

Re: [Python-Dev] https://docs.python.org/3/using/index.html not linking correctly

2014-10-20 Thread Terry Reedy
On 10/20/2014 7:29 PM, MRAB wrote: On 2014-10-21 00:09, Eli Bendersky wrote: On Mon, Oct 20, 2014 at 1:01 PM, Terry Reedy tjre...@udel.edu mailto:tjre...@udel.edu wrote: If I go to https://docs.python.org/3/using/index.html and click on any of the TOC entries, I get 'connecting

[Python-Dev] Half the 'stable' buildbots are not running.

2014-10-18 Thread Terry Reedy
4 offline, 2 not compiling, 1 not compiling completely (no _ctypes == venv fail) -- Terry Jan Reedy ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] Review tool not detecting all changed files

2014-10-14 Thread Terry Reedy
On 10/14/2014 8:24 PM, Saimadhav Heblikar wrote: Hi, We were working on IDLE related issue [1] , when I noticed that the review tool does not detect all affected files for the cfg-ext-34-2.diff patch uploaded by Terry Reedy. Version 1 of the same patch does not have this issue - the only

Re: [Python-Dev] 3.4.2rc1 online docs: cannot access tkinter, idle pages

2014-10-06 Thread Terry Reedy
On 10/5/2014 11:13 PM, Chris Angelico wrote: On Mon, Oct 6, 2014 at 6:49 AM, Terry Reedy tjre...@udel.edu wrote: I can access every page I have tried except for the tkinter and idle pages, which either give interminable 'Connecting...' or in one try, 404. https://docs.python.org/3/library

[Python-Dev] 3.4.2rc1 online docs: cannot access tkinter, idle pages

2014-10-05 Thread Terry Reedy
I can access every page I have tried except for the tkinter and idle pages, which either give interminable 'Connecting...' or in one try, 404. https://docs.python.org/3/library/tkinter.html https://docs.python.org/3/library/idle.html This is true from the index, previous/next from adjacent

Re: [Python-Dev] 3.5 release schedule PEP

2014-09-26 Thread Terry Reedy
On 9/26/2014 1:03 PM, Chris Barker wrote: On Thu, Sep 25, 2014 at 5:38 PM, Donald Stufft don...@stufft.io mailto:don...@stufft.io wrote: 2) Switch to —user based on if the user has permission to write to the site-packages or not. ouch -- no. Why not a clear

Re: [Python-Dev] https:bugs.python.org -- Untrusted Connection (Firefox)

2014-09-02 Thread Terry Reedy
On 9/2/2014 1:49 AM, Oleg Broytman wrote: Hi! On Mon, Sep 01, 2014 at 08:32:27PM -0500, Skip Montanaro skip.montan...@gmail.com wrote: I got the same in Chrome on my Mac. Skip On Sep 1, 2014 8:00 PM, John Wong gokoproj...@gmail.com wrote: As of today I still am getting untrusted cert

Re: [Python-Dev] PEP 476: Enabling certificate validation by default!

2014-09-02 Thread Terry Reedy
On 9/2/2014 7:47 PM, Glyph Lefkowitz wrote: On Sep 2, 2014, at 4:28 PM, Nick Coghlan ncogh...@gmail.com mailto:ncogh...@gmail.com wrote: On 3 Sep 2014 09:08, David Reid dr...@dreid.org mailto:dr...@dreid.org wrote: Clearly this change should be backported to Python2. Proposing to break

Re: [Python-Dev] PEP 477: selected ensurepip backports for Python 2.7

2014-08-31 Thread Terry Reedy
On 8/31/2014 6:00 PM, Nick Coghlan wrote: Earlier versions of PEP 453 proposed bootstrapping pip into a Python 2.7 maintenance release in addition to including it with Python 3.4. That part of the proposal proved to be controversial, so we dropped it from the original PEP in order to focus on

Re: [Python-Dev] Bytes path support

2014-08-26 Thread Terry Reedy
On 8/26/2014 9:11 AM, R. David Murray wrote: On Sun, 24 Aug 2014 13:27:55 +1000, Nick Coghlan ncogh...@gmail.com wrote: As some examples of where bilingual computing breaks down: * My NFS client and server may have different locale settings * My FTP client and server may have different locale

Re: [Python-Dev] PEP 4000 to explicitly declare we won't be doing a Py3k style compatibility break again?

2014-08-21 Thread Terry Reedy
On 8/20/2014 8:27 PM, Joseph Martinot-Lagarde wrote: The pain was even bigger because in addition to the change in underlying types, the names of the types were not compatible between the python versions. I often try to write compatible code between python2 and 3, and I can't use str because it

Re: [Python-Dev] https:bugs.python.org -- Untrusted Connection (Firefox)

2014-08-21 Thread Terry Reedy
On 8/21/2014 10:41 AM, Armin Rigo wrote: Hi, On 18 August 2014 22:30, Oleg Broytman p...@phdru.name wrote: Aha, I see now -- the signing certificate is CAcert, which I've installed manually. I don't suppose anyone is particularly annoyed by this fact? I noticed the issue, and started

Re: [Python-Dev] https:bugs.python.org -- Untrusted Connection (Firefox)

2014-08-21 Thread Terry Reedy
On 8/21/2014 7:25 PM, Nick Coghlan wrote: On 22 Aug 2014 04:45, Benjamin Peterson benja...@python.org mailto:benja...@python.org wrote: Perhaps some board members could comment, but I hope the PSF could just pay a few hundred a year for a proper certificate. That's exactly what we're

Re: [Python-Dev] Bytes path support

2014-08-20 Thread Terry Reedy
On 8/20/2014 9:01 AM, Antoine Pitrou wrote: Le 20/08/2014 07:08, Nick Coghlan a écrit : It's not just the JVM that says text and binary APIs should be separate - it's every widely used operating system services layer except POSIX. The POSIX way works well *if* everyone reliably encodes things

Re: [Python-Dev] Fwd: PEP 467: Minor API improvements for bytes bytearray

2014-08-18 Thread Terry Reedy
On 8/18/2014 12:04 PM, Chris Barker wrote: On Sun, Aug 17, 2014 at 2:41 PM, Barry Warsaw ba...@python.org mailto:ba...@python.org wrote: I think the biggest API problem is that default iteration returns integers instead of bytes. That's a real pain. what is really needed for this

[Python-Dev] https:bugs.python.org -- Untrusted Connection (Firefox)

2014-08-18 Thread Terry Reedy
Firefox does not want to connect to https:bugs.python.org. Plain bugs.python.org works fine. Has the certificate expired? -- Terry Jan Reedy ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] Reviving restricted mode?

2014-08-13 Thread Terry Reedy
On 8/13/2014 12:19 PM, matsjoyce wrote: Unless you remove all the things labelled keep away from children. I wrote this sandbox to allow python to be used as a mods/add-ons language for a game I'm writing, hence the perhaps too strict nature. About the crashers: as this is for games, its fine

Re: [Python-Dev] python2.7 infinite recursion when loading pickled object

2014-08-11 Thread Terry Reedy
On 8/11/2014 5:10 AM, Schmitt Uwe (ID SIS) wrote: Python usage questions should be directed to python-list, for instance. I discovered a problem using cPickle.loads from CPython 2.7.6. The problem is your code having infinite recursion. You only discovered it with pickle. The last line

Re: [Python-Dev] sum(...) limitation

2014-08-11 Thread Terry Reedy
On 8/11/2014 8:26 AM, Ben Hoyt wrote: It seems to me this is something of a pointless discussion -- I highly doubt the current situation is going to change, and it works very well. Even if not perfect, sum() is for numbers, sep.join() for strings. However, I will add one comment: I'm

Re: [Python-Dev] class Foo(object) vs class Foo: should be clearly explained in python 2 and 3 doc

2014-08-09 Thread Terry Reedy
On 8/9/2014 2:44 PM, John Yeuk Hon Wong wrote: Hi. Referring to my discussion on [1] and then on #python this afternoon. A little background would help people to understand where this was coming from. 1. I write Python 2 code and have done zero Python-3 specific code. 2. I have always been

Re: [Python-Dev] sum(...) limitation

2014-08-02 Thread Terry Reedy
On 8/2/2014 1:57 AM, Allen Li wrote: On Fri, Aug 01, 2014 at 02:51:54PM -0700, Guido van Rossum wrote: No. We just can't put all possible use cases in the docstring. :-) On Fri, Aug 1, 2014 at 2:48 PM, Andrea Griffini agr...@tin.it wrote: help(sum) tells clearly that it should be used

Re: [Python-Dev] Bluetooth 4.0 support in socket module

2014-07-14 Thread Terry Reedy
On 7/14/2014 9:57 AM, Tim Tisdall wrote: 2 questions not answered yet. Also, is there a method to test changes against all the different *nix variations? We have a set of buildbots. https://www.python.org/dev/buildbot/ Is Bluez the standard across the different *nix variations? No idea.

Re: [Python-Dev] buildbot.python.org down again?

2014-07-07 Thread Terry Reedy
On 7/6/2014 7:54 PM, Ned Deily wrote: As of the moment, buildbot.python.org seems to be down again. Several hours later, back up. Where is the best place to report problems like this? We should have, if not already, an automatic system to detect down servers and report (email) to

Re: [Python-Dev] == on object tests identity in 3.x

2014-07-07 Thread Terry Reedy
On 7/7/2014 7:22 AM, Andreas Maier wrote: While discussing Python issue #12067 (http://bugs.python.org/issue12067#msg222442), I learned that Python 3.4 implements '==' and '!=' on the object type such that if no special equality test operations are implemented in derived classes, there is a

Re: [Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator

2014-06-30 Thread Terry Reedy
On 6/30/2014 9:44 PM, Ethan Furman wrote: On 06/30/2014 06:28 PM, Ben Hoyt wrote: I suppose the exact behavior is still under discussion, as there are only two or three fields one gets for free on Windows (I think...), where as an os.stat call would get everything available for the platform.

Re: [Python-Dev] Fix Unicode-disabled build of Python 2.7

2014-06-24 Thread Terry Reedy
On 6/24/2014 4:22 AM, Serhiy Storchaka wrote: I submitted a number of patches which fixes currently broken Unicode-disabled build of Python 2.7 (built with --disable-unicode configure option). I suppose this was broken in 2.7 when C implementation of the io module was introduced.

Re: [Python-Dev] Returning Windows file attribute information via os.stat()

2014-06-11 Thread Terry Reedy
On 6/11/2014 9:27 AM, Ben Hoyt wrote: What would be the next steps to get this to happen? Open an issue on bugs.python.org and submit a patch with tests? Yep! Okay, I've done step one (opened an issue on bugs.python.org), and hope to provide a patch in the next few weeks if no-one else does

Re: [Python-Dev] Documentation Oversight

2014-06-10 Thread Terry Reedy
On 6/10/2014 2:51 PM, Hasan Diwan wrote: From the csv module pydoc: The optional dialect parameter is discussed below The discussion is actually above the method. Present in 2.7.6. Bug reports should be posted on the tracker rather than sent here. Short doc reports like this can be sent to

Re: [Python-Dev] cpython and python debugger documentation

2014-06-09 Thread Terry Reedy
On 6/9/2014 12:26 PM, Eli Bendersky wrote: On Mon, Jun 9, 2014 at 7:50 AM, Paul Sokolovsky pmis...@gmail.com mailto:pmis...@gmail.com wrote: Hello, On Mon, 09 Jun 2014 14:01:18 + Brett Cannon bcan...@gmail.com mailto:bcan...@gmail.com wrote: On Sat Jun 07 2014 at

Re: [Python-Dev] Criticism of execfile() removal in Python3

2014-06-09 Thread Terry Reedy
On 6/9/2014 11:03 PM, Steven D'Aprano wrote: On Tue, Jun 10, 2014 at 05:23:12AM +0300, Paul Sokolovsky wrote: execfile() builtin function was removed in 3.0. Because it was hardly ever used. For short bits of code, it is usually inferior to exec with a string in the file. For substantial

Re: [Python-Dev] Internal representation of strings and Micropython

2014-06-06 Thread Terry Reedy
On 6/6/2014 4:53 AM, Hrvoje Niksic wrote: On 06/04/2014 05:52 PM, Mark Lawrence wrote: Out of idle curiosity is there anything that stops MicroPython, or any other implementation for that matter, from providing views of a string rather than copying every time? IIRC memoryviews in CPython

Re: [Python-Dev] Division of tool labour in porting Python 2 code to 2/3

2014-06-06 Thread Terry Reedy
On 6/6/2014 12:37 PM, Brett Cannon wrote: After Glyph and Alex's email about their asks for assisting in writing Python 2/3 code, it got me thinking about where in the toolchain various warnings and such should go in order to help direct energy to help develop whatever future toolchain to assist

Re: [Python-Dev] Moving Python 3.5 on Windows to a new compiler

2014-06-06 Thread Terry Reedy
On 6/6/2014 6:47 PM, Nathaniel Smith wrote: On Fri, Jun 6, 2014 at 11:43 PM, Sturla Molden sturla.mol...@gmail.com wrote: Brett Cannon bcan...@gmail.com wrote: Nope. A new minor release of Python is a massive undertaking which is why we have saved ourselves the hassle of doing a Python 2.8 or

<    2   3   4   5   6   7   8   9   10   11   >