[issue46164] New `both()` operator for matching multiple variables to one

2021-12-23 Thread Billy
New submission from Billy : A new `both()` operator for matching multiple variables to one at the same time. Currently, ```py if a == 1 and b == 1: ... ``` With a `both()` operator, it can be done as follows (concept): ```py if both(a, b) == 1: ... ``` Why? -> With the increas

[issue22107] tempfile module misinterprets access denied error on Windows

2019-04-23 Thread Billy McCulloch
Billy McCulloch added the comment: I stand by the patch file I previously submitted on 2016-05-04. A more detailed analysis / description of my reasoning follows. Change 1 in _get_default_tempdir: A PermissionError is thrown on Windows if you attempt to create a file whose filename matches

[issue28274] asyncio does not call exception handler if task stored

2016-09-25 Thread Billy Foster
New submission from Billy Foster: I found a very strange bug in asyncio where whether exception handlers are called depends on whether a task is stored. To illustrate, the following code works as expected, printing out that it made it to the exception handler: import asyncio async def run

[issue22107] tempfile module misinterprets access denied error on Windows

2016-05-03 Thread Billy McCulloch
Billy McCulloch added the comment: I've also run into this bug on Windows. In my case, the tempdir path includes directories on a network share, which I lack write access permissions to. Python tries to generate a *lot* of files, and never figures out it should move on to another directory

[issue12978] Figure out extended attributes on BSDs

2015-07-20 Thread Billy Foster
Billy Foster added the comment: Is there any chance of getting this finalized? I have been using William Orr's patch as a workaround for months now, but it would be nice to not have to manually apply it each version bump... -- nosy: +billyfoster

[issue22699] cross-compilation of Python3.4

2014-10-22 Thread Billy
New submission from Billy: Who knows to cross-compile Python 3.4? -- messages: 229828 nosy: bill9889 priority: normal severity: normal status: open title: cross-compilation of Python3.4 type: resource usage versions: Python 3.4 ___ Python tracker rep

[issue22659] SyntaxError in the configure_ctypes

2014-10-17 Thread Billy
New submission from Billy: Hi all, I have a issue with the cross-compilation, here I let it: File ../src/setup.py, line 1849 exec(f.read(), globals(), fficonfig) SyntaxError: unqualified exec is not allowed in function 'configure_ctypes' it contains a nested function with free variables

[issue22654] issue with PYTHON_FOR_BUILD

2014-10-16 Thread Billy
New submission from Billy: Hi all, I've been cross-compiling Python3.4.1, but I have a issue than is following: _PYTHON_PROJECT_BASE=/home/aphillips/work/leo368-20141008/fs/apps/python-3.4.1/arm _PYTHON_HOST_PLATFORM=linux-arm PYTHONPATH=../src/Lib:../src/Lib/plat-linux -S -m sysconfig

[issue22654] issue with PYTHON_FOR_BUILD

2014-10-16 Thread Billy
Billy added the comment: Yes, I applied a patch in the configure for than it can make the configuration. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22654

[issue22654] issue with PYTHON_FOR_BUILD

2014-10-16 Thread Billy
Billy added the comment: Ned Deil, For my application I need to use Python 3.4.1 and Why do I need to run the ./configure for second time?. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22654

[issue22654] issue with PYTHON_FOR_BUILD

2014-10-16 Thread Billy
Billy added the comment: I added a patch for the resolution of the issue but it didn't work. You can see in my first comment than there is a issue with PYTHONPATH, Do you know why happen that. -- ___ Python tracker rep...@bugs.python.org http

[issue11652] urlib2 returns a pair of integers as the content-length value

2011-03-23 Thread Billy Saelim
New submission from Billy Saelim sae...@gmail.com: urlopen does not always return a single value for 'content-length'. For example: import urllib2 request = 'http://wwwsearch.sourceforge.net/mechanize/src/mechanize-0.1.11.zip' fp = urllib2.urlopen(request) fp.info().dict {'content