[issue45328] http.client.HTTPConnection doesn't work without TCP_NODELAY

2021-09-30 Thread R
New submission from R : I'm working on trying to run python under SerenityOS. At the moment, SerenityOS doesn't implement the TCP_NODELAY socket option. This makes the HTTPConnection.connect() method raise an OSError for an operation that is otherwise optional. Additionally, the

[issue45386] xmlrpc.client unimportable due to strfmt ValueError

2021-10-05 Thread R
New submission from R : This is a problem caused by https://bugs.python.org/issue13305. When running python in SerenityOS (https://serenityos.org/), the xmlrpc.client module fails to be imported. This is because the code that decides which format to use for getting 4-digit years, which

[issue1354] windows installer problem

2007-10-29 Thread Raja R
New submission from Raja R: Hi, I downloaded the python-2.5.msi yesterday and tried installing it but i am getting the following error "This installation package could not be opened . cOntact the application vendor to verify that this is a valid WIndows Installer package." I w

[issue13206] while loop vs for loop test

2011-10-17 Thread R Blackmore
New submission from R Blackmore : Using Python 3.2.2 on Windows 7 See attached file Was having problem with a program I was doing... couldn't get around issue unless I changed from "while" loop to "for" loop... WTF??? So restarted computer and then Python Shell and I

[issue13206] while loop vs for loop test

2011-10-17 Thread R Blackmore
R Blackmore added the comment: for loop works correctly prints divisor 1 divisor 2 divisor 5 (original post incorrectly listed divisor 3,) -- ___ Python tracker <http://bugs.python.org/issue13

[issue13206] while loop vs for loop test

2011-10-18 Thread R Blackmore
R Blackmore added the comment: I knew it was late... Should have slept on it Thanks --- On Tue, 10/18/11, Mark Dickinson wrote: > From: Mark Dickinson > Subject: [issue13206] while loop vs for loop test > To: squan...@yahoo.com > Date: Tuesday, October 18, 2011, 12:13

[issue3550] Socket Python 3k Documentation failure OR Unicode string is not supported with socket.send

2008-08-13 Thread Andrew R.
New submission from Andrew R. <[EMAIL PROTECTED]>: I am confused by the socket docs for Python 3000. It says to pass a string through socket.send or socket.sendall, however, it does not seem to account for the ASCII to Unicode transition. Trying to send an ordinary Python 3k string t

[issue3550] Socket Python 3k Documentation mistake OR Unicode string is not supported with socket.send

2008-08-13 Thread Andrew R.
Andrew R. <[EMAIL PROTECTED]> added the comment: http://docs.python.org/dev/3.0/library/socket.html The examples at the bottom also add to the confusion. Also, changed title to be friendlier (failure? Mistake, more likely) and changed type to no selection. -- title: Socket Pyt

[issue35737] crypt AuthenticationError introduced with new Linux kernel

2019-08-30 Thread Brett R
Brett R added the comment: I'm marking this closed. We're past the issue, and won't be providing any more details or chasing this further. Feel free to reopen if others want to push it. Thanks for the tips. -- stage: -> resolved stat

[issue45616] Python Launcher Matches 3.10 instead of 3.1

2021-10-26 Thread Gabe R.
New submission from Gabe R. : I have both Python 3.1-64 and 3.10-64 installed on the same Windows machine. If I attempt to launch Python 3.1 using the command `py -3.1-64`, the launcher incorrectly starts Python 3.10. -- components: Windows messages: 405054 nosy: Marsfan, paul.moore

[issue40907] cpython/queue.py: put() does not acquire not_empty lock before notifying on it

2020-06-08 Thread r n
Change by r n : -- components: Library (Lib) nosy: r n2 priority: normal severity: normal status: open title: cpython/queue.py: put() does not acquire not_empty lock before notifying on it type: behavior versions: Python 3.8 ___ Python tracker

[issue40907] cpython/queue.py: put() does not acquire not_empty lock before notifying on it

2020-06-08 Thread r n
Change by r n : -- versions: +Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue40907> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40907] cpython/queue.py: put() does not acquire not_empty before notifying on it

2020-06-08 Thread r n
Change by r n : -- title: cpython/queue.py: put() does not acquire not_empty lock before notifying on it -> cpython/queue.py: put() does not acquire not_empty before notifying on it ___ Python tracker <https://bugs.python.org/issu

[issue40907] cpython/lib/queue.py: put() does not acquire not_empty before notifying on it

2020-06-08 Thread r n
Change by r n : -- nosy: +rhettinger -r n2 title: cpython/queue.py: put() does not acquire not_empty before notifying on it -> cpython/lib/queue.py: put() does not acquire not_empty before notifying on it ___ Python tracker <

[issue40907] cpython/lib/queue.py: put() does not acquire not_empty before notifying on it

2020-06-09 Thread r n
Change by r n : -- versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/issue40907> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40907] cpython/lib/queue.py: put() does not acquire not_empty before notifying on it

2020-06-09 Thread r n
r n added the comment: Thanks for the response. However, if you see, every condition object has their own queue of waiters in self._waiters, that get notified during notify(), which are different for not_empty and not_full. I see a hang very very rarely, like 1/25 times, in my program, which

[issue40907] cpython/lib/queue.py: put() does not acquire not_empty before notifying on it

2020-06-09 Thread r n
r n added the comment: Sorry, please ignore my previous comment, I can see that the issue is not in the queue, but probably be somewhere in my setup. I'll close this bug therefore. Thanks again for the clarification. -- resolution: -> not a bug stage: -> resolved s

[issue41683] Python3: Installation error on Ubunti-18

2020-08-31 Thread Prasanth R
New submission from Prasanth R : Got this error on Ubuntu-18 alone ``` _PYTHON_PROJECT_BASE=python3-3.8.3/Python-3.8.3 _PYTHON_HOST_PLATFORM=linux-x86_64 PYTHONPATH=python3-3.8.3/Python-3.8.3/build/lib.linux-x86_64-3.8/sysconfigdata:./Lib _PYTHON_SYSCONFIGDATA_NAME

[issue41948] Runtime error while trying to use Python3.9 with virtualenv

2020-10-05 Thread Abhi R
New submission from Abhi R : I tried to create a new virtual environment using virtualenv and the newly released Python3.9 version and I got a runtime error saying " failed to find interpreter for Builtin discover of python_spec='python3.9'". -- components: In

[issue42313] rstrip removes the trailing `e`s.

2020-11-10 Thread Athul R
New submission from Athul R : rstrip removes the trailing `e`s. i = "external_e_object" i = i.rstrip('_object') print(i) """ It should have printed `external_e` but it prints only `external_`. """ It happens only w

[issue35737] crypt AuthenticationError introduced with new Linux kernel

2019-01-14 Thread Brett R
New submission from Brett R : We are seeing a crash apparently in crypt.py when invoked via SaltStack and have narrowed it down to some change in the Linux kernel introduced by this security update: https://access.redhat.com/errata/RHSA-2018:3083 Linux kernel 3.10.0-862.14.4.el7.x86_64 works

[issue35737] crypt AuthenticationError introduced with new Linux kernel

2019-02-05 Thread Brett R
Brett R added the comment: Karthikeyan, Thank you for looking into this. I have been trying, in the background, to make further progress on this issue but progress is slow and other issues crop up. While the version of Python here is old, it was the latest in RHEL/CentOS 7.5. We are trying

[issue29724] Itertools docs propose a harmful “speedup” without any explanation

2017-03-05 Thread Leonid R.
Leonid R. added the comment: I think this is a "last resort" optimization and shouldn't be encouraged, especially in the official documentation. There are plenty of real optimizations you can do before doing micro-optimizations like this, and there is no reason it should be m

[issue33323] inconsistent stack trace for exceptions thrown in generators passed to min/max

2018-04-21 Thread Naris R
New submission from Naris R : if a generator passed to min/max throws an exception, the stack trace is normally shown on the line that caused the exception, but if the exception is a StopIteration, the trace only shows the line where the max/min function was called. I was writing a minimax

[issue33323] inconsistent stack trace for exceptions thrown in generators passed to min/max

2018-04-21 Thread Naris R
Naris R added the comment: This is a little bit contrived but it demonstrates the problem. ``` def good_exception(): raise Exception('something bad happened') def bad_exception(): return next(iter([])) def good(n): return good_exception() + n def bad(n):

[issue34427] calling MutableSequence.extend on self produces infinite loop

2018-08-18 Thread Naris R
New submission from Naris R : Example: ``` from typing import MutableSequence, TypeVar CliffordGate = TypeVar('CliffordGate') class QCircuit(MutableSequence[CliffordGate]): def __init__(self, gates): self.gates = list(gates) def __repr__(self): retu

[issue34427] calling MutableSequence.extend on self produces infinite loop

2018-08-18 Thread Naris R
Naris R added the comment: I forgot to copy over __len__ in the example -- ___ Python tracker <https://bugs.python.org/issue34427> ___ ___ Python-bugs-list m

[issue34427] calling MutableSequence.extend on self produces infinite loop

2018-08-18 Thread Naris R
Change by Naris R : -- nosy: +rhettinger, stutzbach ___ Python tracker <https://bugs.python.org/issue34427> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34427] calling MutableSequence.extend on self produces infinite loop

2018-08-18 Thread Naris R
Change by Naris R : -- keywords: +patch pull_requests: +8291 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34427> ___ ___ Python-

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-11 Thread R. Jayakrishnan
New submission from R. Jayakrishnan: Continuing the IDLE unittest framework initiated in http://bugs.python.org/issue15392. A small unit test for IDLE Delegator.py module. This patch introduces a test module named test_delegator.py inside Lib/idlelib/idle_test, considering the points README

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-11 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- versions: +Python 2.7, Python 3.3 ___ Python tracker <http://bugs.python.org/issue18189> ___ ___ Python-bugs-list mailin

[issue18103] Create a GUI test framework for Idle

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- nosy: +JayKrish ___ Python tracker <http://bugs.python.org/issue18103> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18104] Idle: make human-mediated GUI tests usable

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- nosy: +JayKrish ___ Python tracker <http://bugs.python.org/issue18104> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: The "from test.resource import requires" give me errors saying no module named resource in test (Am I missing anything?) For the moment I use "from test.support import requires" as in test_delegator1.patch . from test.support impo

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : Removed file: http://bugs.python.org/file30626/test_delegator1.patch ___ Python tracker <http://bugs.python.org/issue18189> ___ ___ Python-bug

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : Added file: http://bugs.python.org/file30627/test_delegator1.patch ___ Python tracker <http://bugs.python.org/issue18189> ___ ___ Python-bug

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- nosy: +ncoghlan ___ Python tracker <http://bugs.python.org/issue18189> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-24 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: I wrapped requires('gui') as submitted in patch2. But this time commands "python -m test test_idle" and with -ugui does not skip delegatortest (it runs successfully to both). I took Lib/test/test_tk.py as an example. It calls runtkt

[issue18292] IDLE Improvements: Unit test for AutoExpand.py

2013-06-24 Thread R. Jayakrishnan
New submission from R. Jayakrishnan: Continuing the IDLE unittest framework initiated in #15392. Writing test for AutoExpand.py -- components: IDLE, Tests messages: 191795 nosy: JayKrish priority: normal severity: normal status: open title: IDLE Improvements: Unit test for

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-10 Thread R. Jayakrishnan
New submission from R. Jayakrishnan: Continuing the IDLE unittest framework #15392, unit test for IdleHistory.py. This test depends on mockText and uses the patch by Terry at issue #18365. Because the mockText is still about to commit, first patch http://bugs.python.org/file30865/mock_text2

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2013-07-10 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- nosy: +JayKrish ___ Python tracker <http://bugs.python.org/issue17535> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18365] Idle: mock Text class and test thereof

2013-07-10 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- nosy: +JayKrish ___ Python tracker <http://bugs.python.org/issue18365> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-13 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: Now we have the mockText, So I updated my test for Idlehistory. The submitted patch2 contains tests for two methods in Idlehistory (history_store and History_do). I hope the tests for history_store are done. But the history_do method tests fails. I explored a

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-18 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: Thanks Terry for "we have the option of gui tests when mocking becomes too complicated" I put two separate classes IdleHistoryMockTest and IdleHistoryTKTest for mock and TK text usages and used TK Text to test IdleHistory.history_do function. T

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-19 Thread R. Jayakrishnan
New submission from R. Jayakrishnan: Following the Idle: mock Text class and test thereof created #18365 I am trying to improve the _decode function because most of the Idletests needs the mock text and requires some more features to handle indexes. Started improving the mockText _decode method

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-19 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : Added file: http://bugs.python.org/file30979/decodeChecklist.txt ___ Python tracker <http://bugs.python.org/issue18504> ___ ___ Python-bug

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-19 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : Removed file: http://bugs.python.org/file30978/decodeTest.py ___ Python tracker <http://bugs.python.org/issue18504> ___ ___ Python-bugs-list m

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-19 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : Added file: http://bugs.python.org/file30980/decodeTest.py ___ Python tracker <http://bugs.python.org/issue18504> ___ ___ Python-bugs-list m

[issue18292] IDLE Improvements: Unit test for AutoExpand.py

2013-07-19 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: I am trying to improve the _decode function of mock Text class because most of the Idletests needs the mock text and requires some more features to handle indexes. Created an issue IDLE:Improvements- Improving Mock_Text http://bugs.python.org/issue18504

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-21 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- resolution: -> works for me ___ Python tracker <http://bugs.python.org/issue18425> ___ ___ Python-bugs-list mailing list Un

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-22 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- nosy: +Todd.Rovito ___ Python tracker <http://bugs.python.org/issue18504> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-26 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: Yes,correcting myself. I should aim indexes which actual idlelib uses. Thank you Terry for the grammar. Fighting with the index parsing last week, and finally came up with a level to break the index into base and modifier and decode it along with using

[issue18704] IDLE: PEP8 Style Check Integration

2013-08-10 Thread R. Jayakrishnan
New submission from R. Jayakrishnan: This is to create an IDLE extension that would integrate PEP8 (Syntax Style Checker https://pypi.python.org/pypi/pep8 ) into the IDLE editor window,so the developer who is using the IDLE editor can quickly and frequently check the PEP8 standards of the

[issue18704] IDLE: PEP8 Style Check Integration

2013-08-10 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- nosy: +Todd.Rovito ___ Python tracker <http://bugs.python.org/issue18704> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18704] IDLE: PEP8 Style Check Integration

2013-08-12 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- nosy: +philwebster ___ Python tracker <http://bugs.python.org/issue18704> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18583] Idle: enhance FormatParagraph

2013-08-12 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- nosy: +JayKrish ___ Python tracker <http://bugs.python.org/issue18583> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15901] multiprocessing sharedctypes Array don't accept strings

2012-09-10 Thread Simon R
New submission from Simon R: I've simply tested the example reported in the py3k documentation, and it don't works. See the site: http://docs.python.org/py3k/library/multiprocessing.html?highlight=multiprocessing#module-multiprocessing.sharedctypes The program exit with this error:

[issue16111] Python 2.7.3 Windows MSI installer installs the VC++ 9 dlls directly to WinSxS folder

2012-10-02 Thread Ganesh R.
New submission from Ganesh R.: Python 2.7.3 Windows MSI installer installs the VC++ 9 dlls directly to WinSxS folder. The recommended way to distribute VC++ dlls is to either install the VC++ Redistributable as a pre-requisite or just add the dll to local folder. Directly installing the VC

[issue18704] IDLE: PEP8 Style Check Integration

2013-09-15 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: Thanks for showing great interest on this idea. As usual, it seems this will going to be another nice project with IDLE for me. Better to close this issue then, and create an appropriate initiation with the suggested points(preferring a commencement by core

[issue18704] IDLE: PEP8 Style Check Integration

2013-09-16 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: I would prefer this issue concludes with a navigation to the new proposed enhancement. -- ___ Python tracker <http://bugs.python.org/issue18

[issue5961] Missing labelside option for Tix option menu (fix included)

2009-08-18 Thread Cary R.
Cary R. added the comment: That is the manual I am referencing and the last time I looked it was the most recent. I'm not to familiar with the Python port of Tix, but I am using the command, label, state, and variable options and they already work fine. I could try the other options if

[issue5961] Missing labelside option for Tix option menu (fix included)

2009-05-07 Thread Cary R.
New submission from Cary R. : The Tix Optionmenu is documented to support a labelside option that is used to specify where the label should be relative to the selection. I have verified that adding 'labelside' to the static_options when calling the base constructor (TixWidget.__init_

[issue5961] Missing labelside option for Tix option menu (fix included)

2009-05-08 Thread Cary R.
Changes by Cary R. : -- versions: +Python 2.5 ___ Python tracker <http://bugs.python.org/issue5961> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18035] telnetlib incorrectly assumes that select.error has an errno attribute

2013-05-22 Thread Thayu R
Thayu R added the comment: Just to add: select.error was made an alias of OSError following PEP 3151 from 3.3 onwards. Up to 3.2, it was a pair containing the error code and the error string. http://docs.python.org/3.3/library/select.html?highlight=select.error#select.error -- nosy

[issue25275] Documentation v/s behaviour mismatch wrt integer literals containing non-ASCII characters

2015-09-29 Thread Shreevatsa R
New submission from Shreevatsa R: Summary: This is about int(u'१२३४') == 1234. At https://docs.python.org/2/library/functions.html and also https://docs.python.org/3/library/functions.html the documentation for class int(x=0) class int(x, base=10) says (respectively):

[issue25275] Documentation v/s behaviour mismatch wrt integer literals containing non-ASCII characters

2015-09-30 Thread Shreevatsa R
Shreevatsa R added the comment: Minor difference, but the relevant function for int() is not quite isdigit(), e.g.: >>> import unicodedata >>> s = u'\u2460' >>> unicodedata.name(s) 'CIRCLED DIGIT ONE' >>> print

[issue25275] Documentation v/s behaviour mismatch wrt integer literals containing non-ASCII characters

2015-09-30 Thread Shreevatsa R
Shreevatsa R added the comment: About the mismatch: of course it's probably not a good idea to change the parser (so that simply typing १२३४ in Python 3 code is like typing 1234), but how about changing the behaviour of int()? Not sure whether anyone should be relying on int(u'१२

[issue25467] Put “deprecated” warnings first

2015-10-25 Thread Tony R.
New submission from Tony R.: Python has wonderful, detailed documentation. I love it! Unfortunately, I have often found myself reading the otherwise-excellent documentation on a class/function/whatever, only to find out at the END of my reading that it is deprecated. This is frustrating

[issue25467] Put “deprecated” warnings first

2015-10-26 Thread Tony R.
Tony R. added the comment: > Thanks for the report and the patch. Thank you for the review! > I think a better way to handle this would be to add a "tag" next to the > function name for both deprecations and "new in", and leave the actual > deprecation/new-i

[issue25467] Put “deprecated” warnings first

2015-10-26 Thread Tony R.
Tony R. added the comment: > On Oct 26, 2015, at 1:49 PM, Ezio Melotti wrote: > > Not sure if there's a clever way to do it though (maybe a CSS class can be > added to the directives and the labels can be added with CSS :after). I was thinking something along th

[issue25467] Put “deprecated” warnings first

2015-10-27 Thread Tony R.
Tony R. added the comment: > On Oct 26, 2015, at 4:28 PM, Ezio Melotti wrote: > > This is true, but on the other hand you might want to see the [new in 3.4] > while looking at 3.6 docs and working on a program that must support Python > 3.3+. Anyway we can discuss this again

[issue26212] Python with ncurses6.0 will not load _curses module.

2016-01-26 Thread R. Jones
New submission from R. Jones: I am trying to compile Python-2.7.10. This is being done as a user, not root and I don't have access to /usr/local other than to avoid all the broken stuff in it. My local is /appl/local I am installing Python in /appl/local/python-2.7.10 I have ncurse

[issue26212] Python with ncurses6.0 will not load _curses module on Solaris 10

2016-01-26 Thread R. Jones
R. Jones added the comment: Note: This issue is on Solaris 10 using GCC 4.7.2 and the Solaris linker "ld". -- title: Python with ncurses6.0 will not load _curses module. -> Python with ncurses6.0 will not load _curses module

[issue26366] Use “.. versionadded” over “.. versionchanged” where appropriate

2016-02-15 Thread Tony R.
New submission from Tony R.: In the documentation, I noticed several uses of ``.. versionchanged::`` that described things which had been added. I love Python, and its documentation, and I wanted to contribute. So, I figured a low-risk contribution would be to change ``.. versionchanged

[issue26366] Use “.. versionadded” over “.. versionchanged” where appropriate

2016-02-18 Thread Tony R.
Tony R. added the comment: > My weak opinion is that a new parameter is a new API item, not just a change > in behaviour, so should probably have “versionadded”. This was my reasoning as well. Also, when I noticed so many instances of ``.. versionchanged`` that all say “Added

[issue26366] Use “.. versionadded” over “.. versionchanged” where appropriate

2016-02-19 Thread Tony R.
Tony R. added the comment: > Here are the original descriptions of the old LaTeX version. Holy crap! You all used to use LaTeX?! :D (I know--LaTeX is still going strong in academia. I just had no idea it was ever part of Python’s documentation, except as an output format.) > Ad

[issue26366] Use “.. versionadded” over “.. versionchanged” where appropriate

2016-02-19 Thread Tony R.
Tony R. added the comment: > Part of the problem is getting the granularity right. The initial intent was > that 'version*' were annotations for the enclosing object (function, class, > method, etc.). If we want to have something more granular (parameter > added / depr

[issue26958] Suggestion to imporve queue.full reliability

2016-05-04 Thread Sudharsan R
New submission from Sudharsan R: I was browsing through the code for queue.full and queue.put methods. The queue.full method claims it is not a reliable one. But, the same internal implementation - _qsize is used for put as well as full. "put" is thread safe and reliable and &qu

[issue26958] Suggestion to imporve queue.full reliability

2016-05-04 Thread Sudharsan R
Sudharsan R added the comment: Just add on to it.. q=queue.Queue() with q.not_full: q.put_nowait(1) this will hang. So if we acquire the not_full while computing size, all puts will wait. Same is the case for q.empty() and q.not_empty method and condition respectively

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-12-16 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +28369 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30150 ___ Python tracker <https://bugs.python.org/issu

[issue46105] Requirement syntax broken when extras indicated on url_req

2021-12-16 Thread Jason R. Coombs
New submission from Jason R. Coombs : In https://github.com/python/importlib_metadata/issues/357, a user reported an issue where a requirement generated by importlib.metadata from egg info metadata would result in a parse error attempting to parse the error. A fix was released in

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-12-16 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +28371 pull_request: https://github.com/python/cpython/pull/30151 ___ Python tracker <https://bugs.python.org/issue44

[issue46105] Requirement syntax broken when extras indicated on url_req

2021-12-16 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +28370 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30151 ___ Python tracker <https://bugs.python.org/issu

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-12-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: The change as implemented for importlib_metadata involves refactorings that can't be backported, so the fix will only go into Python 3.11. I'll consider backporting a more selective fix for this issue if it's important, but I suspect t

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-12-16 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: -28371 ___ Python tracker <https://bugs.python.org/issue44893> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46105] Requirement syntax broken when extras indicated on url_req

2021-12-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 109d96602199a91e94eb14b8cb3720841f22ded7 by Jason R. Coombs in branch 'main': bpo-46105: Honor spec when generating requirement specs with urls and extras. (GH-30151) https://github.com/python/cpyt

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-12-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 04deaee4c8d313717f3ea8f6a4fd70286d510d6e by Jason R. Coombs in branch 'main': bpo-44893: Implement EntryPoint as simple class with attributes. (GH-30150) https://github.com/python/cpython/commit/04deaee4c8d313717f3ea8f6a4fd70

[issue46105] Requirement syntax broken when extras indicated on url_req

2021-12-16 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +28376 pull_request: https://github.com/python/cpython/pull/30157 ___ Python tracker <https://bugs.python.org/issue46

[issue46105] Requirement syntax broken when extras indicated on url_req

2021-12-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 864ec170e14b663f999eb415a4f1a0067ec6833a by Jason R. Coombs in branch '3.9': [3.9] bpo-46105: Honor spec when generating requirement specs with urls and extras. (GH-30151). (GH-30157) https://github.com/python/cpyt

[issue46105] Requirement syntax broken when extras indicated on url_req

2021-12-16 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue44893] importlib.metadata Entrypoint has a broken _asdict

2021-12-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: Expect the fix in 3.11a3. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46109] Separate resources and abc docs from other importlib docs

2021-12-16 Thread Jason R. Coombs
New submission from Jason R. Coombs : The `importlib` documentation is fairly long and covers a number of topics. Furthermore, the `importlib.metadata` is separately documented and presents a good example of breaking out major aspects. Let's do the same with `.abc` and `.reso

[issue46109] Separate resources and abc docs from other importlib docs

2021-12-16 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +28379 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30160 ___ Python tracker <https://bugs.python.org/issu

[issue46109] Separate resources and abc docs from other importlib docs

2021-12-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: My main motivation for moving `.abc` was because it contains classes exclusively relevant to `.resources` (those also present in `importlib_resources.abc`. I want to explore moving those classes to the resources documentation so they're available tog

[issue46118] Migrate importlib.resources into a package

2021-12-17 Thread Jason R. Coombs
New submission from Jason R. Coombs : The importlib.resources module has several modules on which it relies (_adapters, _legacy, simple) and some classes in other modules shared by other parts of importlib (namely abc). Because these implementations overlap, it adds difficulty in maintaining

[issue46109] Separate resources and abc docs from other importlib docs

2021-12-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: I wonder if maybe it's more important to address issue46118 first. -- ___ Python tracker <https://bugs.python.org/is

[issue46118] Migrate importlib.resources into a package

2021-12-17 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +28393 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30176 ___ Python tracker <https://bugs.python.org/issu

[issue46118] Migrate importlib.resources into a package

2021-12-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: Compatibility considerations: - importlib.readers and importlib.simple are public, so probably need aliases. - Same abc classes. Should we embark on an effort to migrate users to the new names in `importlib.resources`, or simply leave the `importlib.{mod

[issue46124] Deprecation warning in zoneinfo module

2021-12-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: I would hope that normalize_path would not be needed. It might be for drop-in compatibility. If it's needed for zoneinfo, I'd like to consider why and what implications that has for the deprecation of the

[issue46124] Deprecation warning in zoneinfo module

2021-12-18 Thread Jason R. Coombs
Change by Jason R. Coombs : -- assignee: -> jaraco ___ Python tracker <https://bugs.python.org/issue46124> ___ ___ Python-bugs-list mailing list Unsubscrib

  1   2   3   4   5   6   7   8   9   10   >