[Python-Dev] Re: About PEPs being discussed on Discourse

2022-04-08 Thread Ryan Gonzalez
On Apr 8, 2022, 6:49 AM -0500, Greg Ewing , wrote: > On 8/04/22 12:13 pm, Gregory P. Smith wrote: > > And > > for lurkers and subscribers here to enable email notifications for > > categories of interest over there. > > Is it possible to participate in a Discourse discussion entirely > by email,

[Python-Dev] Re: Keeping Python a Duck Typed Language.

2021-04-22 Thread Ryan Gonzalez
On Apr 21, 2021, 5:29 PM -0500, Paul Bryan , wrote: > As demonstrated, protocols don't get us there because duck typing isn't a > matter of having an object exhibit all of the attributes of a duck, but > rather some subset of attributes to be used by the consumer. I want this duck > to quack;

Re: [Python-Dev] [help] where to learn how to upgrade from 2.7 to 3

2018-09-17 Thread Ryan Gonzalez
Python-dev is for development *of* Python, not *in* Python! You want python-list instead. Also, make sure you include some full example code where the error occurs and what exactly is failing. Right now, it's hard for me to tell what exactly is going on... On Mon, Sep 17, 2018, 8:21 PM Avery

Re: [Python-Dev] We cannot fix all issues: let's close XML security issues (not fix them)

2018-09-06 Thread Ryan Gonzalez
Thought: what if there's a label on the bug tracker meaning roughly "we're probably not going to fix this anytime soon, but we won't mind someone stepping up"? On Thu, Sep 6, 2018, 10:04 AM Guido van Rossum wrote: > FWIW I'm with Antoine here -- XML is still important and I'd like us to go >

Re: [Python-Dev] unsolicited removal request

2018-08-20 Thread Ryan Gonzalez
I think you generally want to sent this to the list administrators directly, but FWIW this has happened to me before. If it doesn't come up again, you can probably ignore it. On Mon, Aug 20, 2018, 1:43 AM Abdur-Rahmaan Janhangeer wrote: > just notifying that 199.103.2.101 > was trying to remove

Re: [Python-Dev] A "day of silence" on PEP 572?

2018-07-06 Thread Ryan Gonzalez
On July 6, 2018 5:04:05 PM Antoine Pitrou wrote: (or contact the PEP's authors privately). Hoenstly, this feels like a recipe for a disaster... As for the other kinds of threads, as much as I dislike PEP 572, they are useless now. Regards Antoine. On Fri, 6 Jul 2018 23:50:46 +0200

Re: [Python-Dev] PEP 484

2018-07-04 Thread Ryan Gonzalez
Type hints like in PEP 484 work on all Python 3 versions, and something similar to your proposal is already supported on Python 2 [1]. [1]: https://mypy.readthedocs.io/en/latest/python2.html On July 4, 2018 11:08:27 PM Shawn Chen wrote: Hello, Here, I am proposing a change on python type

Re: [Python-Dev] Troubles to merge changes in the 2.7 branch: PR "out-of-date" branch

2018-05-28 Thread Ryan Gonzalez
AFAIK there's no setting like this available, and I've done this many times on other repos with no trouble. Maybe it could be a GitHub bug? On May 28, 2018 4:59:03 AM Victor Stinner wrote: Hi, Since one or two weeks, I noticed that it's difficult to merge pull requests

Re: [Python-Dev] Python startup time

2018-05-11 Thread Ryan Gonzalez
https://refi64.com/uprocd/ On May 11, 2018 9:39:28 AM Chris Barker - NOAA Federal via Python-Dev wrote: Inspired by chg: Could one make a little startup utility that, when invoked the first time, starts up a raw python interpreter, keeps it running somewhere, and

Re: [Python-Dev] A fast startup patch (was: Python startup time)

2018-05-07 Thread Ryan Gonzalez
On May 7, 2018 9:15:32 PM Steve Dower wrote: “the data shows that a focused change to address file system inefficiencies has the potential to broadly and transparently deliver benefit to users without affecting existing code or workflows.” This is consistent with a

Re: [Python-Dev] Slow down...

2018-05-07 Thread Ryan Gonzalez
10 years feels like a simultaneously long and arbitrary limit. IMO a policy of "try to avoid major language features for a while" would work better. On Mon, May 7, 2018 at 2:11 PM Craig Rodrigues wrote: > > > On Sun, May 6, 2018 at 7:35 PM Nick Coghlan

Re: [Python-Dev] Drop/deprecate Tkinter?

2018-05-03 Thread Ryan Gonzalez
On May 3, 2018 11:56:24 AM MRAB wrote: On 2018-05-03 13:24, Steve Holden wrote: On Thu, May 3, 2018 at 12:12 AM, Ivan Pozdeev via Python-Dev > wrote: On 03.05.2018 1:01, Antoine Pitrou wrote: On

Re: [Python-Dev] Python startup time

2018-05-03 Thread Ryan Gonzalez
I'm hardly an expert, but AFAIK CPython's start-up issues are more due to a mix of architectural issues and the fact that it's hard to optimize imports while maintaining backwards compatibility with Python's dynamism. -- Ryan (ライアン) Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >>

Re: [Python-Dev] Is PEP 572 really the most effective way to solve the problems it's targeting?

2018-04-27 Thread Ryan Gonzalez
On April 27, 2018 12:16:09 AM Mike Miller wrote: Sorry all, wasn't specific enough. By "modern" I mean the last decade perhaps. New languages that have had a chance to look at the older generations and choose their best ideas, while leaving behind the rest.

Re: [Python-Dev] Is PEP 572 really the most effective way to solve the problems it's targeting?

2018-04-25 Thread Ryan Gonzalez
On April 25, 2018 11:05:04 PM Steven D'Aprano <st...@pearwood.info> wrote: On Wed, Apr 25, 2018 at 09:36:31PM -0500, Ryan Gonzalez wrote: I have to say I'm not overly thrilled with PEP 572...it's almost odd, because if you asked me back when I first joined this list when I was 13, I wo

[Python-Dev] Is PEP 572 really the most effective way to solve the problems it's targeting?

2018-04-25 Thread Ryan Gonzalez
I have to say I'm not overly thrilled with PEP 572...it's almost odd, because if you asked me back when I first joined this list when I was 13, I would've no doubt said *YES*. But, since then, I've gone across many projects and languages, and fundamentally *I have never felt hurt by the

Re: [Python-Dev] Trying to build from source, test-poplib fails

2018-04-07 Thread Ryan Gonzalez
Do you have ca-certificates installed? On April 7, 2018 5:33:35 PM Skip Montanaro wrote: It's been a long while since I rebuilt Python from the Git source. I tried for the first time the other day. Everything passed except test_poplib and test_asyncio. The former

Re: [Python-Dev] Mostly Official Python Development Container Image

2017-12-10 Thread Ryan Gonzalez
Question: why is this using GitLab while CPython itself is using GitHub + Travis? On December 10, 2017 6:13:53 PM CST, Barry Warsaw wrote: >As part of our work on importlib_resources, and with some fantastic >help from Abhilash Raj, we now have a mostly official Python

Re: [Python-Dev] Removing files from the repository

2017-11-29 Thread Ryan Gonzalez
Doesn't Git make this rather easy, though? e.g. you can find all deleted files with: git log --diff-filter=D --summary and find a specific file with (showing glob patterns): git log --all --full-history -- **/thefile.* and then show it: git show -- or restore it: git checkout ^ --

Re: [Python-Dev] Interesting what version of python should I start with

2017-11-02 Thread Ryan Gonzalez
This list is for development of Python itself, not development with Python. You want python-list: https://mail.python.org/mailman/listinfo/python-list That being said: use the latest version (3.6 as of right now). On Thu, Nov 2, 2017 at 12:52 PM, Bob Woolsey wrote: > > >

Re: [Python-Dev] "make touch" replaced with "make regen-all"

2017-05-04 Thread Ryan Gonzalez
FWIW this will also make cross-compiling a lot easier, since you can't accidentally overwrite the cross-compiled pgen as easily. On Thu, May 4, 2017 at 12:13 PM, Victor Stinner wrote: > Hi, > > tl;dr Are you ok to backport my change replacing "make touch" with > "make

Re: [Python-Dev] Questions on the CPython Git master branch: how to exclude commits of 3.x branches?

2017-03-31 Thread Ryan Gonzalez
On Mar 31, 2017 10:48 AM, "Victor Stinner" wrote: Hi, The CPython repository was converted from Mercurial to Git. Before with Mercurial, we used extensively merges. For example, a bug was fixed in branche 3.5, merged into 3.6 and then merged into master. With the

[Python-Dev] Distutils frozen?

2017-03-27 Thread Ryan Gonzalez
So, I had opened up a PR (#563) to add README.rst to the distutils readme list. Turns out, I didn't read the devguide correctly, and there needed to be an open issue first. Oops. Then I found bpo-11913 (https://bugs.python.org/issue11913), which said: This would be easy to fix, but as it would

Re: [Python-Dev] Set program name through exec -a or environment variable

2017-03-18 Thread Ryan Gonzalez
exec -a would seem to end up setting argv[0] on the CPython interpreter itself, which I don't think is the desired effect... -- Ryan (ライアン) Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else http://refi64.com On Mar 18, 2017 10:11 AM, "Freddy Rietdijk"

[Python-Dev] The "humor" section of the website is a bit outdated...

2017-01-04 Thread Ryan Gonzalez
Ok, in advance, my apologies for probably sending this to the wrong mailing list... Anyway, the most holy page in the entire Python website, containing all sorts of deadly and wicked items, seems to have gathered a couple pounds of dust: https://www.python.org/doc/humor/ And by "pounds of

[Python-Dev] typing.py doesn't export Pattern and Match; is that intentional

2016-10-18 Thread Ryan Gonzalez
E.g.: import typing print(typing.Pattern, typing.Match) # Works. from typing import * print(Pattern, Match) # NameError: name 'Pattern' is not defined A quick look shows that typing.py doesn't have Pattern and Match in __all__. Was this intentional, or just an oversight? -- Ryan [ERROR]:

Re: [Python-Dev] Python ROCKS! Thanks guys! [anecdote]

2016-10-12 Thread Ryan Gonzalez
On Wed, Oct 12, 2016 at 7:05 PM, Chris Angelico wrote: > I work with a full-stack web development bootcamp. Most of the course > focuses on *JavaScript (Node.js, React, jQuery, etc),* Poor students... ;) > but there's a > one-week period in which each student gets to pick

Re: [Python-Dev] PEP 526 (variable annotations) accepted provisionally

2016-09-07 Thread Ryan Gonzalez
:D -- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Something’s wrong. http://kirbyfan64.github.io/ On Sep 7, 2016 1:20 PM, "Guido van Rossum" wrote: > I'm accepting PEP 526 provisionally. > > I am personally confident that this PEP is

Re: [Python-Dev] (some) C99 added to PEP 7

2016-09-07 Thread Ryan Gonzalez
Wonder if it's ever segfaulted... ...hey, I just figured out why we got Python 3! ;) -- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Something’s wrong. http://kirbyfan64.github.io/ On Sep 7, 2016 2:02 PM, "Antoine Pitrou" wrote: >

Re: [Python-Dev] Requesting on python directories

2016-09-06 Thread Ryan Gonzalez
Wrong mailing list. This is for the discussion of development *of* Python, not *in* Python. You probably want: https://mail.python.org/mailman/listinfo/python-list Regardless, this page should answer your questions: https://packaging.python.org/distributing/ On Tue, Sep 6, 2016 at 11:31 AM,

Re: [Python-Dev] Do PEP 526 type declarations define the types of variables or not?

2016-09-05 Thread Ryan Gonzalez
Maybe the PEP should just say it's for "annotating variables", and it would mention "primarily for the purpose of types"? -- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Something’s wrong. http://kirbyfan64.github.io/ On Sep 5, 2016 10:27 AM, "Mark Shannon"

Re: [Python-Dev] Please reject or postpone PEP 526

2016-09-02 Thread Ryan Gonzalez
On Sep 2, 2016 8:51 AM, "Mark Shannon" wrote: > > Hi everyone, > > I think we should reject, or at least postpone PEP 526. > > PEP 526 represents a major change to the language, however there are, I believe, a number of technical flaws with the PEP. > > It is probable that with

Re: [Python-Dev] Smoothing the transition from Python 2 to 3

2016-06-08 Thread Ryan Gonzalez
On Jun 8, 2016 4:04 PM, "Neil Schemenauer" wrote: > > [I've posted something about this on python-ideas but since I now > have some basic working code, I think it is more than an idea.] > > I think the uptake of Python 3 is starting to accelerate. That's > good. However, there

Re: [Python-Dev] New hash algorithms: SHA3, SHAKE, BLAKE2, truncated SHA512

2016-05-27 Thread Ryan Gonzalez
On May 27, 2016 3:04 PM, "Victor Stinner" wrote: > > Le vendredi 27 mai 2016, M.-A. Lemburg a écrit : >> >> The curent patch is 1.2MB for SHA-3 - that's pretty heavy for just >> >> a few hash functions, which aren't in any wide spread use yet and >>

Re: [Python-Dev] runtime dlls on Windows

2016-05-25 Thread Ryan Gonzalez
Wouldn't downloading the Microsoft C++ Runtime 2015 also work? Many recent computers already have it pre-installed. -- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Something’s wrong. http://kirbyfan64.github.io/ On May 25, 2016 2:31 PM, "Chris Barker"

Re: [Python-Dev] Need help in OCR implementation with Python3.5.1 or pyCharm Community edition

2016-05-05 Thread Ryan Gonzalez
Well, the stack trace was pointing to the line that called Tesseract, so I figured that was the problem. -- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Something’s wrong. http://kirbyfan64.github.io/ On May 5, 2016 11:24 AM, "MRAB"

Re: [Python-Dev] Need help in OCR implementation with Python3.5.1 or pyCharm Community edition

2016-05-05 Thread Ryan Gonzalez
On Thu, May 5, 2016 at 3:24 AM, Deepak Srivastava wrote: > > Dear All, > > I am new to python and very much excited to learn this technology. > > I have done setup of python 3.5.1 with PyCharm community edition on > windows 7(64bit service pack 1). > > I am trying to

Re: [Python-Dev] Memory

2016-05-01 Thread Ryan Gonzalez
Well, I put this in Google Translate...and got this: The disk clatters the Spontie giggles ~ hopefully alliance insures ... Not sure if this a useless post or Translate just being weird. Leaning towards the latter... -- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your

Re: [Python-Dev] support of the android platform

2016-04-25 Thread Ryan Gonzalez
Oh wow, has a year passed already? I don't have access to an Android device suitable for development, and Cyd seems to have disappeared, which is why the issue ended up abandoned. I'd be happy to try to help with the new effort if possible! -- Ryan [ERROR]: Your autotools build scripts are 200

Re: [Python-Dev] Wordcode: new regular bytecode using 16-bit units

2016-04-13 Thread Ryan Gonzalez
t;victor.stin...@gmail.com> wrote: > Le mercredi 13 avril 2016, Ryan Gonzalez <rym...@gmail.com> a écrit : > >> What is the value of HAS_ARG going to be now? >> > > I asked Demur to keep HAS_ARG(). Not really for backward compatibility, > but for the dis module: to kee

Re: [Python-Dev] Wordcode: new regular bytecode using 16-bit units

2016-04-13 Thread Ryan Gonzalez
What is the value of HAS_ARG going to be now? -- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Something’s wrong. http://kirbyfan64.github.io/ On Apr 13, 2016 11:26 AM, "Victor Stinner" wrote: > Hi, > > In the middle of recent

Re: [Python-Dev] Defining a path protocol (was: When should pathlib stop being provisional?)

2016-04-06 Thread Ryan Gonzalez
-- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Something’s wrong. http://kirbyfan64.github.io/ On Apr 6, 2016 12:28 PM, "Brett Cannon" wrote: > > WIth Ethan volunteering to do the work to help make a path protocol a thing -- and I'm willing

Re: [Python-Dev] Which version is better? Phyton 27 or Phyton 35?

2016-04-01 Thread Ryan Gonzalez
Well, based on recent feedback, you should wait for Phyton 80, which will also make your bean plants start growing hair. (Side note: This is seriously weird. :O ) -- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Something’s wrong. http://kirbyfan64.github.io/

[Python-Dev] The future of Python: fixing broken error handling in Python 8

2016-04-01 Thread Ryan Gonzalez
Python's exception handling system is currently badly brokeTypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'n. Therefore, with the recent news of the joyous release of Python 8 ( https://mail.python.org/pipermail/python-dev/2016-March/143603.html), I have decided to propose a

Re: [Python-Dev] Fun with ancient unsupported platforms

2016-01-28 Thread Ryan Gonzalez
win16 doesn't seem to have important stuff: https://github.com/python/cpython/search?utf8=✓="win16; On January 28, 2016 8:57:20 AM CST, Larry Hastings wrote: > > >Check out and cd into Python trunk. > >% grep -Ri win16 * | wc > 10 66 625 > >% grep -Ri nextstep

Re: [Python-Dev] FAT Python (lack of) performance

2016-01-26 Thread Ryan Gonzalez
On January 25, 2016 9:59:36 PM CST, Chris Angelico wrote: >On Tue, Jan 26, 2016 at 2:32 PM, INADA Naoki >wrote: >> >> I know. >> But people compares language speed by simple microbench like >fibbonacci. >> They doesn't use listcomp or libraries to

Re: [Python-Dev] FAT Python (lack of) performance

2016-01-25 Thread Ryan Gonzalez
On January 25, 2016 9:32:07 PM CST, INADA Naoki wrote: >On Tue, Jan 26, 2016 at 12:02 PM, Andrew Barnert >wrote: > >> On Jan 25, 2016, at 18:21, INADA Naoki >wrote: >> > >> > I'm very interested in it. >> > >> > Ruby 2.2 and

Re: [Python-Dev] GitHub migration planning has started

2016-01-10 Thread Ryan Gonzalez
Is it possible to contribute to this, even if you're not part of the core dev team? On January 10, 2016 11:43:48 AM CST, Brett Cannon wrote: >For those of you who have not heard, I made the decision a little over >a >week ago to move Python's development from our home-grown

Re: [Python-Dev] New poll about a macro for safe reference replacing

2015-12-16 Thread Ryan Gonzalez
On December 16, 2015 8:12:47 AM CST, Serhiy Storchaka wrote: >I'm bringing this up again, since the results of the previous poll did >not give an unambiguous result. Related links: [1], [2], [3], [4]. > >Let me remind you that we are talking about adding the following

Re: [Python-Dev] Python Language Reference has no mention of list comÃprehensions

2015-12-03 Thread Ryan Gonzalez
On December 3, 2015 10:09:56 AM CST, Ryan Gonzalez <rym...@gmail.com> wrote: > > >On December 3, 2015 8:26:23 AM CST, Laura Creighton <l...@openend.se> >wrote: >>In a message of Thu, 03 Dec 2015 13:37:17 +, Paul Moore writes: >>>On 3 December 2015 at

Re: [Python-Dev] Python Language Reference has no mention of list comÃprehensions

2015-12-03 Thread Ryan Gonzalez
On December 3, 2015 8:26:23 AM CST, Laura Creighton wrote: >In a message of Thu, 03 Dec 2015 13:37:17 +, Paul Moore writes: >>On 3 December 2015 at 12:51, Laura Creighton wrote: >>> Intentional or Oversight? >> >>Hard to find :-) >>

Re: [Python-Dev] "python.exe is not a valid Win32 app"

2015-12-01 Thread Ryan Gonzalez
Did you get the x86-64 version or x86? If you had gotten the former, it would lead to that error. On December 1, 2015 8:30:25 AM CST, Alexei Belenki via Python-Dev wrote: >Installed python 3.5 (from https://www.python.org/downloads/) on >Windows XPsp3/32 >On starting

Re: [Python-Dev] Reading Python source file

2015-11-18 Thread Ryan Gonzalez
Well, not quite the same thing, but https://github.com/kirbyfan64/pfbuild/blob/master/pfbuild embeds the compressed version of 16k LOC. Would it be affected negatively in any way be this? Since all the data is on one line, I'd think the old (current) parser would end up reading in the whole

Re: [Python-Dev] modernizing IDLE

2015-11-10 Thread Ryan Gonzalez
On Tue, Nov 10, 2015 at 5:02 PM, Michiel Overtoom wrote: > > > On 06 Nov 2015, at 18:08, Mark Roseman wrote: > > > > (There’s also currently a post on Hacker News about this). > > You have a link for that HN item? I've looked at the first five pages but >

Re: [Python-Dev] 2.7.11 plans

2015-11-01 Thread Ryan Gonzalez
On Sun, Nov 1, 2015 at 4:42 PM, Benjamin Peterson wrote: > Happy November, everyone. It’s nearly time for the next semi-annual > instalment of the 2.7 series. I’m planning to release a 2.7.11 release > candidate on November 21st and 2.7.11 final on December 5. > > More than

Re: [Python-Dev] If you shadow a module in the standard library that IDLE depends on, bad things happen

2015-10-29 Thread Ryan Gonzalez
Why not just check the path of the imported modules and compare it with the Python library directory? On October 29, 2015 3:26:08 PM CDT, Mark Roseman wrote: >Laura, I think what you want should actually be more-or-less doable in >IDLE. > >The main routine that starts IDLE

Re: [Python-Dev] If you shadow a module in the standard library that IDLE depends on, bad things happen

2015-10-29 Thread Ryan Gonzalez
Well, tell your friend that that means middle and high schoolers must think alike! :D On Thu, Oct 29, 2015 at 4:18 PM, Laura Creighton <l...@openend.se> wrote: > In a message of Thu, 29 Oct 2015 15:50:30 -0500, Ryan Gonzalez writes: > >Why not just check the path of the i

Re: [Python-Dev] If you shadow a module in the standard library that IDLE depends on, bad things happen

2015-10-29 Thread Ryan Gonzalez
t; On Thu, Oct 29, 2015 at 1:50 PM, Ryan Gonzalez <rym...@gmail.com> >wrote: >> > Why not just check the path of the imported modules and compare it >with the >> > Python library directory? >> >> It works, but it requires that everyone who could run int

Re: [Python-Dev] Should PEP 498 specify if rf'...' is valid?

2015-10-22 Thread Ryan Gonzalez
Ah, I missed that part. Sorry! :/ On October 22, 2015 7:27:41 AM CDT, "Eric V. Smith" <e...@trueblade.com> wrote: >On 10/22/2015 7:32 AM, Eric V. Smith wrote: >> On 10/21/2015 10:57 PM, Ryan Gonzalez wrote: >>> It mentions fr'...' as a formatted raw string but

Re: [Python-Dev] Should PEP 498 specify if rf'...' is valid?

2015-10-22 Thread Ryan Gonzalez
On October 22, 2015 11:10:48 AM CDT, "Sven R. Kunze" wrote: >On 22.10.2015 13:32, Eric V. Smith wrote: >> ['B', 'BF', 'BFR', 'BFr', 'BR', 'BRF', 'BRf', 'Bf', 'BfR', 'Bfr', >'Br', >> 'BrF', 'Brf', 'F', 'FB', 'FBR', 'FBr', 'FR', 'FRB', 'FRb', 'Fb', >'FbR', >> 'Fbr', 'Fr', 'FrB',

Re: [Python-Dev] Should PEP 498 specify if rf'...' is valid?

2015-10-22 Thread Ryan Gonzalez
But it'd be weird now if fR worked but fbR didn't. On Thu, Oct 22, 2015 at 12:02 PM, Sven R. Kunze <srku...@mail.de> wrote: > On 22.10.2015 18:17, Ryan Gonzalez wrote: > >> >>> anything about it. 'FbR', really? >>>> >>> Why not disallowing them?

[Python-Dev] Should PEP 498 specify if rf'...' is valid?

2015-10-21 Thread Ryan Gonzalez
It mentions fr'...' as a formatted raw string but doesn't say anything about rf'...'. Right now, in implementing PEP 498 support in Howl (https://github.com/howl-editor/howl/pull/118 and

Re: [Python-Dev] Not Deprecating Arbitrary Function Annotations

2015-10-05 Thread Ryan Gonzalez
PSF. Nothing personal, of course... On October 5, 2015 3:01:11 PM CDT, Guido van Rossum <gu...@python.org> wrote: >"They"? > >On Mon, Oct 5, 2015 at 12:57 PM, Ryan Gonzalez <rym...@gmail.com> >wrote: > >> There is one reason I would be really fr

Re: [Python-Dev] Not Deprecating Arbitrary Function Annotations

2015-10-05 Thread Ryan Gonzalez
There is one reason I would be really freaking mad if they deprecated other uses of annotations: https://pypi.python.org/pypi/plac On October 5, 2015 1:55:37 PM CDT, Steve Wedig wrote: >Congratulations on the release of 3.5 and Pep 484. I've used Python >professionally

Re: [Python-Dev] Not Deprecating Arbitrary Function Annotations

2015-10-05 Thread Ryan Gonzalez
t in python-ideas of course). > >I'm sorry you don't feel more included, but I really don't like the >idea of >"us vs. them" in this list. We're all working together to make Python >the >best language it can be. > >--Guido > >On Mon, Oct 5, 2015 at 1:18 PM, R

Re: [Python-Dev] PEP: Collecting information about git

2015-09-17 Thread Ryan Gonzalez
*cough* Google *cough* http://stackoverflow.com/questions/5911774/git-gui-like-hg-workbench-in-ms-windows SourceTree looks quite similar. On Thu, Sep 17, 2015 at 2:07 PM, Terry Reedy wrote: > On 9/17/2015 3:17 AM, André Freitas wrote: > >> Regarding Git tools for Windows,

Re: [Python-Dev] PEP: Collecting information about git

2015-09-12 Thread Ryan Gonzalez
On September 12, 2015 6:14:58 PM CDT, Tim Delaney wrote: >On 13 September 2015 at 04:42, Oleg Broytman wrote: > >>There are too many things that I personally can do with git but >can't >> do with hg. Because of that I switched all my

Re: [Python-Dev] What's New editing

2015-09-05 Thread Ryan Gonzalez
On September 5, 2015 12:27:26 PM CDT, David Mertz wrote: >I have to apologize profusely here. Just after I offered to do this >(and >work even said it was OK in principle to do it on work time), my work >load >went through the roof. And now it's really already later than most

Re: [Python-Dev] Python Issue-subprocess problem

2015-08-27 Thread Ryan Gonzalez
*before anyone else says it* This list is for development *of* Python, not *in* Python. If you need help with things like this, I'd advise you to use the python-list https://mail.python.org/mailman/listinfo/python-list mailing list or Stack Overflow http://stackoverflow.com/. On Thu, Aug 27,

Re: [Python-Dev] How far to go with user-friendliness

2015-07-17 Thread Ryan Gonzalez
I am tempted to reply with a slightly sarcastic message involving a cookie... On July 17, 2015 6:40:21 PM CDT, Antoine Pitrou solip...@pitrou.net wrote: Frankly, this kind of inept discussion, where a bunch of folks get hung up about an extremely minor design decision (who cares whether assret

[Python-Dev] Where are bugs with the web site reported?

2015-07-16 Thread Ryan Gonzalez
I have encountered this weird issue on Chrome for Android where scrolling up just a little causes the page to dart to the top. I was going to report it in the bug tracker, but I didn't see a label for the web site itself. Worst part is, this is stopping me from reading the humor page! -- Sent

Re: [Python-Dev] Where are bugs with the web site reported?

2015-07-16 Thread Ryan Gonzalez
like an interesting case to keep in mind while evolving viewport resize behaviors. On Thu, Jul 16, 2015 at 2:24 PM, Glenn Linderman v+pyt...@g.nevcal.com wrote: On 7/16/2015 12:11 PM, Ryan Gonzalez wrote: I have encountered this weird issue on Chrome for Android where scrolling up just

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

2015-05-29 Thread Ryan Gonzalez
I did that once; it wasn't worth it. It was no smaller than what PyInstaller would output and required manually adding in the required modules that weren't in the stdlib, along with any extra DLLs (e.g. the Qt DLLs). On Fri, May 29, 2015 at 4:45 PM, Paul Moore p.f.mo...@gmail.com wrote: On 29

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

2015-05-28 Thread Ryan Gonzalez
py2exe tends to invoke DLL hell if you have various versions of VS or Office or both installed. Because Windows. On May 28, 2015 11:23:57 AM CDT, Chris Barker chris.bar...@noaa.gov wrote: I'm confused: Doesn't py2exe (optionally) create a single file executable? And py2app on the Mac creates

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

2015-05-28 Thread Ryan Gonzalez
I agree that size is an issue, but is it really that bad? Just compare it to the recent web surge where everyone is writing desktop apps in HTML5+CSS+JS and bundling a huge WebKit engine in their apps binary. Python on Windows is seriously in a bad state. IMO, what needs to be prioritized is

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

2015-05-28 Thread Ryan Gonzalez
YESSS!!! On Thu, May 28, 2015 at 8:09 PM, Larry Hastings la...@hastings.org wrote: On 05/28/2015 05:58 PM, Victor Stinner wrote: Why not continue to enhance Python 3 instead of wasting our time with Python 2? We have limited resources in term of developers to maintain Python. Uh, guys,

Re: [Python-Dev] Unable to build regex module against Python 3.5 32-bit

2015-05-25 Thread Ryan Gonzalez
Try building the module with -m32. The error message basically means: ../libpython35.a is 32-bit, but what you're building is 64-bit. Gotta love ld! On May 25, 2015 3:06:01 PM CDT, MRAB pyt...@mrabarnett.plus.com wrote: As the subject says, I've been unable to build the regex module against

Re: [Python-Dev] Sub-claasing pathlib.Path seems impossible

2015-05-03 Thread Ryan Gonzalez
http://stackoverflow.com/a/29880095/2097780 My favorite thing about Python is that it's so easy to be evil. ;) On Fri, May 1, 2015 at 2:30 PM, Christophe Bal projet...@gmail.com wrote: Hello. In this post

Re: [Python-Dev] PEP 3152 and yield from Future()

2015-04-23 Thread Ryan Gonzalez
Then blow it up like Duck Dynasty does. On April 23, 2015 12:07:46 PM CDT, Antoine Pitrou solip...@pitrou.net wrote: On Thu, 23 Apr 2015 09:58:33 -0700 Guido van Rossum gu...@python.org wrote: I think this is the nail in PEP 3152's coffin. If you only put one nail, it might manage to get out.

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

2015-04-20 Thread Ryan Gonzalez
Only if you want Java users burning all written copies of the PEP... On Mon, Apr 20, 2015 at 2:37 PM, Isaac Morland ijmor...@uwaterloo.ca wrote: On Mon, 20 Apr 2015, Paul Moore wrote: On 20 April 2015 at 19:41, Barry Warsaw ba...@python.org wrote: tldr; type hints in python source are

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

2015-04-20 Thread Ryan Gonzalez
Although I like the concept of type annotations and the PEP, I have to agree with this. If I saw these type annotations when learning Python (I'm self-taught), there's a 99% chance I would've freaked. It's the same issue as with teaching C++: it's wrong to say, Hey, I taught you the basics, but

Re: [Python-Dev] importante!!

2015-03-31 Thread Ryan Gonzalez
I think this was meant for python-list. On Tue, Mar 31, 2015 at 10:13 AM, Alan Armour aarm...@cipmail.org wrote: its french! lol I just wanted to see if you could, as well as making python able to have assembly written, you should totally use blender as your main IDE it would

Re: [Python-Dev] Working on issue 23496: should I use a macro test or an edit to configure.ac?

2015-02-26 Thread Ryan Gonzalez
DOES NOBODY HAVE AN ANSWER TO THIS??? I'm REALLY relying on someone who works on Python to answer this. PLEASE?? On Wed, Feb 25, 2015 at 12:17 PM, Ryan Gonzalez rym...@gmail.com wrote: So... There was a recent discussion here on porting Python to Android. Well, for those of you who saw too

[Python-Dev] Working on issue 23496: should I use a macro test or an edit to configure.ac?

2015-02-25 Thread Ryan Gonzalez
So... There was a recent discussion here on porting Python to Android. Well, for those of you who saw too many unread messages and marked the whole thread as read like I usually do, I helped Cyd figure out some patches that make it work. Cyd then opened Issue 23496

Re: [Python-Dev] ?s re documentation of Python features

2015-02-24 Thread Ryan Gonzalez
Ask on python-list https://mail.python.org/mailman/listinfo/python-list. Also check out the FAQ https://docs.python.org/3/faq/index.html and the Help page https://www.python.org/about/help/. Not sure what your problem is; Python is EXTREMELY well documented. On Tue, Feb 24, 2015 at 7:15 PM, GARRY

Re: [Python-Dev] Import Fails in setup.py On Android

2015-02-02 Thread Ryan Gonzalez
...the fakechroot in the environment throws the error and setup.py fails. I'll roll back that change...any idea where I could find info about the original method? On February 2, 2015 3:17:54 PM CST, Ryan Gonzalez rym...@gmail.com wrote: In reality, things just got broken even more. I don't know

Re: [Python-Dev] Import Fails in setup.py On Android

2015-02-02 Thread Ryan Gonzalez
In reality, things just got broken even more. I don't know when that patch was created, but it's now very out of date: importlib._bootstrap has no load function. That's what the error you're getting is telling you. Since it isn't getting to load anything, the issue seems solved. Not really.

Re: [Python-Dev] Newly Built Python3 Binary Throws Segfault

2015-02-01 Thread Ryan Gonzalez
the problem by using grep...were you looking for places where strdup called locale? On January 30, 2015 7:52:47 PM CST, Ryan Gonzalez rym...@gmail.com wrote: Regardless, if you're looking to toy more with stuff like this, I'd highly recommend dual-booting with Ubuntu, which is what I'm doing now

Re: [Python-Dev] Newly Built Python3 Binary Throws Segfault

2015-01-31 Thread Ryan Gonzalez
Regardless, if you're looking to toy more with stuff like this, I'd highly recommend dual-booting with Ubuntu, which is what I'm doing now. (Now I rarely ever boot into Windows!) On Fri, Jan 30, 2015 at 7:51 PM, Ryan Gonzalez rym...@gmail.com wrote: Do you have just the SDK (which doesn't

Re: [Python-Dev] Newly Built Python3 Binary Throws Segfault

2015-01-30 Thread Ryan Gonzalez
still getting a segfault on the newly built binary. Will post info this afternoon. On Fri, Jan 30, 2015 at 12:10 PM, Ryan Gonzalez rym...@gmail.com wrote: No, it returns NULL if malloc gives it a raw pointer. It unconditionally checks the length of the (possibly null) string argument first

Re: [Python-Dev] Newly Built Python3 Binary Throws Segfault

2015-01-30 Thread Ryan Gonzalez
) [ 01-29 19:30:55.855 23373:23373 F/libc ] Fatal signal 11 (SIGSEGV) at 0x (code=1), thread 23373 (python) Less detail than strace but it seems to be that python is segfaulting libc... On Wed, Jan 28, 2015 at 11:23 AM, Ryan Gonzalez rym...@gmail.com wrote: On Wed, Jan 28

Re: [Python-Dev] Newly Built Python3 Binary Throws Segfault

2015-01-30 Thread Ryan Gonzalez
to be that python is segfaulting libc... On Wed, Jan 28, 2015 at 11:23 AM, Ryan Gonzalez rym...@gmail.com wrote: On Wed, Jan 28, 2015 at 10:43 AM, Guido van Rossum gu...@python.org wrote: What I see in the strace: ... load libpython3.4m.so.1.0 ... load libm ... open /dev

Re: [Python-Dev] Newly Built Python3 Binary Throws Segfault

2015-01-30 Thread Ryan Gonzalez
: Unfortunately it is still reporting the same function :-/. On Fri, Jan 30, 2015 at 1:44 PM, Ryan Gonzalez rym...@gmail.com wrote: Yes... Can you check if it's crashing in a different function now? On Fri, Jan 30, 2015 at 1:39 PM, Cyd Haselton chasel...@gmail.com wrote: Yes I did. I did have

Re: [Python-Dev] Newly Built Python3 Binary Throws Segfault

2015-01-30 Thread Ryan Gonzalez
linked to). On Fri, Jan 30, 2015 at 12:00 PM, Cyd Haselton chasel...@gmail.com wrote: I don't have gdb on device; does the following tell you where Python's strdup is called? _PyMem_RawStrdup /bld/python/Python-3.4.2/Objects/obmalloc.c:323 On Fri, Jan 30, 2015 at 11:52 AM, Ryan Gonzalez rym

Re: [Python-Dev] Newly Built Python3 Binary Throws Segfault

2015-01-30 Thread Ryan Gonzalez
); if (copy == NULL) return NULL; memcpy(copy, str, size); return copy; } On Fri, Jan 30, 2015 at 11:56 AM, Ryan Gonzalez rym...@gmail.com wrote: I seriously doubt the issue is in that file; _PyMem_RawStrdup crashes when calling strlen. It's that whatever is calling

Re: [Python-Dev] Newly Built Python3 Binary Throws Segfault

2015-01-30 Thread Ryan Gonzalez
it tomorrow (earliest) or Sunday (latest). In the meantime I'll also check to see if there's anything that can a) run in an Android terminal and b) can take a stack trace; it would be far, far, far easier than either option above. On Fri, Jan 30, 2015 at 4:19 PM, Ryan Gonzalez rym...@gmail.com

Re: [Python-Dev] Newly Built Python3 Binary Throws Segfault

2015-01-28 Thread Ryan Gonzalez
On Wed, Jan 28, 2015 at 10:43 AM, Guido van Rossum gu...@python.org wrote: What I see in the strace: ... load libpython3.4m.so.1.0 ... load libm ... open /dev/__properties__ and do something to it (what?) ... get current time ... allocate memory ... getuid ... segfault That's not a lot

Re: [Python-Dev] Pydoc Replacement for Python's help()?

2015-01-26 Thread Ryan Gonzalez
Looking at pydoc.py, it looks like the Tk is purely optional...and isn't called from the interpreter. (I'm not a core dev, though, so take that with a grain of salt.) However, can't you just strip out the gui function and the one place in the file where it's called? Again, not a main Python

Re: [Python-Dev] Compile Python on Windows (OpenSSL)

2015-01-15 Thread Ryan Gonzalez
On Thu, Jan 15, 2015 at 3:30 PM, Victor Stinner victor.stin...@gmail.com wrote: Hi, I installed the SP1 for Visual Studio 2010, and it looks like that it broke my Windows SDK 7.1 (setenv was missing, cl.exe was also missing). I uninstalled the SDK 7.1, and then I saw that a patch is

Re: [Python-Dev] Compile Python on Windows (OpenSSL)

2015-01-15 Thread Ryan Gonzalez
If you expand the Details section, it says the version is 7.1. On Thu, Jan 15, 2015 at 3:58 PM, Victor Stinner victor.stin...@gmail.com wrote: 2015-01-15 22:39 GMT+01:00 Ryan Gonzalez rym...@gmail.com: http://www.microsoft.com/en-us/download/details.aspx?id=8279 Microsoft Windows SDK

  1   2   >