[issue22138] patch.object doesn't restore function defaults

2014-08-06 Thread Sean McCully
Sean McCully added the comment: Is special casing the special attrs a permament enough solution? -- keywords: +patch nosy: +seanmccully Added file: http://bugs.python.org/file36286/issue22138.patch ___ Python tracker rep...@bugs.python.org http

[issue1011113] Make “install” find the build_base directory

2014-08-10 Thread Sean McCully
Sean McCully added the comment: Please advise any changes that need to be made, this is technically my second patch submission to cpython. I also had trouble running the unittests when backporting to 2.7. Look at distutils, there wasn't a clear method for linking commands to share common

[issue1011113] Make “install” find the build_base directory

2014-08-10 Thread Sean McCully
Sean McCully added the comment: Attaching Python 2.7 patch. -- Added file: http://bugs.python.org/file36338/issue103-py27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue103

[issue1011113] Make “install” find the build_base directory

2014-08-10 Thread Sean McCully
Sean McCully added the comment: Attachng Python 3.5/default branch patch. -- Added file: http://bugs.python.org/file36337/issue103-default.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue103

[issue22138] patch.object doesn't restore function defaults

2014-08-10 Thread Sean McCully
Sean McCully added the comment: So the changes submitted, take into the attributes that are part of the standard Python Data Model/Descriptors and defined as editable per documentation. https://docs.python.org/3/reference/datamodel.html The thought is if a user is needing to support outside

[issue22171] stack smash when using ctypes/libffi to access union

2014-08-12 Thread Sean McCully
Sean McCully added the comment: For what it is worth, I was not able to reproduce, on the current Python 2.7.8 branch and Mac OS X. ./python2 Python 2.7.8+ (2.7:ba90bd01c5f1, Aug 12 2014, 12:21:58) gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr

[issue22024] Add to shutil the ability to wait until files are definitely deleted

2014-08-21 Thread Sean McCully
Sean McCully added the comment: Is this closer to what Zachary.Ware suggested, patch implements a wait_until_deleted method in C Api using inotify for Linux/FreeBSD. -- nosy: +seanmccully Added file: http://bugs.python.org/file36433/issue22024.patch

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-20 Thread Sean McCully
Sean McCully added the comment: ok,  is this a valid fix then? On Saturday, May 20, 2017 1:34 AM, STINNER Victor <rep...@bugs.python.org> wrote: STINNER Victor added the comment: > In fact, it seems like I introduced a regression in bpo-639

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-19 Thread Sean McCully
New submission from Sean McCully: Exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python2.7/site-packages/pip/commands/install.py"