[issue43574] Regression in overallocation for literal list initialization in v3.9+

2021-04-03 Thread Chad Netzer
Chad Netzer added the comment: For bpo-43574, my initial plan was to change list_resize() so that it wouldn't overallocate empty lists that were resized to be bigger, thus restoring the overallocation behavior for list-literals to be like that of earlier Python releases. However

[issue43574] Regression in overallocation for literal list initialization in v3.9+

2021-03-20 Thread Chad Netzer
Change by Chad Netzer : -- keywords: +patch pull_requests: +23712 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24954 ___ Python tracker <https://bugs.python.org/issu

[issue43574] Regression in overallocation for literal list initialization in v3.9+

2021-03-20 Thread Chad Netzer
New submission from Chad Netzer : In Python v3.9+ there was a regression in the amount of used memory for list-literals, due to switching to using list_extend() to allocate memory for the new list to accomodate the literal elements. Example, in Python v3.8.x (and before): ``` $ python38 Python

[issue41663] Support Windows pseudoterminals in pty and termios modules

2020-08-29 Thread Chad Smith
New submission from Chad Smith : The pty and termios modules do not support Windows. Current Python pty documentation suggest Windows might be supported: > The Linux code is supposed to work on other platforms, but hasn’t been tested > yet. but I have confirmed that it is not while

[issue41151] Support for new Windows pseudoterminals in the subprocess module

2020-08-26 Thread Chad Smith
Change by Chad Smith : -- nosy: +cs01 ___ Python tracker <https://bugs.python.org/issue41151> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33082] multiprocessing docs bury very important 'callback=' args

2018-04-11 Thread Chad
Change by Chad <millc...@amazon.com>: -- pull_requests: +6150 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33082> ___ __

[issue33082] multiprocessing docs bury very important 'callback=' args

2018-03-22 Thread Chad
Chad <millc...@amazon.com> added the comment: On topic: My CLA is signed as of Monday, 19 March. My status here is not updated yet. pitrou, off-topic: Without callbacks, users who want multiprocessing functions to return something, not just mutate state somewhere else, must gathe

[issue33082] multiprocessing docs bury very important 'callback=' args

2018-03-15 Thread Chad
Change by Chad <millc...@amazon.com>: -- keywords: +patch pull_requests: +5886 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue33082] multiprocessing docs bury very important 'callback=' args

2018-03-15 Thread Chad
Chad <millc...@amazon.com> added the comment: https://github.com/chadmiller-amzn/cpython/pull/1 (Putting that in "GitHub PR" field says "Edit Error: Unknown PR format, acceptable formats are: full github URL, #pr_number, pr_number") -- version

[issue33082] multiprocessing docs bury very important 'callback=' args

2018-03-15 Thread Chad
New submission from Chad <millc...@amazon.com>: Callbacks are really important in multiprocessing. Doc writer almost ignores them. -- assignee: docs@python components: Documentation messages: 313905 nosy: chadmiller-amzn, docs@python priority: normal severity: normal status: open

[issue25833] pyvenv: venvs cannot be moved because activate scripts hard-code paths

2015-12-10 Thread Chad Moore
New submission from Chad Moore: venv/bin/activate contains an absolute path to the virtual environment. Is it possible to make that relative from activate itself so that the entire venv can be moved elsewhere and still work? I found this using Jenkins to get a Perforce workspace, then build

[issue11315] Fix type regression in http.cookies.load (want bytes, not str)

2015-10-30 Thread Chad Whitacre
Chad Whitacre added the comment: Here's a patch with a couple failings tests for the type regression in 3.x. -- Added file: http://bugs.python.org/file40901/failing-tests-for-type-regression.patch ___ Python tracker <rep...@bugs.python.org>

[issue11315] Fix type regression in http.cookies.load (want bytes, not str)

2015-10-30 Thread Chad Whitacre
Changes by Chad Whitacre <c...@zetaweb.com>: -- title: Fix/add unicode support in Cookie module? -> Fix type regression in http.cookies.load (want bytes, not str) versions: +Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 -Py

[issue11315] Fix/add unicode support in Cookie module?

2015-10-30 Thread Chad Whitacre
Chad Whitacre added the comment: > in the 3.x version, only character strings (unicode) are accepted > The code was changed to do this in r83361 #3788. That seems like a bug to me. It looks like the intention was to avoid the `type("")` check for stylistic reasons, so `isinsta

[issue11315] Fix type regression in http.cookies.load (want bytes, not str)

2015-10-30 Thread Chad Whitacre
Chad Whitacre added the comment: Here's a patch that fixes the two new failing tests. Now a bunch of other tests are busted. :-) -- Added file: http://bugs.python.org/file40903/fix-the-two-new-tests.patch ___ Python tracker <rep...@bugs.python.

[issue11315] Fix type regression in http.cookies.load (want bytes, not str)

2015-10-30 Thread Chad Whitacre
Chad Whitacre added the comment: Here's a start on converting to bytes everywhere for cookies. I'm not sure I fully understand the library's original worldview on type conversion. There's a value_{decode,encode} facility, and in the test suite attribute values in particular are often not even

[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?

2013-12-23 Thread Chad Birch
New submission from Chad Birch: I'm not sure if this is something that needs adjustment, but it seems somewhat inconsistent to me. After using urlparse() on various urls with invalid port values, trying to access .port on the result will raise a ValueError. This case includes urls

[issue1669349] make install fails if no previous Python installation

2011-09-07 Thread Chad Whitacre
Chad Whitacre c...@zetaweb.com added the comment: I am seeing this behavior with 2.7.1. -- nosy: +whit537 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1669349

[issue1449496] Python should use 3GB Address Space on Windows

2011-05-19 Thread Chad Austin
Chad Austin c...@imvu.com added the comment: IMVU's downloadable client is built atop CPython. 80% of our users use 32-bit Windows and 20% use 64-bit Windows. We do not intend to provide 64-bit builds of our application for many of the same reasons sketched out in http://blogs.msdn.com/b

[issue7595] Doc typo for select.kevent()

2009-12-29 Thread Chad Whitacre
New submission from Chad Whitacre c...@zetaweb.com: I believe the default flags argument to select.kevent() should be given as KQ_EV_ADD, not KQ_ADD. http://docs.python.org/dev/py3k/library/select.html -- assignee: georg.brandl components: Documentation, Library (Lib) messages: 96996

[issue1068268] subprocess is not EINTR-safe

2009-08-12 Thread Chad Miller
Chad Miller pyt...@chad.org added the comment: File /home/cmiller/work/cabzr/desktopcouch/getport-at-call-time/desktopcouch/start_local_couchdb.py, line 93, in run_couchdb retcode = subprocess.call(local_exec) File /usr/lib/python2.6/subprocess.py, line 444, in call return Popen

[issue4539] askdirectory() in tkinter.filedialog is broken

2008-12-04 Thread Chad Spratt
New submission from Chad Spratt [EMAIL PROTECTED]: Calls to tkinter.filedialog.askdirectory() throw a KeyError if any of the options (title, text, bitmap, default, strings) are not provided. Previously saying askdirectory() with no arguments would open a file browser window. Since all other

[issue1537] Change GeneratorExit's base class from Exception to BaseException

2007-12-03 Thread Chad Austin
Chad Austin added the comment: Fantastic, thank you! __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1537 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1537] Change GeneratorExit's base class from Exception to BaseException

2007-12-02 Thread Chad Austin
Chad Austin added the comment: The mailing list discussion continues... in the meantime, I will update the patch with your suggestions. Can you describe to me what should change in Doc/reference/ expressions.rst? It makes sense to remove the section in the example that says you should never

[issue1537] Change GeneratorExit's base class from Exception to BaseException

2007-12-02 Thread Chad Austin
Chad Austin added the comment: New patch... Added file: http://bugs.python.org/file8855/GeneratorExit-BaseException-2.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1537 __ GeneratorExit-BaseException-2.patch

[issue1537] Change GeneratorExit's base class from Exception to BaseException

2007-12-01 Thread Chad Austin
New submission from Chad Austin: Per discussion at http://mail.python.org/pipermail/python-dev/2007- December/075498.html, this patch changes GeneratorExit's base class from Exception to BaseException. I updated the tests and documentation, but I may have missed any other discussion