[issue22942] Language Reference - optional comma

2014-11-25 Thread Jordan
New submission from Jordan: # I would like to report three bugs in the # Language Reference Python 3.4.2 # # bug 1: Typo in parameter_list # # # In 8.6 the rule for parameter_list should be corrected: The first "|"

[issue22948] Integer type and __add__

2014-11-26 Thread Jordan
Jordan added the comment: >1.< is lexed as a float constant >>> 1. 1.0 >>> 1.0.__add__(2) 3.0 >>> 1 .__add__(2) 3 Not sure how to procede -- nosy: +jordan ___ Python tracker &

[issue46157] Typo in JSON documentation

2021-12-22 Thread Jordan Bonecutter
New submission from Jordan Bonecutter : In this doc: https://docs.python.org/3/library/json.html#json.dump The section on check_circular has a typo: ...a circular reference will result in an RecursionError => a RecursionError -- assignee: docs@python components: Documentat

[issue12042] What's New multiprocessing example error

2011-05-23 Thread Jordan Stadler
Jordan Stadler added the comment: Alright, should it be closed if we aren't going to touch it? -- ___ Python tracker <http://bugs.python.org/issue12042> ___ ___

[issue12042] What's New multiprocessing example error

2011-05-26 Thread Jordan Stadler
Changes by Jordan Stadler : Added file: http://bugs.python.org/file22127/issue12042_31.patch ___ Python tracker <http://bugs.python.org/issue12042> ___ ___ Python-bug

[issue12042] What's New multiprocessing example error

2011-05-26 Thread Jordan Stadler
Changes by Jordan Stadler : Added file: http://bugs.python.org/file22128/issue12042_32.patch ___ Python tracker <http://bugs.python.org/issue12042> ___ ___ Python-bug

[issue12042] What's New multiprocessing example error

2011-05-26 Thread Jordan Stadler
Jordan Stadler added the comment: Alright, patches are up for 3.1 and 3.2. I'm not sure if I can just make one for the 3.x's so I made both. -- ___ Python tracker <http://bugs.python.o

[issue12042] What's New multiprocessing example error

2011-05-26 Thread Jordan Stadler
Jordan Stadler added the comment: To be honest, I'm getting a bit confused as to what is required. I thought the two most important patches would be 2.7 and 3.2, but we have 2.7, 3.1, 3.2, and 3.3 listed as versions affected. I posted the patch for 2.7 originally on May 14th. I'

[issue12042] What's New multiprocessing example error

2011-05-27 Thread Jordan Stadler
Jordan Stadler added the comment: Alright, thanks for the clarification, that's pretty much how I thought it worked. Patches supplied should be good then. -- ___ Python tracker <http://bugs.python.org/is

[issue12867] linecache.getline() Returning Error

2011-08-30 Thread Jordan Meyer
New submission from Jordan Meyer : In trying to use the linecache.getline() function to extra data from a plain-text database format that I'm building. Every time I make a call to it (even from the interpreter directly) I get an error like the one below. I believe the problem lies i

[issue9668] strings in json.dump in '' instead of ""

2010-08-24 Thread Jordan Szubert
Jordan Szubert added the comment: could not reproduce: Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from cStringIO import

[issue8824] Improve documentation of exec

2011-05-10 Thread Jordan Stadler
Jordan Stadler added the comment: I'm going to update the documentation to include the scope information. Should be done within a day. -- nosy: +jstadler ___ Python tracker <http://bugs.python.org/i

[issue8824] Improve documentation of exec

2011-05-10 Thread Jordan Stadler
Changes by Jordan Stadler : -- keywords: +patch Added file: http://bugs.python.org/file21960/exec_doc_touchup_2_x.patch ___ Python tracker <http://bugs.python.org/issue8

[issue8824] Improve documentation of exec

2011-05-10 Thread Jordan Stadler
Changes by Jordan Stadler : Added file: http://bugs.python.org/file21961/exec_doc_touchup_3_x.patch ___ Python tracker <http://bugs.python.org/issue8824> ___ ___ Pytho

[issue8824] Improve documentation of exec

2011-05-10 Thread Jordan Stadler
Jordan Stadler added the comment: Patches for 2.x and 3.x documentation related to 'exec'. 2.x Provides more information about scopes when using additional expressions for 'exec'. 2.x documentation for 'exec' is found in reference/simple_stmts. 3.x P

[issue8824] Improve documentation of exec

2011-05-12 Thread Jordan Stadler
Changes by Jordan Stadler : Removed file: http://bugs.python.org/file21961/exec_doc_touchup_3_x.patch ___ Python tracker <http://bugs.python.org/issue8824> ___ ___ Pytho

[issue8824] Improve documentation of exec

2011-05-12 Thread Jordan Stadler
Changes by Jordan Stadler : Added file: http://bugs.python.org/file21981/exec_doc_touchup_3.x.patch ___ Python tracker <http://bugs.python.org/issue8824> ___ ___ Pytho

[issue8824] Improve documentation of exec

2011-05-12 Thread Jordan Stadler
Changes by Jordan Stadler : Added file: http://bugs.python.org/file21982/exec_doc_touchup_2.x.patch ___ Python tracker <http://bugs.python.org/issue8824> ___ ___ Pytho

[issue8824] Improve documentation of exec

2011-05-12 Thread Jordan Stadler
Jordan Stadler added the comment: I've updated the 3.x patch, should be correct now. I also updated the 2.x patch to use ``in``. :keyword:`in` was used in an earlier part of the paragraph I modified, so I have changed both for consistency. This is the paragraph before modification: &

[issue8824] Improve documentation of exec

2011-05-12 Thread Jordan Stadler
Changes by Jordan Stadler : Removed file: http://bugs.python.org/file21960/exec_doc_touchup_2_x.patch ___ Python tracker <http://bugs.python.org/issue8824> ___ ___ Pytho

[issue12042] What's New multiprocessing example error

2011-05-13 Thread Jordan Stadler
Jordan Stadler added the comment: I'll prepare the patch if davipo doesn't want to. I'm trying to become more comfortable with the patching process and this seems simple enough for me to handle. -- nosy: +jstadler ___ Python

[issue12042] What's New multiprocessing example error

2011-05-14 Thread Jordan Stadler
Changes by Jordan Stadler : -- keywords: +patch Added file: http://bugs.python.org/file22002/issue12042_2.7.patch ___ Python tracker <http://bugs.python.org/issue12

[issue12042] What's New multiprocessing example error

2011-05-14 Thread Jordan Stadler
Jordan Stadler added the comment: Patch is up for 2.7, minor change in the documentation. -- ___ Python tracker <http://bugs.python.org/issue12042> ___ ___ Pytho

[issue7887] errno 107 socket.recv issure

2010-02-08 Thread Jordan Apgar
New submission from Jordan Apgar : I have a simple tcp server and client where the server sits and waits for a message and then processes it, my client sends its first message to the server. On the server I receive: socket.error: [Errno 107] Transport endpoint is not connected when calling

[issue7887] errno 107 socket.recv issure

2010-02-09 Thread Jordan Apgar
Jordan Apgar added the comment: Sorry I was under the impression this was an issue with the socket module -- ___ Python tracker <http://bugs.python.org/issue7

[issue37179] asyncio loop.start_tls() provide support for TLS in TLS

2021-04-12 Thread Jordan Borean
Jordan Borean added the comment: I'm looking through the PR https://github.com/python/cpython/pull/17975 and it doesn't look like it addresses this particular problem. The code for start_tls https://github.com/python/cpython/blob/d2a8e69c2c605fbaa3656a5f99aa8d295f74c80e/L

[issue37179] asyncio loop.start_tls() provide support for TLS in TLS

2021-04-13 Thread Jordan Borean
Jordan Borean added the comment: Fantastic thanks, I'll keep watching the issue in the background as it sounds like it's under control. -- ___ Python tracker <https://bugs.python.o

[issue37179] asyncio loop.start_tls() provide support for TLS in TLS

2021-05-29 Thread Jordan Borean
Change by Jordan Borean : -- pull_requests: +25050 pull_request: https://github.com/python/cpython/pull/26454 ___ Python tracker <https://bugs.python.org/issue37

[issue44356] Abstract enum mixins not allowed

2021-06-08 Thread Jordan Ephron
New submission from Jordan Ephron : Prior to 3.8 it was possible to create "abstract" enums (without members) and mix them together. To motivate with an example, perhaps we're modeling an API and want to be robust in the face of inconsistent casing class CaseInsensitiveSt

[issue44356] Abstract enum mixins not allowed

2021-06-09 Thread Jordan Ephron
Jordan Ephron added the comment: > But what is an `UnexpectedString()` Sorry, that’s maybe less relevant to the example. It’s just a subclass of string with some marker to make it detectable later on, similar to schemes that taint user input to prevent sql injection or whatever > On

[issue44356] Abstract enum mixins not allowed

2021-06-09 Thread Jordan Ephron
Jordan Ephron added the comment: Oh, on further investigation I see that the example wouldn't have worked on 3.8 anyway, due to issue34536 adding some checks to the type returned by _missing_, so maybe I'm pushing Enum too far in

[issue44356] Abstract enum mixins not allowed

2021-06-11 Thread Jordan Ephron
Jordan Ephron added the comment: On 10.06.2021 15:33, Ethan Furman wrote: >Since I like puzzles, here is a working LenientStrEnum: >... Oh indeed, that's really cool! -- title: Multiple enum mixins not allowed even when they have the same datatype -> Abstract enum mixi

[issue44356] Multiple enum mixins not allowed even when they have the same datatype

2021-06-11 Thread Jordan Ephron
Jordan Ephron added the comment: Oops, still getting used to the Python mailing list format. Learned something new! Thanks for all your awesome work on Python. On 11.06.2021 08:19, Ethan Furman wrote: > >Ethan Furman added the comment: > >Glad you like it! > >Please don&

[issue45018] Pickling a range iterator with an index of over sizeof(int) stores an invalid index

2021-08-26 Thread Jordan Limor
Change by Jordan Limor : -- keywords: +patch nosy: +chilaxan nosy_count: 1.0 -> 2.0 pull_requests: +26424 pull_request: https://github.com/python/cpython/pull/27938 ___ Python tracker <https://bugs.python.org/issu

[issue37179] asyncio loop.start_tls() provide support for TLS in TLS

2021-08-30 Thread Jordan Borean
Change by Jordan Borean : -- pull_requests: +26517 pull_request: https://github.com/python/cpython/pull/28073 ___ Python tracker <https://bugs.python.org/issue37

[issue43431] Subprocess timeout causes output to be returned as bytes in text mode

2021-03-07 Thread Jordan Macdonald
New submission from Jordan Macdonald : Passing the argument `text=True` to `subprocess.run()` is supposed to mean that any captured output of the called process is automatically decoded and retuned to the user as test instead of bytes. However, if you give a timeout and that timeout expires

[issue43431] Subprocess timeout causes output to be returned as bytes in text mode

2021-03-08 Thread Jordan Macdonald
Jordan Macdonald added the comment: Eryk Sun: Well, I think step 1 should be to update the documentation for Python 3.7 through 3.10 on `subprocess.run()` and `subprocess.TimeoutExpired` to clearly state that `TimeoutExpired.stdout` and `TimeoutExpired.stderr` will be in bytes format even

[issue41325] Document addition of `mock.call_args.args` and `mock.call_args.kwargs` in 3.8

2020-07-17 Thread Jordan Speicher
New submission from Jordan Speicher : `args` and `kwargs` were added to unittest `mock.call_args` in https://bugs.python.org/issue21269 however documentation was not updated to state that this was added in python 3.8 -- assignee: docs@python components: Documentation messages: 373839

[issue41325] Document addition of `mock.call_args.args` and `mock.call_args.kwargs` in 3.8

2020-07-17 Thread Jordan Speicher
Change by Jordan Speicher : -- keywords: +patch pull_requests: +20662 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21525 ___ Python tracker <https://bugs.python.org/issu

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2020-11-04 Thread Jordan Williams
Jordan Williams added the comment: This issue took me a long time to diagnose when attempting to decompress a bzip2-compressed tarball. This occurs with Python 3.9.0. Since I was using asdf, which uses Pyenv internally, to build and manage my Python version, I failed to notice it was

[issue35692] pathlib.Path.exists() on non-existent drive raises WinError instead of returning False

2019-01-08 Thread Jordan Hueckstaedt
New submission from Jordan Hueckstaedt : Tested in 3.7.0 on windows 10. This looks related to https://bugs.python.org/issue22759 >>> import pathlib >>> pathlib.Path(r"E:\Whatever\blah.txt").exists() # This drive doesn't exist Traceback (most recent call las

[issue30001] CPython contribution docs reference missing /issuetracker page

2017-04-05 Thread AJ Jordan
New submission from AJ Jordan: https://cpython-devguide.readthedocs.io/pullrequest.html#licensing (and presumably other pages in this project) references https://cpython-devguide.readthedocs.io/issuetracker, but this page returns 404 Not Found. -- assignee: docs@python components

[issue30001] CPython contribution docs reference missing /issuetracker page

2017-04-06 Thread Alex Jordan
Alex Jordan added the comment: Filed https://github.com/python/devguide/issues/156. Sorry for the noise! I just assumed everything went through bpo. Guess not :) -- ___ Python tracker <http://bugs.python.org/issue30

[issue36621] shutil.rmtree follows junctions on windows

2019-04-12 Thread Jordan Hueckstaedt
New submission from Jordan Hueckstaedt : shutil.rmtree follows junctions / reparse points on windows and will delete files in the target link directory. -- components: IO, Windows messages: 340111 nosy: Jordan Hueckstaedt, paul.moore, steve.dower, tim.golden, zach.ware priority

[issue30256] Adding a SyncManager Queue proxy to a SyncManager dict or Namespace proxy raises an exception

2017-12-12 Thread Jordan Speicher
Change by Jordan Speicher : -- keywords: +patch pull_requests: +4709 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue30256> ___ ___ Py

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
New submission from Daiderd Jordan : I can't really figure out why, but the import in posixmodule.c seems to get skipped since python 3.7. The condition doesn't look entirely correct in case libutil.h is also available on macOS, however this has not changed since 3.6 and it w

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
Change by Daiderd Jordan : -- keywords: +patch pull_requests: +7664 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34027> ___ ___ Py

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
Daiderd Jordan added the comment: This is a build using the nix package manager, we use all of the opensource components provided by apple instead of relying on xcode. The libutil.h that's found in this case is the one from the 10.11.6 sources. https://opensource.apple.com/source/li

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
Daiderd Jordan added the comment: The headers end up in the build environment because of Libsystem which is part of our base environment. But yes, this is also the case with 3.6 and that builds just fine so I'm not sure why it's failing now. These are the logs from our build s

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
Daiderd Jordan added the comment: Oh interesting, so it only used to worked by accident. I should have looked at the 3.6 log more closely. -- ___ Python tracker <https://bugs.python.org/issue34

[issue34027] python 3.7 openpty/forkpty build failure using nix package manager macOS environment

2018-07-02 Thread Daiderd Jordan
Daiderd Jordan added the comment: Even tho it's headers are not /usr/lib/libutil.dylib is available on every macOS system. Unlike on bsd this doesn't include the relevant symbols for openpty/forkpty, that's why I used an __APPLE__ condition but including both also works fine

[issue34027] python 3.7 openpty/forkpty build failure using nix package manager macOS environment

2018-07-03 Thread Daiderd Jordan
Daiderd Jordan added the comment: Either patch looks fine to me, should I close the pull request? -- ___ Python tracker <https://bugs.python.org/issue34

[issue32117] Tuple unpacking in return and yield statements

2018-09-14 Thread Jordan Chapman
Jordan Chapman added the comment: BFDL approval: https://mail.python.org/pipermail/python-dev/2017-November/150842.html -- nosy: +Jordan Chapman ___ Python tracker <https://bugs.python.org/issue32

[issue32117] Tuple unpacking in return and yield statements

2018-09-15 Thread Jordan Chapman
Jordan Chapman added the comment: Here's my GitHub account: I'll make the changes and rebase as soon as I get home. -- ___ Python tracker <https://bugs.python.o

[issue32117] Tuple unpacking in return and yield statements

2018-09-15 Thread Jordan Chapman
Jordan Chapman added the comment: Sorry, I could have sworn that I pasted my link... https://github.com/jChapman -- ___ Python tracker <https://bugs.python.org/issue32

[issue32117] Tuple unpacking in return and yield statements

2018-09-21 Thread Jordan Chapman
Change by Jordan Chapman : -- pull_requests: +8897 ___ Python tracker <https://bugs.python.org/issue32117> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18229] attribute headers of http.server.BaseHTTPRequestHandler sometimes does not exists

2013-06-16 Thread Jordan Szubert
New submission from Jordan Szubert: it seems that problem is someone connecting to port 8080 with non-http client, could not find warning in documentation ---fragment of `less access.log` 81.172.30.254 - - [16/Jun/2013 11:36:58] "^SBitTorrent protocol^@^@^@^@^@^X

[issue18229] attribute headers of http.server.BaseHTTPRequestHandler sometimes does not exists

2013-10-06 Thread Jordan Szubert
Jordan Szubert added the comment: what _lowerHTTP does is try read request header 'X-Forwarded-For', but instance of request handler have attribute headers only if thing that connected to port where server listens happened to send valid enough http request my problem is, document

[issue18229] attribute headers of http.server.BaseHTTPRequestHandler sometimes does not exists

2013-10-06 Thread Jordan Szubert
Jordan Szubert added the comment: #minimal server: #!/c/Python33/python.exe from http.server import HTTPServer as S, BaseHTTPRequestHandler as H class HNDL(H): def log_request(req,code): print('header is',req.headers.get('X-Forwarder-For&#

[issue6448] imp.find_module() -- be explicity that 'path' must be a list

2009-07-09 Thread Jordan Bettis
New submission from Jordan Bettis : Hi. I just spent a while fighting with imp.find_module because I was trying to pass the path as a string, rather than a string embedded in a list: result = find_module('mod', '/path') rather than result = find_module('mod&#

[issue8538] Add ConfigureAction to argparse

2010-08-09 Thread Jeremiah Jordan
Jeremiah Jordan added the comment: I think this should be updated so that nargs=0 is allowed, so that you can only do --foo/--no-foo and don't clutter up the help/interface with --foo [FOO] --no-foo=[FOO] You can do this by adding nargs to the ConfigureAction.__init__ and passing

[issue27715] call-matcher breaks if a method is mocked with spec=True

2017-02-02 Thread jordan-pittier
jordan-pittier added the comment: I stumbled onto this today. I can confirm the issue. -- nosy: +jordan-pittier ___ Python tracker <http://bugs.python.org/issue27

[issue28443] Logger methods never use kwargs

2016-10-14 Thread Jordan Brennan
New submission from Jordan Brennan: The methods on the Logger class e.g. logger.debug all accept **kwargs, these are passed to the _log method but they are never used. If _log attached them as an attribute to the LogRecord object, it would allow for creation of more powerful Filter objects to

[issue28443] Logger methods never use kwargs

2016-10-14 Thread Jordan Brennan
Changes by Jordan Brennan : -- components: -Argument Clinic ___ Python tracker <http://bugs.python.org/issue28443> ___ ___ Python-bugs-list mailing list Unsub

[issue28443] Logger methods never use kwargs

2016-10-14 Thread Jordan Brennan
Changes by Jordan Brennan : -- components: +Library (Lib) ___ Python tracker <http://bugs.python.org/issue28443> ___ ___ Python-bugs-list mailing list Unsub