[Python-ideas] Fix default encodings on Windows

2016-08-13 Thread Stephen J. Turnbull
Steve Dower writes: > ISTM that changing sys.getfilesystemencoding() on Windows to > "utf-8" and updating path_converter() (Python/posixmodule.c; I think this proposal requires the assumption that strings intended to be interpreted as file names invariably come from the Windows APIs. I don't t

Re: [Python-ideas] Fix default encodings on Windows

2016-08-13 Thread Adam Bartoš
On Fri Aug 12 19:03:38 EDT 2016 Victor Stinner wrote: > For the Windows console: I played with all Windows functions, tried all > fonts and many code pages. I also read technical blog articles of Microsoft > employees. I gave up on this issue. It doesn't seem possible to support > fully Unicode th

Re: [Python-ideas] Fix default encodings on Windows

2016-08-13 Thread Adam Bartoš
Stephen J. Turnbull writes: > The exception is the proposed console changes, because there you *do* > perform all I/O with OS APIs. But I don't know anything about the > Windows console except that nobody seems happy with it. > > I'm quite happy with it. I mean, it's far from perfect, and when yo

Re: [Python-ideas] Fix default encodings on Windows

2016-08-13 Thread Random832
On Sat, Aug 13, 2016, at 04:12, Stephen J. Turnbull wrote: > Steve Dower writes: > > ISTM that changing sys.getfilesystemencoding() on Windows to > > "utf-8" and updating path_converter() (Python/posixmodule.c; > > I think this proposal requires the assumption that strings intended to > be inter

Re: [Python-ideas] Consider adding clip or clamp function to math

2016-08-13 Thread David Mertz
None seems reasonable. But it does require some conditional checks rather than the simplest min-of-max. Not a bad answer, just something to be explicit about. On Aug 12, 2016 8:44 PM, "Chris Angelico" wrote: > On Sat, Aug 13, 2016 at 1:31 PM, MRAB wrote: > > On 2016-08-13 00:48, David Mertz wro

[Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Arek Bulski
I have been a subscriber only for few weeks now but I dont like the mailing list at all. First, I get all the topics even tho Windows encoding is not of my interest. Second, most of the text is auto quotes anyway. Third, editing posts can sometimes be helpful, for correcting typos and such. I thin

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Eugene Pakhomov
To ease the struggle of pressing "Mark as read" every time an uninteresting email arrives, look for "Mute" button. In Gmail it's under "More" drop-down. Apart from that, I completely agree. Maybe not necessarily GitHub, but something similar that's not email lists. On Sat, Aug 13, 2016 at 9:31 PM

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Chris Angelico
On Sun, Aug 14, 2016 at 12:31 AM, Arek Bulski wrote: > I have been a subscriber only for few weeks now but I dont like the mailing > list at all. First, I get all the topics even tho Windows encoding is not of > my interest. Second, most of the text is auto quotes anyway. Third, editing > posts ca

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Guido van Rossum
I don't have time to respond at length, but I would just like to mention that I'm actually pretty tired of email threads getting off the rails and wouldn't mind looking at other approaches, including possibly a dedicated GitHub tracker (*not* the cpython or peps repo's tracker). There are other pos

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Oleg Broytman
Hi! Let me completely disagree. On Sat, Aug 13, 2016 at 04:31:06PM +0200, Arek Bulski wrote: > I have been a subscriber only for few weeks now but I dont like the mailing > list at all. First, I get all the topics even tho Windows encoding is not > of my interest. Second, most of the text is aut

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Oleg Broytman
On Sat, Aug 13, 2016 at 06:36:06PM +0200, Oleg Broytman wrote: > Hi! Let me completely disagree. > > On Sat, Aug 13, 2016 at 04:31:06PM +0200, Arek Bulski > wrote: > > I have been a subscriber only for few weeks now but I dont like the mailing > > list at all. First, I get all the topics even t

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Donald Stufft
> On Aug 13, 2016, at 12:36 PM, Oleg Broytman wrote: > > The advantages of email: I think one of the big trade offs here, is that the traditional mailing list can work very well if everyone involved takes the time to develop a custom tool chain that fits their own workflow perfectly and if t

Re: [Python-ideas] Fix default encodings on Windows

2016-08-13 Thread Steve Dower
Just a heads-up that I've assigned http://bugs.python.org/issue1602 to myself and started a patch for the console changes. Let's move the console discussion back over there. Hopefully it will show up in 3.6.0b1, but if you're prepared to apply a patch and test on Windows, feel free to grab my

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Arek Bulski
Praise the guide! (Guido) ​GitHub issues are also delivered by email, with full post content. Guido and others will be satisfied. And mailing lists also send you messages in whatever freakin interface they provide it. And on my android gmail app it aint pretty. Most of it is auto replies in plain

Re: [Python-ideas] Fix default encodings on Windows

2016-08-13 Thread Steve Dower
On 13Aug2016 0523, Random832 wrote: On Sat, Aug 13, 2016, at 04:12, Stephen J. Turnbull wrote: Steve Dower writes: > ISTM that changing sys.getfilesystemencoding() on Windows to > "utf-8" and updating path_converter() (Python/posixmodule.c; I think this proposal requires the assumption that s

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Oleg Broytman
Good addition, makes me think. Thank you! On Sat, Aug 13, 2016 at 01:16:01PM -0400, Donald Stufft wrote: > > > On Aug 13, 2016, at 12:36 PM, Oleg Broytman wrote: > > > > The advantages of email: > > I think one of the big trade offs here, is that the traditional mailing list > can work very

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Oleg Broytman
On Sat, Aug 13, 2016 at 07:40:41PM +0200, Arek Bulski wrote: > Praise the guide! (Guido) > > ???GitHub issues are also delivered by email, with full post content. Guido > and others will be satisfied. I wouldn't be satisfied without the ability to answer to this messages by email. Our bu

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Oleg Broytman
On Sat, Aug 13, 2016 at 07:40:41PM +0200, Arek Bulski wrote: > And mailing lists also send you messages in > whatever freakin interface they provide it. And on my android gmail app it > aint pretty. In my not so humble opinion, web interfaces, especially mobile ones, are even less pretty. >

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Donald Stufft
> On Aug 13, 2016, at 2:21 PM, Oleg Broytman wrote: > >> >> As Donald pointed out, there are people who are not going to create >> custom email processing toolchains. > > In what way they will be helpful to the development of Python? > Contributors have to install, learn, configure and use a

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread David Mertz
I find email list VASTLY easier to deal with than any newfangled web-based custom discussion forum. Part of that is that it is a uniform interface to every list I belong too, and I can choose my own MUA. With all those web things, every site works a little bit different from every other one, that i

Re: [Python-ideas] Fix default encodings on Windows

2016-08-13 Thread Stephen J. Turnbull
Random832 writes: > And what's going to happen if you shovel those bytes into the > filesystem without conversion on Linux, or worse, OSX? Off topic. See Subject: field. > This proposal embodies an assumption that bytes from unknown sources > used as filenames are more likely to be UTF-8 th

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Bernardo Sulzbach
On 08/13/2016 03:44 PM, David Mertz wrote: I find email list VASTLY easier to deal with than any newfangled web-based custom discussion forum. Part of that is that it is a uniform interface to every list I belong too, and I can choose my own MUA. With all those web things, every site works a litt

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Arkadiusz Bulski
„I think that just making it easier for new contributors will not help with getting good and dedicated contributors.” This is exactly what Donald was talking about. You are creating an obstacle course for people to go through before they can contribute anything. I totally agree that we need *go

Re: [Python-ideas] Consider adding clip or clamp function to math

2016-08-13 Thread Rob Cliffe
Far be it from me to damp your enthusiasm, but it seems to me that the functionality of a clamp function is so simple, and yet has so many possible variations, that it's not worth providing it. I.e., it's probably quicker for someone to write their own version (typically <= 4 lines of code) th

Re: [Python-ideas] Fix default encodings on Windows

2016-08-13 Thread Steve Dower
The last point is correct: if you get bytes from a file system API, you should be able to pass them back in without losing information. CP_ACP (a.k.a. the *A API) does not allow this, so I'm proposing using the *W API everywhere and encoding to utf-8 when the user wants/gives bytes. Top-posted

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread John Wong
On Sat, Aug 13, 2016 at 4:30 PM, Arkadiusz Bulski wrote: > „I think that just making it easier for new contributors > > will not help with getting good and dedicated contributors.” > > > > This is exactly what Donald was talking about. You are creating an > obstacle course for people to go throug

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Brett Cannon
On Sat, 13 Aug 2016 at 11:39 Donald Stufft wrote: > > > On Aug 13, 2016, at 2:21 PM, Oleg Broytman wrote: > > > >> > >> As Donald pointed out, there are people who are not going to create > >> custom email processing toolchains. > > > > In what way they will be helpful to the development of Py

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Chris Angelico
On Sun, Aug 14, 2016 at 9:17 AM, Brett Cannon wrote: > That's a mess and the whole email is formatted like that. I actually have > not read the email because of the formatting issue. As Oleg pointed out, > when you go with a federated solution like mail, you are the mercy of > whatever tools peopl

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Greg Ewing
Oleg Broytman wrote: From the recent and not so recent discussions of Moxi Marlinspike about centralized vs decentralized solutions (unfederated messaging vs email/jabber): "Indeed, cannibalizing a federated application-layer protocol into a centralized service is almost a sure recipe for a s

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Oleg Broytman
On Sun, Aug 14, 2016 at 11:59:56AM +1200, Greg Ewing wrote: > Oleg Broytman wrote: > > > From the recent and not so recent discussions of Moxi Marlinspike > >about centralized vs decentralized solutions (unfederated messaging vs > >email/jabber): "Indeed, cannibalizing a federated application-

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Guido van Rossum
On Sat, Aug 13, 2016 at 3:33 PM, John Wong wrote: > Whether it's Mozilla, Python or Cloud Foundry, Apache Cassandra, what not, > from my experience, the most meaningful discussion always happens over > email and over some kind of personal messaging platform, e.g. IRC or Slack. > That's an odd ju

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Greg Ewing
Guido van Rossum wrote: Note that all these alternatives still send email notifications (to those who want them), and trackers (including GitHub) also allow replies by email. Can you start a new topic by email, or only reply to existing ones? -- Greg __

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Donald Stufft
> On Aug 13, 2016, at 10:49 PM, Greg Ewing wrote: > > Can you start a new topic by email, or only reply to > existing ones? Depends on the specific system and the configuration setup for it. Github only allows replies, Discourse can optionally allow creation of new topics via email. — Donald

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Chris Angelico
On Sun, Aug 14, 2016 at 12:32 PM, Guido van Rossum wrote: > In terms of putting barriers in place of newbie contributions, mailing lists > appear more problematic than GitHub trackers, given how often we get a reply > to a digest or an indecipherable jumble of quoting. Trackers also > effectively

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Brett Cannon
On Sat, Aug 13, 2016, 16:26 Chris Angelico wrote: > On Sun, Aug 14, 2016 at 9:17 AM, Brett Cannon wrote: > > That's a mess and the whole email is formatted like that. I actually have > > not read the email because of the formatting issue. As Oleg pointed out, > > when you go with a federated sol

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Chris Angelico
On Sun, Aug 14, 2016 at 2:57 PM, Brett Cannon wrote: > On Sat, Aug 13, 2016, 16:26 Chris Angelico wrote: >> >> On Sun, Aug 14, 2016 at 9:17 AM, Brett Cannon wrote: >> > That's a mess and the whole email is formatted like that. I actually >> > have >> > not read the email because of the formattin

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread Eugene Pakhomov
The world probably wouldn't better, but I think python-ideas will be better on something like GitHub. People who like it will benefit from it, people who don't will still be able to use their email setup (as pointed earlier - at least for the majority of cases). Regards, Eugene On Sun, Aug 14, 2