Re: [Python-Dev] Microsoft Visual C++ Compiler for Python 2.7

2014-09-26 Thread Ryan Gonzalez
At long last! Building C extensions on Windows will no longer be a pain in the rear! On Fri, Sep 26, 2014 at 1:01 PM, Steve Dower wrote: > Hi all, > > (This is advance notice since people on this list will be interested. > Official announcements are coming when setuptools makes their next releas

Re: [Python-Dev] [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-03 Thread Ryan Gonzalez
Wait...you sent this to 9fans AND Python Dev??? Why not ask on StackExchange Programmers or something? On Mon, Nov 3, 2014 at 5:19 PM, françai s wrote: > I intend to write in lowest level of computer programming as a hobby. > > It is true that is impossibl

Re: [Python-Dev] Improvements for Pathlib

2014-11-08 Thread Ryan Gonzalez
+1 for the context manager ideas. Anything that is like a resource should be available as a context manager. On Sat, Nov 8, 2014 at 9:46 AM, Ionel Cristian Mărieș wrote: > Hello, > > In the current incarnation Pathlib is missing some key features I need in > my usecases. I want to contribute the

Re: [Python-Dev] Windows Dedicated Mailing List

2014-11-14 Thread Ryan Gonzalez
I agree completely (although I use multibooting instead of a VM). On Fri, Nov 14, 2014 at 11:46 AM, Antoine Pitrou wrote: > On Fri, 14 Nov 2014 16:35:12 + > Steve Dower wrote: > > I'd like to keep development *of* Python here, regardless of platform. > Otherwise all the Linux and Mac people

Re: [Python-Dev] Move selected documentation repos to PSF BitBucket account?

2014-11-23 Thread Ryan Gonzalez
On Sun, Nov 23, 2014 at 1:41 PM, Ethan Furman wrote: > On 11/23/2014 10:14 AM, Brett Cannon wrote: > > On Sun Nov 23 2014 at 1:08:58 PM Ethan Furman > wrote: > >> > >> Dous GitHub support hg? If not, I am strongly opposed. > >> > > > > Depends on what you mean by "support". If you mean natively

[Python-Dev] Google search labels Python 2.7 docs as Python 3.4

2014-12-31 Thread Ryan Gonzalez
Not sure if this is something to post here...but... [image: Inline image 1] -- Ryan If anybody ever asks me why I prefer C++ to C, my answer will be simple: "It's becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don't think that was nul-terminated." Personal reality distortion fields are immune to

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

2015-01-06 Thread Ryan Gonzalez
I thought of this exact comment when I read the "bug fix considered a regression." On Tue, Jan 6, 2015 at 2:41 PM, Guido van Rossum wrote: > There's an obligatory XKCD reference for this: http://xkcd.com/1172/ > > On Tue, Jan 6, 2015 at 12:25 PM, Terry Reedy wrote: > >> On 1/6/2015 7:39 AM, Vic

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 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 > required to use Windows SD

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 wrote: > 2015-01-15 22:39 GMT+01:00 Ryan Gonzalez : > > http://www.microsoft.com/en-us/download/details.aspx?id=8279 > > "Microsoft Windows SDK for Windows 7

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 develo

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 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 to go

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

2015-01-30 Thread Ryan Gonzalez
al 11 (SIGSEGV) at 0x (code=1), thread > >> 11914 (python) (libc) > >> > >> [ 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 bu

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

2015-01-30 Thread Ryan Gonzalez
> >>>> F(11914) Fatal signal 11 (SIGSEGV) at 0x (code=1), thread > >>>> 11914 (python) (libc) > >>>> > >>>> [ 01-29 19:30:55.855 23373:23373 F/libc ] > >>>> Fatal signal 11 (SIGSEGV) at 0x (code=1), th

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 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

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

2015-01-30 Thread Ryan Gonzalez
copy = PyMem_RawMalloc(size); > if (copy == NULL) > return NULL; > memcpy(copy, str, size); > return copy; > } > > On Fri, Jan 30, 2015 at 11:56 AM, Ryan Gonzalez wrote: > > I seriously doubt the issue is in that file; _PyMem_RawStrdup crashes >

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

2015-01-30 Thread Ryan Gonzalez
l getting a segfault on the newly built binary. > Will post info this afternoon. > > On Fri, Jan 30, 2015 at 12:10 PM, Ryan Gonzalez 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
h and type: backtrace You should now see a complete backtrace in your terminal. To GDB, type: quit *crosses fingers* On Fri, Jan 30, 2015 at 2:50 PM, Cyd Haselton wrote: > Unfortunately it is still reporting the same function :-/. > > On Fri, Jan 30, 2015 at 1:44 PM, Ryan Gonza

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

2015-01-30 Thread Ryan Gonzalez
ing it's impossible...just that it'll take time...and I'll > probably have to tackle 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

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 wrote: > Do you have just the SDK (which doesn'

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

2015-02-01 Thread Ryan Gonzalez
te: >>> >>> Question: >>> When you said earlier that you found 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 >>> wrote: >>>> >&

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. What

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

2015-02-02 Thread Ryan Gonzalez
t 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 > wrote: >> >> In reality, things just got brok

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

2015-02-24 Thread Ryan Gonzalez
Ask on python-list . Also check out the FAQ and the Help page . Not sure what your problem is; Python is EXTREMELY well documented. On Tue, Feb 24, 2015 at 7:15 PM,

[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] 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 wrote: > So... > > There was a recent discussion here on porting Python to Android. Well, for > those of you who sa

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 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 > be so epic > >

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 wrote: > On Mon, 20 Apr 2015, Paul Moore wrote: > > On 20 April 2015 at 19:41, Barry Warsaw wrote: >> >>> tldr; type hints in python source are scary. Would reserving them for >>

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 t

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 wrote: >On Thu, 23 Apr 2015 09:58:33 -0700 >Guido van Rossum wrote: >> I think this is the nail in PEP 3152's coffin. > >If you only put one nail, it might manage to get out. > >Regards > >Antoine. > > >___

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 wrote: > Hello. > > In this post >

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: > > > Sent from my iPhone > __

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 ^ -- http

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 >development container ima

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 just runs and runs and runs. H

[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 lack

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 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 would'v

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. Personally I thought of Swift (Ryan

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 >> eve

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 mailto:python-dev@python.org>> wrote: On 03.05.2018 1:01, Antoine Pitrou wrote: On Wed, 2 May 2018 22:54:04 +0100 Paul Moore mailto

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 wrote: > >> >> I'm inclined to agree that

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 Node.js experiment I heard

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 then forks it to run the

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 into the 2.7 branch.

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 wrote: >As the subject says, I've been unable to build the regex module against >Python 3.5b1 for 32-bit. Mi

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 wrote: >I'm confused: > >Doesn't py2exe (optionally) create a single file executable? > >And py2app on the Mac creates an application bu

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 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, you might a

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 wrote: > On 29 May 2015 at 21:49,

[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
this seems like an interesting case to keep in mind while evolving viewport resize behaviors. On Thu, Jul 16, 2015 at 2:24 PM, Glenn Linderman wrote: > On 7/16/2015 12:11 PM, Ryan Gonzalez wrote: > > I have encountered this weird issue on Chrome for Android where scrolling > up ju

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 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" >is being specia

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 mailing list or Stack Overflow . On Thu, Aug 27,

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 of >it >should ha

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 development from hg to >git >> and I am willing to help

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, GitHub Desktop and S

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 for 10 years and I believ

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 wrote: >"They"? > >On Mon, Oct 5, 2015 at 12:57 PM, Ryan Gonzalez >wrote: > >> There is one reason I would be really freaking mad if they deprecated >> o

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

2015-10-05 Thread Ryan Gonzalez
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

[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 https://github.com/howl-editor/howl/commit/1e577da89efc1c1de780634b531f64346cf586d6#diff-851d9b84896270cc7e3b

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" 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 doesn't say

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', 'Frb', 'R', 'RB',

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 wrote: > On 22.10.2015 18:17, Ryan Gonzalez wrote: > >> >>> anything about it. 'FbR', really? >>>> >>> Why not disallowing them? >

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 should be able to dete

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 wrote: > In a message of Thu, 29 Oct 2015 15:50:30 -0500, Ryan Gonzalez writes: > >Why not just check the path of the imported modules and compare it w

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
logging.warning('stdlib module %s was overriden', name) return module sys.meta_path.append(StdlibTester()) import string On October 29, 2015 7:06:51 PM CDT, "R. David Murray" wrote: >On Thu, 29 Oct 2015 16:56:38 -0700, Nathaniel Smith >wrote: >&

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 half-done releasing 2.

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 > couldn't find it. > > https://news.ycomb

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 lin

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 >>python.exe got the text a

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 :-) >> >>https://docs.python.org/3/reference/expressions.html#dis

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 wrote: > > >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: >>>> I

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 macro. > >It is needed fo

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 workflow to >one >hos

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 PHP 7 are faster than Python 2. >> > Python 3 is slower than Python 2

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 compare *language* speed. >> > >Well, that's 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=✓&q="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 | wc > 23

[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] 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/

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 to help along with

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 discussions about Python perform

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

2016-04-13 Thread Ryan Gonzalez
; Le mercredi 13 avril 2016, Ryan Gonzalez 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 keep a nice assembler. There are also debug > traces in c

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 lin

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 pr

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 execute some piece of code bu

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" wrote: > > It looks to me

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" wrote:

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 >> probably won't be for quite a few years ahead.

Re: [Python-Dev] Running the unit test as root/administrator

2013-12-03 Thread Ryan Gonzalez
Just don't run it on Windows... On Tue, Dec 3, 2013 at 10:25 AM, Guido van Rossum wrote: > I would be rather worried about some accidental Trojen running that way. > > ___ > Python-Dev mailing list > Python-Dev@python.org > https://mail.python.org/mai

Re: [Python-Dev] Migration from Python 2.7 and bytes formatting

2014-01-17 Thread Ryan Gonzalez
A command line parameter?? The annoying part would be telling every single user to call Python with a certain argument and hope they read the README. If it's a library, out of the question. If it's a program, well, I hope your users read READMEs. On Fri, Jan 17, 2014 at 4:49 AM, Neil Schemenau

Re: [Python-Dev] Migration from Python 2.7 and bytes formatting

2014-01-17 Thread Ryan Gonzalez
> On 2014-01-17, Ryan Gonzalez wrote: > > A command line parameter?? > > I believe it has to be global flag. A __future__ statement will not > work. Probably we should allow the flag to be set with an > environment variable as well. > > > The annoying part would b

Re: [Python-Dev] str.rreplace

2014-01-24 Thread Ryan Gonzalez
http://stackoverflow.com/questions/2556108/how-to-replace-the-last-occurence-of-an-expression-in-a-string On Fri, Jan 24, 2014 at 10:32 AM, Ram Rachum wrote: > Question: Why is there no str.rreplace in Python? > > ___ > Python-Dev mailing list > Pyth

Re: [Python-Dev] Python 3.4: Cherry-picking into rc2 and final

2014-02-18 Thread Ryan Gonzalez
Sounds like you aren't exactly a DVCS fan... On Tue, Feb 18, 2014 at 8:46 PM, Guido van Rossum wrote: > I do think there's one legitimate concern -- someone might pull a diff > from Larry's branch and then accidentally push it back to the public repo, > and then Larry would be in trouble if he

Re: [Python-Dev] Poll: Py_REPLACE/Py_ASSIGN/etc

2014-02-26 Thread Ryan Gonzalez
I like Py_DECREF_REPLACE. It gives the impression that it decrefs the original and replaces it. On Wed, Feb 26, 2014 at 3:40 AM, Serhiy Storchaka wrote: > There were several suggestions for naming new macros which replace old > value with new value and then (x)decref old value. > > #define Py_XX

Re: [Python-Dev] Python 4: don't remove anything, don't break backward compatibility

2014-03-10 Thread Ryan Gonzalez
You forgot 3., and 3.$. On Mon, Mar 10, 2014 at 12:06 PM, Chris Angelico wrote: > On Tue, Mar 11, 2014 at 3:56 AM, Antoine Pitrou > wrote: > > On Mon, 10 Mar 2014 17:04:08 +0100 > > "Stefan Richthofer" wrote: > > > >> > Guido famously hates two digit minor version numbers. :) > >> > >> This i

Re: [Python-Dev] Python 4: don't remove anything, don't break backward compatibility

2014-03-10 Thread Ryan Gonzalez
This is my standpoint. The major releases would remove the code that's been marked as "deprecated". You probably would've know for the past 3 versions anyway... On Mon, Mar 10, 2014 at 12:13 PM, Chris Angelico wrote: > On Tue, Mar 11, 2014 at 4:08 AM, R. David Murray > wrote: > > (That said,

Re: [Python-Dev] [RELEASED] Python 3.4.0

2014-03-17 Thread Ryan Gonzalez
YES!!! +1 to the authors of the statistics and pathlib modules. On Mon, Mar 17, 2014 at 1:29 AM, Larry Hastings wrote: > > On behalf of the Python development team, I'm thrilled to announce > the official release of Python 3.4. > > > Python 3.4 includes a range of improvements of the 3.x series

Re: [Python-Dev] issue with itertools leads the crash

2014-04-09 Thread Ryan Gonzalez
2015!?!? I was hoping it was a tad further off...the PyPy team is going to have to start freaking out in about 12 months. On Wed, Apr 9, 2014 at 8:26 AM, Mark Lawrence wrote: > On 08/04/2014 17:30, MRAB wrote: > >> On 2014-04-08 16:31, Brett Cannon wrote: >> >> Something for Python 3.5, maybe? :

Re: [Python-Dev] Language Summit notes

2014-04-10 Thread Ryan Gonzalez
On Thu, Apr 10, 2014 at 3:12 PM, Paul Moore wrote: > On 10 April 2014 20:30, Antoine Pitrou wrote: > > FWIW, I do hope there would be a PEP before including CFFI... Actually I > > don't understand what would justify an exemption. > > I agree. I'd like to see a clear explanation of what advantage

Re: [Python-Dev] Python "2migr8"

2014-04-14 Thread Ryan Gonzalez
On Mon, Apr 14, 2014 at 9:03 PM, Chris Angelico wrote: > On Tue, Apr 15, 2014 at 7:17 AM, Chris Barker > wrote: > > On Mon, Apr 14, 2014 at 1:26 PM, Guido van Rossum > wrote: > > > >> > >> >> - I'd prefer a name that plays on 2 and 3, not 2 and 8. :-) > > > > How about mirg2**3 (pronounced "mig

Re: [Python-Dev] subprocess shell=True on Windows doesn't escape ^ character

2014-06-12 Thread Ryan Gonzalez
SHELLS ARE NOT CROSS-PLATFORM Seriously, there are going to be differences. If you really must: escape = lambda s: s.replace('^', '^^') if os.name == 'nt' else s Viola. On Wed, Jun 11, 2014 at 5:53 PM, anatoly techtonik wrote: > On Thu, Jun 12, 2014 at 1:30 AM, Chris Angelico wrote: > >

  1   2   >