[issue43424] Document the `controller.name` field in `webbrowser` module

2021-12-21 Thread Alex Willmer
Change by Alex Willmer : -- nosy: -Alex.Willmer ___ Python tracker <https://bugs.python.org/issue43424> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44724] multiprocessing: the Resource Tracker process is never reaped

2021-11-24 Thread Alex Willmer
Change by Alex Willmer : -- nosy: +Alex.Willmer ___ Python tracker <https://bugs.python.org/issue44724> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31904] Python should support VxWorks RTOS

2021-05-08 Thread Alex Willmer
Change by Alex Willmer : -- nosy: -Alex.Willmer ___ Python tracker <https://bugs.python.org/issue31904> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23740] http.client request and send method have some datatype issues

2021-03-05 Thread Alex Willmer
Alex Willmer added the comment: http_dump.py now covers CPython 3.6-3.10 (via Tox), and HTTPSConnection https://github.com/moreati/bpo-23740 -- ___ Python tracker <https://bugs.python.org/issue23

[issue43407] time.monotonic(): Docs imply comparing call N and call N+M is invalid for M>1

2021-03-04 Thread Alex Willmer
Change by Alex Willmer : -- keywords: +patch pull_requests: +23528 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24757 ___ Python tracker <https://bugs.python.org/issu

[issue43407] time.monotonic(): Docs imply comparing call N and call N+M is invalid for M>1

2021-03-04 Thread Alex Willmer
Alex Willmer added the comment: Discussion from #python IRC [21:51] Given `a=time.monotonic(); b=time.monotonic(); c=time.monotonic()` is `c-a < delta` a valid comparison? Until this evening I thought so, but I've just read https://docs.python.org/3/library/time.html#time.monot

[issue43407] time.monotonic(): Docs imply comparing call N and call N+M is invalid for M>1

2021-03-04 Thread Alex Willmer
New submission from Alex Willmer : I believe the documentation for time.monotonic() and time.perf_counter() could be misleading. Taken literally they could imply that given delta = 0.1 a = time.monotonic() b = time.monotonic() c = time.monotonic() the comparisons `b - a < delta`, and `c

[issue23740] http.client request and send method have some datatype issues

2021-03-02 Thread Alex Willmer
Alex Willmer added the comment: First stab at characterising http.client.HTTPConnnection.send(). https://github.com/moreati/bpo-23740 This uses a webserver that returns request details, in the body of the response. Raw (TCP level) content is included. It shares a similar purpose to HTTP

[issue23740] http.client request and send method have some datatype issues

2021-03-02 Thread Alex Willmer
Alex Willmer added the comment: A data point found while I researched this MyPy typeshed [1] currently declares _DataType = Union[bytes, IO[Any], Iterable[bytes], str] class HTTPConnection: def send(self, data: _DataType) -> None: ... [1] https://github.com/python/typeshed/b

[issue13559] Use sendfile where possible in httplib

2021-02-26 Thread Alex Willmer
Alex Willmer added the comment: To check my understanding Is the motivation for the closer to 1. using sendfile() will break $X, and we know X 2. there's high probability sendfile() will break something 3. there's unknown probability sendfile() will break something 4. there's

[issue13559] Use sendfile where possible in httplib

2021-02-25 Thread Alex Willmer
Alex Willmer added the comment: I would like to take a stab at this. Giampaolo, would it be okay if I made a pull request updated from your patch? With the appropriate "Co-authored-by: Author Name " line. -- nosy: +Alex.Willmer ___ Pyth

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-11 Thread Alex Willmer
Alex Willmer added the comment: > it is probably not possible to write a pure Python PickleBuffer Fair enough > a usable pure Python Pickler, but without support for the PickleBuffer class. That makes sense. However, for third party packages (e.g. zodbpickle, pikl) wanting a pure

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-11 Thread Alex Willmer
Alex Willmer added the comment: I don't think I can do this. My WIP code is in https://github.com/moreati/cpython/pull/new/bpo-37210, and associated make test output is attached. Principal blockers - `_pickle.PickleBuffer.raw()` can return a contiguous buffer from either a c_conti

[issue37218] Default hmac.new() digestmod has not been removed from documentation

2019-06-10 Thread Alex Willmer
Change by Alex Willmer : -- keywords: +patch pull_requests: +13814 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13947 ___ Python tracker <https://bugs.python.org/issu

[issue37218] Default hmac.new() digestmod has not been removed from documentation

2019-06-10 Thread Alex Willmer
Alex Willmer added the comment: Scratch the part about documented signature, it's still `hmac.new(... digestmod=None)`, the check happens in the body of the function -- ___ Python tracker <https://bugs.python.org/is

[issue37218] Default hmac.new() digestmod has not been removed from documentation

2019-06-10 Thread Alex Willmer
New submission from Alex Willmer : Until Python 3.8 hmc.new() defaulted the digestmod argument to 'hmac-md5'. This was deperecated, to be removed in Python 3.8. In Python 3.8.0b1 it is gone, e.g. Python 3.8.0b1 (default, Jun 6 2019, 03:44:52) [GCC 7.4.0] on linux Type "he

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-09 Thread Alex Willmer
Alex Willmer added the comment: Attempting a PR -- ___ Python tracker <https://bugs.python.org/issue37210> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-09 Thread Alex Willmer
Alex Willmer added the comment: Arggh, typo. I mean maximizing *your* convenience is paramount. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-09 Thread Alex Willmer
Alex Willmer added the comment: I noticed this because I was experimenting with pickle.py from the 3.8 branch to support protocol 5 in https://github.com/moreati/pikl (and later to https://pypi.org/project/zodbpickle/). However I want to make it clear, if CPython maintainers wish to keep

[issue27701] [posixmodule] [Refactoring patch] Simply call into *at() functions unconditionally when present

2016-08-08 Thread Alex Willmer
Changes by Alex Willmer : -- nosy: +Alex.Willmer ___ Python tracker <http://bugs.python.org/issue27701> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27336] --without-threads build fails due to undeclared _PyGILState_check_enabled

2016-06-16 Thread Alex Willmer
New submission from Alex Willmer: Building current tip (rev 102062:3d726dbfca31), on Ubuntu 16.04/x86_64, using --without-thread fails; with the following error gcc -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes-Werror=declaration-after-statement

[issue27229] In tree cross-build fails copying Include/graminit.h to itself

2016-06-05 Thread Alex Willmer
New submission from Alex Willmer: While trying a cross compile of Python 3.6 I encountered the following alex@martha:~/src/cpython default☿ hg summary parent: 101753:31ad7885e2e5 Issue #27225: Fixed a reference leak in type_new when setting __new__ fails. branch: default commit: (clean

[issue22625] When cross-compiling, don’t try to execute binaries

2016-03-14 Thread Alex Willmer
Alex Willmer added the comment: On 14 March 2016 at 01:05, Robert Collins wrote: > There are three platforms in play: target, host, build. > > Host is the platform where what you build should run on. > build is the platform we are building on. > target is the platform where the

[issue26271] freeze.py makefile uses the wrong flags variables

2016-03-07 Thread Alex Willmer
Changes by Alex Willmer : -- nosy: +Alex.Willmer ___ Python tracker <http://bugs.python.org/issue26271> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26505] [PATCH] Spelling of ANY in the license of Modules/getaddrinfo.c

2016-03-07 Thread Alex Willmer
New submission from Alex Willmer: The license of Modules/getaddrinfo.c misspells ANY as GAI_ANY. I'm assuming a sed invocation was the cause. The same file later uses GAI_ANY as a wildcard for socket type, protocol and port. It looks like this mistake was present when the code was

[issue26443] cross building extensions picks up host headers

2016-03-01 Thread Alex Willmer
Alex Willmer added the comment: This looks like a duplicate of #20211, and IMO the patch there is more correct. -- ___ Python tracker <http://bugs.python.org/issue26

[issue22654] issue with PYTHON_FOR_BUILD

2016-03-01 Thread Alex Willmer
Changes by Alex Willmer : -- nosy: +Alex.Willmer ___ Python tracker <http://bugs.python.org/issue22654> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22699] cross-compilation of Python3.4

2016-03-01 Thread Alex Willmer
Changes by Alex Willmer : -- nosy: +Alex.Willmer ___ Python tracker <http://bugs.python.org/issue22699> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22625] When cross-compiling, don’t try to execute binaries

2016-03-01 Thread Alex Willmer
Changes by Alex Willmer : -- nosy: +Alex.Willmer ___ Python tracker <http://bugs.python.org/issue22625> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26443] cross building extensions picks up host headers

2016-03-01 Thread Alex Willmer
Changes by Alex Willmer : -- nosy: +Alex.Willmer ___ Python tracker <http://bugs.python.org/issue26443> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23670] Modifications to support iOS as a cross-compilation target

2016-03-01 Thread Alex Willmer
Alex Willmer added the comment: I've done my best to rebase Freakboy's patch onto 3.6-dev. The attached applies cleanly, but the testsuite goes into an infinite loop. It's a start at least. At a guess the problem is in Lib/test/libregrtest/ or Lib/test/regrtest.py where th

[issue25009] queue.Queue() does not validate the maxsize argument

2015-09-05 Thread Alex Willmer
New submission from Alex Willmer: The maxsize argument when initializing a Queue is expected to be an int (technically anything that can be compared to an int). However the class takes any value. In Python 3 this throws "TypeError: unorderable types" once e.g. .put() is called. On

[issue12006] strptime should implement %V or %u directive from libc

2014-09-22 Thread Alex Willmer
Alex Willmer added the comment: Alexander, http://bugs.python.org/file36417/12006_3.5_complete.patch updates the previous patches and is ready for review. Unit tests pass as of today. Regards, Alex W. -- nosy: +Alex.Willmer ___ Python tracker

[issue12006] strptime should implement %V or %u directive from libc

2014-08-19 Thread Alex Willmer
Changes by Alex Willmer : Added file: http://bugs.python.org/file36417/12006_3.5_complete.patch ___ Python tracker <http://bugs.python.org/issue12006> ___ ___ Python-bug

[issue19796] urllib2.HTTPError.reason is not documented as "Added in 2.7"

2013-11-26 Thread Alex Willmer
New submission from Alex Willmer: issue13211 added a .reason attribute to urllib2.HTTPError in Python 2.7, issue16634 documented it (http://hg.python.org/cpython/rev/deb60efd32eb). The documentation for Python 2.7 doesn't mention that this attribute was added in that release. This (at

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-11-11 Thread Alex Willmer
Alex Willmer added the comment: On Thu, Nov 11, 2010 at 10:20 PM, Vlastimil Brom wrote: > Maybe I am missing something, but the result in regex seem ok to me: > \A is treated like A in a character set; I think it's me who missed something. I'd assumed that all backslash patter

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-11-11 Thread Alex Willmer
Alex Willmer added the comment: The re module throws an exception for re.compile(r'[\A\w]'). latest regex doesn't, but I don't think the pattern is matching correctly. Shouldn't findall(r'[\A]\w', 'a b c') return ['a'] and findall(r'

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-08-14 Thread Alex Willmer
Alex Willmer added the comment: On 14 August 2010 21:24, Matthew Barnett wrote: > Over to you, Alex. :-) Et voilà, an exciting Saturday evening http://pypi.python.org/pypi/regex/0.1.20100814 Matthew, I'm currently keeping regex in a private bzr repository. Do you have yours in source

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-07-25 Thread Alex Willmer
Alex Willmer added the comment: On 25 July 2010 03:46, Matthew Barnett wrote: > issue2636-20100725.zip is a new version of the regex module. This is now packaged and uploaded to PyPI http://pypi.python.org/pypi/regex/0.1.20100725 -- ___ Pyt

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-07-13 Thread Alex Willmer
Alex Willmer added the comment: On 13 July 2010 22:34, Jonathan Halcrow wrote: > The most recent version on pypi (20100709) seems to be missing _regex_core > from py_modules in setup.py. Sorry, my fault. I've uploaded a corrected version http://pypi.python.org/pypi/regex/0.1

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-07-06 Thread Alex Willmer
Alex Willmer added the comment: On 6 July 2010 18:03, Matthew Barnett wrote: > The file at http://pypi.python.org/pypi/regex/ was downloaded 75 times, if > that's any help. (Now reset to 0 because of the bug fix.) > Each release was downloaded between 50 and 100 times. Matthew

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-07-06 Thread Alex Willmer
Alex Willmer added the comment: I've packaged Matthew's latest revision and uploaded it to PyPI. This version will build for Python 2 and Python 3, parallel installs will coexist on the same machine. -- ___ Python tracker <http://bu

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-04-13 Thread Alex Willmer
Alex Willmer added the comment: On 14 April 2010 00:33, Matthew Barnett wrote: > I think I might have identified the cause of the problem, although I still > haven't been able to reproduce it, so I can't be certain. Performed 76 Passed Looks

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-04-13 Thread Alex Willmer
Alex Willmer added the comment: On 13 April 2010 18:10, Matthew Barnett wrote: > Anyway, do: > >    regex.match(ur"\p{Ll}", u"a") >    regex.match(ur'(?u)\w', u'\xe0') > > really return None? Your results suggest that they won'

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-04-13 Thread Alex Willmer
Alex Willmer added the comment: On 13 April 2010 03:21, Matthew Barnett wrote: > issue2636-20100413.zip is a new version of the regex module. Matthew, When I run test_regex.py 6 tests are failing, with Python 2.6.5 on Ubuntu Lucid and my setup.py. Attached is the output, do all the tests p

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-03-16 Thread Alex Willmer
Alex Willmer added the comment: I've adapted the Python 2.6.5 test_re.py as follows, from test.test_support import verbose, run_unittest -import re -from re import Scanner +import regex as re +from regex import Scanner and run it against regex-2010305. Three tests failed, and the repo

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-02-26 Thread Alex Willmer
Alex Willmer added the comment: On 26 February 2010 03:20, Matthew Barnett wrote: > Added file: http://bugs.python.org/file16375/issue2636-20100226.zip This is now uploaded to PyPI http://pypi.python.org/pypi/regex/0.1.20100226 -- Alex Willmer http://moreati.org.uk/b

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-02-22 Thread Alex Willmer
Alex Willmer added the comment: On 22 Feb 2010, at 21:24, Matthew Barnett wrote: > issue2636-20100222.zip is a new version of the regex module. > > This new version adds reverse searching. > > The 'features' now come in ReStructuredText (.rst) and HTML Thank you

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-02-21 Thread Alex Willmer
Alex Willmer added the comment: On 17 February 2010 19:35, Matthew Barnett wrote: > The main text at http://pypi.python.org/pypi/regex appears to have lost its > backslashes, for example: > >    The Unicode escapes u and U are supported. > > instead of: &g

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-02-17 Thread Alex Willmer
Alex Willmer added the comment: I've packaged this latest revision and uploaded to PyPI http://pypi.python.org/pypi/regex -- ___ Python tracker <http://bugs.python.org/i

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2009-08-17 Thread Alex Willmer
Alex Willmer added the comment: Matthew's 20080915.zip attachment is now on PyPI. This one, having a more complete MANIFEST, will build for people other than me. -- ___ Python tracker <http://bugs.python.org/i

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2009-08-13 Thread Alex Willmer
Alex Willmer added the comment: I've made an installable package of Matthew Barnett's patch. It may get this to a wider audience. http://pypi.python.org/pypi/regex Next I'll look at incorporating Andrew Kuchling's suggestion of the r

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2008-10-18 Thread Alex Willmer
Changes by Alex Willmer <[EMAIL PROTECTED]>: -- nosy: +moreati ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2636> ___ ___ Python