[issue4376] Nested ctypes 'BigEndianStructure' fails

2011-02-23 Thread Jake
Changes by Jake jake.coff...@gmail.com: -- nosy: +Jake.Coffman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4376 ___ ___ Python-bugs-list mailing

[issue4655] setup.py should not use .pydistutils.cfg

2008-12-13 Thread Jake
New submission from Jake jah.mailingl...@gmail.com: When installing python 2.6, I used: ./configure --prefix=/home/name/usr Installation was fine and everything was installed to: ~/usr/lib/python2.6 But the .so files were installed to: ~/usr/lib/python As ~/usr/lib/python

[issue4655] during Python installation, setup.py should not use .pydistutils.cfg

2008-12-13 Thread Jake
Changes by Jake jah.mailingl...@gmail.com: -- title: setup.py should not use .pydistutils.cfg - during Python installation, setup.py should not use .pydistutils.cfg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4655

[issue17196] crash

2013-02-12 Thread jake
New submission from jake: I have had python 3.3.0 on my mac and have been successfully using it for the past few weeks. Today in my class I had the program open and it was running fine. Then suddenly it quit working and shut itself down. I have restarted my machine multiple times

[issue17196] crash

2013-02-12 Thread jake
jake added the comment: Ned, I was starting python from the applications menu and selecting IDLE. I tried both of those commands. Both worked, the first started python in terminal and displayed this message: Last login: Tue Feb 12 16:32:21 on ttys000 localhost:~ jakeflynn$ /usr/local/bin

[issue17196] crash

2013-02-12 Thread jake
jake added the comment: It is working correctly now. Thank you for the help! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17196

[issue4376] Nested ctypes 'BigEndianStructure' fails

2011-07-13 Thread Jake
Changes by Jake jake.coff...@gmail.com: -- nosy: -Jake.Coffman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4376 ___ ___ Python-bugs-list

[issue23522] Misleading note in Statistics module documentation

2015-02-25 Thread Jake
New submission from Jake: In the statistics module documentation, there is a note that states that The mean is strongly affected by outliers and is not a robust estimator for central location: the mean is not necessarily a typical example of the data points. For more robust, although less

[issue42063] More options to http.server & SimpleHTTPRequestHandler

2020-10-17 Thread Jake
New submission from Jake : I would find it useful to have more options to http.server SimpleHTTPRequestHandler: 1) The option to get the current directory in not only HTML, but represented in JSON for example. This could be an added --json flag in the main method of http.server

[issue42004] Allow uploading files with SimpleHTTPRequestHandler

2020-10-18 Thread Jake
Change by Jake : -- nosy: +jacobsorme ___ Python tracker <https://bugs.python.org/issue42004> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42004] Allow uploading files with SimpleHTTPRequestHandler

2020-10-18 Thread Jake
Jake added the comment: I would find this very useful. -- ___ Python tracker <https://bugs.python.org/issue42004> ___ ___ Python-bugs-list mailing list Unsub

[issue5084] unpickling does not intern attribute names

2009-01-27 Thread Jake McGuire
New submission from Jake McGuire j...@youtube.com: Instance attribute names are normally interned - this is done in PyObject_SetAttr (among other places). Unpickling (in pickle and cPickle) directly updates __dict__ on the instance object. This bypasses the interning so you end up with many

[issue5084] unpickling does not intern attribute names

2009-01-27 Thread Jake McGuire
Changes by Jake McGuire j...@youtube.com: Added file: http://bugs.python.org/file12880/pickle.py.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5084

[issue5084] unpickling does not intern attribute names

2009-01-27 Thread Jake McGuire
Changes by Jake McGuire j...@youtube.com: Removed file: http://bugs.python.org/file12879/cPickle.c.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5084

[issue5084] unpickling does not intern attribute names

2009-01-27 Thread Jake McGuire
Changes by Jake McGuire j...@youtube.com: Added file: http://bugs.python.org/file12882/cPickle.c.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5084

[issue5084] unpickling does not intern attribute names

2009-01-27 Thread Jake McGuire
Jake McGuire j...@youtube.com added the comment: Are you sure? I may not have enough context in my diff, which I should have done against an anonymous svn checkout, but it looks like the slot attributes get set several lines after my diff. while (PyDict_Next(slotstate, ...)) as opposed

[issue6790] httplib and array do not play together well

2009-08-27 Thread Jake McGuire
New submission from Jake McGuire j...@youtube.com: As of Python 2.6 you can no longer pass an array to httplib.HTTPConnection.send. Issue1065257 added code to httplib to attempt to determine whether a file-like object was passed to certain methods (e.g. send), and to stream the data if so

[issue7427] BadStatusLine is hell to debug

2009-12-04 Thread Jake McGuire
Jake McGuire j...@youtube.com added the comment: I think what's happening is that your connection is being closed due to inactivity, so the status line that comes back is empty. Printing repr(line) would probably make the emptiness clear, but maybe the httplib code should put in a more

[issue5084] unpickling does not intern attribute names

2009-02-24 Thread Jake McGuire
Jake McGuire j...@youtube.com added the comment: The fromstring/asstring dance was due to my incomplete understanding of refcounting. PyDict_Next returns a borrowed reference but PyString_InternInPlace expects an owned reference. Thanks to Kirk McDonald, I have a new patch that does

[issue5084] unpickling does not intern attribute names

2009-02-25 Thread Jake McGuire
Jake McGuire j...@youtube.com added the comment: Ugh. Clearly I didn't check to see if it worked or not, as it didn't even compile. A new diff, tested and verified to work, is attached. I'll work on creating a test. Added file: http://bugs.python.org/file13178/cPickle.c.diff

[issue5084] unpickling does not intern attribute names

2009-02-25 Thread Jake McGuire
Changes by Jake McGuire j...@youtube.com: Removed file: http://bugs.python.org/file12882/cPickle.c.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5084

[issue5084] unpickling does not intern attribute names

2009-02-25 Thread Jake McGuire
Changes by Jake McGuire j...@youtube.com: Removed file: http://bugs.python.org/file13169/cPickle.c.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5084

[issue5084] unpickling does not intern attribute names

2009-05-01 Thread Jake McGuire
Jake McGuire j...@youtube.com added the comment: This fell through the cracks. But the following unit test seems like it does the right thing (fails with the old module, works with the new ones). -- Added file: http://bugs.python.org/file13835/pickletester.diff

[issue21441] Buffer Protocol Documentation Error

2014-05-05 Thread Jake Vanderplas
New submission from Jake Vanderplas: The ``obj`` and ``buf`` structure elements are switched in the documentation of the Buffer Protocol. Compare https://docs.python.org/3.3/c-api/buffer.html#Py_buffer to https://github.com/python/cpython/blob/master/Include/object.h#L179-180

[issue24903] Do not verify destdir argument to compileall

2015-08-20 Thread Jake Garver
New submission from Jake Garver: In compileall.py's main, we verify that the provided destdir (-d) exists at build time. But destdir will commonly be used to override the build time path with a runtime path. That runtime path will usually not exist at build time. Note that this logic

[issue24903] Do not verify destdir argument to compileall

2015-08-21 Thread Jake Garver
Jake Garver added the comment: I agree. I couldn't find a use for the check, so I removed it entirely in the provided patch. I'm running that way now with success, but of course I'm covering just one use case. Digging back a bit further, the isdir() check came in here: https://github.com

[issue24903] Do not verify destdir argument to compileall

2015-08-20 Thread Jake Garver
Jake Garver added the comment: Thanks for the response and sorry for the mis-read. In 2.7, I did something like: python -m compileall -d /runtime/path foo.py But in 3.4, I get: -d destdir requires exactly one directory argument I'm doing this during a build. Then we package the pyc file

[issue25498] Python 3.4.3 core dump with simple sample code

2015-10-28 Thread Jake Montgomery
New submission from Jake Montgomery: We are seeing a consistent "invalid memory access" crash in Python3.4.3. *Test setup* This is occurring on Ubuntu 14.04.1 LTS. It is occurring on multiple unrelated installs, but has not been tested with any other operating system. It occ

[issue24977] shutil copy to non-existant directory

2015-09-01 Thread Jake Howard
New submission from Jake Howard: If you try and copy a file using shutil.copy to a directory that doesnt exist, it tries to copy the file to the location of the directory, and errors as shutil can't open a directory for 'WB' access, throwing an error, that doesnt reflect the problem

[issue24903] Do not verify destdir argument to compileall

2015-09-11 Thread Jake Garver
Jake Garver added the comment: Updated patch. Same as before, but updates tests. Sorry I went MIA on this issue. -- Added file: http://bugs.python.org/file40440/python34_compileall_ddir_2.diff ___ Python tracker <rep...@bugs.python.org>

[issue24324] Remove -Wunreachable-code flag

2016-01-19 Thread Jake Garver
Changes by Jake Garver <j...@garverhouse.org>: Added file: http://bugs.python.org/file41663/Python351-no-unreachable-check.diff ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue30099] Lib2to3 fails with unreadable pickle file

2017-04-18 Thread Jake Merdich
New submission from Jake Merdich: There seem to have been a few issues in the past with creating the lib2to3 pickle files with the right permissions due to umask behavior (#15890). While I'm unaware of the status installer-level fixes have given, it seems prudent that the installed python

[issue30157] csv.Sniffer.sniff() regex error

2017-04-25 Thread Jake Davis
Jake Davis added the comment: Will do! I will try to get a regression proof test into test_csv.py in the next 24 hours. Essentially I will make sure that the sniffer returns a positive match for each of the patterns that the regex is intended to hit

[issue30157] csv.Sniffer.sniff() regex error

2017-04-27 Thread Jake Davis
Jake Davis added the comment: I've added some unittests for Sniffer._guess_quote_and_delimiter(); they should prevent regression. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue30157] csn.Sniffer.sniff() regex error

2017-04-24 Thread Jake Davis
New submission from Jake Davis: Line 220 of Lib/csv.py has an extra `>` in the first group: r'(?P>[^\w\n"\']) -- components: Library (Lib) messages: 292249 nosy: jcdavis1983 priority: normal pull_requests: 1389 severity: normal status: open title: csn.Sniffer.sniff()

[issue31686] GZip library doesn't properly close files

2017-10-03 Thread Jake Lever
New submission from Jake Lever <jake.le...@gmail.com>: The attached code is designed to output compressed data to a gzip file. It creates two GzipFile objects, but only one is really used. It seems that it doesn't clean up and close the file properly. In Py2, the attached code wil

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-04-02 Thread Jake Tesler
Jake Tesler added the comment: *bump* Could someone look into reviewing this bug/PR? Thanks! -- ___ Python tracker <https://bugs.python.org/issue36084> ___ ___

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-02-22 Thread Jake Tesler
New submission from Jake Tesler : This functionality adds a native Thread ID to threading.Thread objects. This ID (TID), similar to the PID of a process, is assigned by the OS (kernel) and is generally used for externally monitoring resources consumed by the running thread (or process

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-10 Thread Jake Tesler
Jake Tesler added the comment: The feature is supported on Windows: the file supporting Windows threading is `thread_nt.h`, not `thread_pthread.h` since Windows doesn't use POSIX-style threads. Also it is different from threading.get_ident() - ident is a Python-issued unique identifier

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-13 Thread Jake Tesler
Jake Tesler added the comment: So where do we go from here? -- ___ Python tracker <https://bugs.python.org/issue36084> ___ ___ Python-bugs-list mailin

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-22 Thread Jake Tesler
Jake Tesler added the comment: In general, I’ve concluded most ‘editions’ of pthread_self() are not the same value as this feature aims to implement. I’m not familiar enough with AIX to be certain about that platform, though. If there’s an equivalent function in AIX to capture the actual

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-22 Thread Jake Tesler
Jake Tesler added the comment: I will look into whether adding thread_self() for AIX would be simple enough for this PR. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-22 Thread Jake Tesler
Jake Tesler added the comment: Victor – the return value of _start_new_thread is the the `ident` parameter, and its not the same as the native id. See here: https://github.com/python/cpython/pull/11993#issuecomment-491544908 -- ___ Python tracker

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-23 Thread Jake Tesler
Jake Tesler added the comment: Michael Felt - If you would like some help with adding/building AIX support for this functionality, tag me, I'd be glad to help out! :) -- ___ Python tracker <https://bugs.python.org/issue36

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-21 Thread Jake Tesler
Jake Tesler added the comment: New PR created with requested edits. :) -- ___ Python tracker <https://bugs.python.org/issue36084> ___ ___ Python-bugs-list mailin

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-21 Thread Jake Tesler
Change by Jake Tesler : -- pull_requests: +13373 ___ Python tracker <https://bugs.python.org/issue36084> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-21 Thread Jake Tesler
Jake Tesler added the comment: Victor Stinner: would you mind taking a look at the new PR? Is this more along the lines of what you had in mind? -- ___ Python tracker <https://bugs.python.org/issue36

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-21 Thread Jake Tesler
Jake Tesler added the comment: I will implement these changes - let’s try to hit that end-of-month target! -- ___ Python tracker <https://bugs.python.org/issue36

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-07-18 Thread Jake Tesler
Change by Jake Tesler : -- pull_requests: +14636 pull_request: https://github.com/python/cpython/pull/14845 ___ Python tracker <https://bugs.python.org/issue36

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-05 Thread Jake Tesler
New submission from Jake Tesler : I have encountered a minor bug with the new `threading.get_native_id()` featureset in Python 3.8. The bug occurs when creating a new multiprocessing.Process object on Unix (or on any platform where the multiprocessing start_method is 'fork' or 'forkserver

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-11-05 Thread Jake Tesler
Change by Jake Tesler : -- status: open -> closed ___ Python tracker <https://bugs.python.org/issue36084> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-05 Thread Jake Tesler
Change by Jake Tesler : -- nosy: +pitrou ___ Python tracker <https://bugs.python.org/issue38707> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-07 Thread Jake Tesler
Jake Tesler added the comment: @vstinner PR created :) https://github.com/python/cpython/pull/17088 -- ___ Python tracker <https://bugs.python.org/issue38

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-10-31 Thread Jake Tesler
Jake Tesler added the comment: I have encountered a minor bug with this new feature. The bug occurs when creating a new multiprocessing.Process object on Unix (or on any platform where the multiprocessing start_method is 'fork' or 'forkserver'). When creating a new process via fork

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-13 Thread Jake Tesler
Jake Tesler added the comment: PR was updated with tests and is ready for core developer review and then the merge to cpython:master. After that (if I understand correctly) a backport will automatically get picked into the 3.8 branch if there aren't any conflicts

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-07 Thread Jake Tesler
Change by Jake Tesler : -- keywords: +patch pull_requests: +16596 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17088 ___ Python tracker <https://bugs.python.org/issu

[issue38891] ShareableList read and write access is O(N), should be O(1)

2019-11-21 Thread Jake Northey
New submission from Jake Northey : For an illustration of the performance implications of the __getitem__ and __setitem__ implementation, see the article below. https://medium.com/@rvprasad/performance-of-system-v-style-shared-memory-support-in-python-3-8-d7a7d1b1fb96 The issue appears

[issue42297] [argparse] Bad error message formatting when using custom usage text

2020-11-09 Thread Jake Hunsaker
Jake Hunsaker added the comment: Ok, yeah there seem to be several paths to avoid this behavior then. We should be fine exploring those options. Thanks for the pointer! -- ___ Python tracker <https://bugs.python.org/issue42

[issue42297] [argparse] Bad error message formatting when using custom usage text

2020-11-09 Thread Jake Hunsaker
Jake Hunsaker added the comment: Ah, ok - so I neglected to mention we're using subparsers which appears to be relevant here. My apologies. Here's a minimal reproducer that shows the behavior when using './arg_test.py foo --bar=on' ``` #! /bin/python3 import argparse usage_string = 'test

[issue42297] [argparse] Bad error message formatting when using custom usage text

2020-11-09 Thread Jake Hunsaker
Jake Hunsaker added the comment: I'll try and get a simple reproducer made shortly, however as a quick note I've found that using '--all-logs on' results in a properly formatted error message. -- ___ Python tracker <https://bugs.python.

[issue42297] [argparse] Bad error message formatting when using custom usage text

2020-11-09 Thread Jake Hunsaker
New submission from Jake Hunsaker : In the sos project, we build a custom `usage` string for our argparser parser, and have noticed that doing so causes error messages from argparse to be badly formatted. For example if a bad option value is given, the error message is mangled into the last

[issue43391] The comments have invalid license information (broken Python 2.4 URL for Python 3)

2021-03-03 Thread Jake Gustafson
New submission from Jake Gustafson : Steps to reproduce the issue: - Run Python 3.7.3 (or later, possibly) with the following code: import subprocess import inspect with open("subprocess-py3.py", 'w') as outs: outs.write(inspect.getsource(subprocess).replace

[issue43391] The comments have invalid license information (broken Python 2.4 URL for Python 3)

2021-03-03 Thread Jake Gustafson
Jake Gustafson added the comment: *significantly different even than Python 2.7.16's. -- ___ Python tracker <https://bugs.python.org/issue43391> ___ ___ Pytho

[issue35183] os.path.splitext documentation needs typical example

2021-07-21 Thread Jake Stockwin
Jake Stockwin added the comment: Hello, I would like to submit a PR for this. It'll be my first contribution to cPython and I am slightly unclear if this suggestion has been "accepted" in some sense (i.e. do the Devs agree it should be fixed as suggested)? If so, I will go ahead

[issue35183] os.path.splitext documentation needs typical example

2021-07-22 Thread Jake Stockwin
Change by Jake Stockwin : -- keywords: +patch pull_requests: +25828 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27286 ___ Python tracker <https://bugs.python.org/issu

[issue35183] os.path.splitext documentation needs typical example

2021-07-22 Thread Jake Stockwin
Jake Stockwin added the comment: Thanks for the info, @jack__d - very helpful. I have now submitted a PR for this and will await a review. Let me know if anything else is needed. -- ___ Python tracker <https://bugs.python.org/issue35