[issue46145] List reference not working properly

2021-12-21 Thread Antara
Antara added the comment: Not an issue -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue46145] List reference not working properly

2021-12-21 Thread Antara
: [1, 2, 3, 5] Though o,d and dd points to the same memory pointer but d has different value. How can same memory location points to 2 different values? -- messages: 408998 nosy: antarab priority: normal severity: normal status: open title: List reference not working properly type

[issue46135] Changing a label's text is not working properly on transparent widgets

2021-12-19 Thread Ned Deily
Ned Deily added the comment: PyQT is a third-party product and not part of Python or the Python Standard Library. Suggest you contact that project and/or ask on one of the general assistance forums, like Stack Overflow. Good luck! https://riverbankcomputing.com/software/pyqt/

[issue46135] Changing a label's text is not working properly on transparent widgets

2021-12-19 Thread MB SANTALU
Timer() timer.setInterval(1000) timer.timeout.connect(update_label) timer.start() app.exec() -- components: macOS files: sof.png messages: 408931 nosy: mbsantalu, ned.deily, ronaldoussoren priority: normal severity: normal status: open title: Changing a label's text is not working properly on transparent w

[issue44681] time.sleep(0.001) not working properly

2021-07-28 Thread Eryk Sun
Eryk Sun added the comment: > It certainly wouldn't be worth the power and CPU usage > impact that people would inevitable get tricked into > causing To clarify, only short waits such as time.sleep(0.001) would busy loop. Waits longer than say 50 ms would call WaitForSingleObjectEx() or

[issue44681] time.sleep(0.001) not working properly

2021-07-27 Thread Steve Dower
Steve Dower added the comment: > Maybe it would be useful to implement something like this in time.sleep() > itself, but I don't know whether the need in a few cases warrants the > increased complexity and cost in general. It certainly wouldn't be worth the power and CPU usage impact that

[issue44681] time.sleep(0.001) not working properly

2021-07-20 Thread Eryk Sun
Eryk Sun added the comment: The implementation of time.sleep() uses WaitForSingleObjectEx() on the main thread. It waits for an event object that gets signaled by Ctrl+C. On other threads it simply calls Sleep(). Thread wait functions such as WaitForSingleObjectEx() and Sleep() are based

[issue44681] time.sleep(0.001) not working properly

2021-07-20 Thread Thereisfood
Thereisfood added the comment: I think this is Windows 10 issue after build 1909. Because I tested on Windows 10 build 1909 is about 0.001 - 0.002 and tested on 20H2 is the attached results. -- ___ Python tracker

[issue44681] time.sleep(0.001) not working properly

2021-07-20 Thread Steven D'Aprano
Steven D'Aprano added the comment: Jack, Thereisfood is using Windows, which I understand has a clock with millisecond accuracy. So a sleep of a millisecond should, I think, work on Windows even if it doesn't work on Linux. Could a Windows expert clarify please? -- nosy:

[issue44681] time.sleep(0.001) not working properly

2021-07-19 Thread Thereisfood
Change by Thereisfood : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44681] time.sleep(0.001) not working properly

2021-07-19 Thread Jack DeVries
Jack DeVries added the comment: This is not a bug. See the docs: The precision of the various real-time functions may be less than suggested by the units in which their value or argument is expressed. E.g. on most Unix systems, the clock “ticks” only 50 or 100 times a second. On the other

[issue44681] time.sleep(0.001) not working properly

2021-07-19 Thread Thereisfood
Change by Thereisfood : Added file: https://bugs.python.org/file50162/Capture.PNG ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44681] time.sleep(0.001) not working properly

2021-07-19 Thread Thereisfood
Change by Thereisfood : Removed file: https://bugs.python.org/file50161/Capture.PNG ___ Python tracker ___ ___ Python-bugs-list mailing

[issue44681] time.sleep(0.001) not working properly

2021-07-19 Thread Thereisfood
(0.001) not working properly versions: Python 3.9 Added file: https://bugs.python.org/file50161/Capture.PNG ___ Python tracker <https://bugs.python.org/issue44681> ___ ___

Re: The if is not working properly

2019-05-19 Thread MRAB
On 2019-05-19 11:29, Cameron Simpson wrote: On 18May2019 13:22, nobelio wrote: When you print the variable “a” it appears as True, but the program is it is not getting in the if a==True: It may be that "a" is not the Boolean value True but something else. But that is just a guess. Please

Re: The if is not working properly

2019-05-19 Thread Alister via Python-list
On Sun, 19 May 2019 20:29:35 +1000, Cameron Simpson wrote: > On 18May2019 13:22, nobelio wrote: >>When you print the variable “a” it appears as True, but the program is >>it is not getting in the if a==True: > > It may be that "a" is not the Boolean value True but something else. But > that is

Re: The if is not working properly

2019-05-19 Thread Cameron Simpson
On 18May2019 13:22, nobelio wrote: When you print the variable “a” it appears as True, but the program is it is not getting in the if a==True: It may be that "a" is not the Boolean value True but something else. But that is just a guess. Please reply and paste in a small example programme

The if is not working properly

2019-05-19 Thread nobelio
When you print the variable “a” it appears as True, but the program is it is not getting in the if a==True: Enviado do Email para Windows 10 --- Este e-mail foi verificado quanto a vírus pelo AVG. http://www.avg.com -- https://mail.python.org/mailman/listinfo/python-list

[issue33243] nltk is not working properly

2018-04-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: nltk is not a part of the stdlib, it a third-party library. But in this case seems the problem is in your code or configuration. Your "C:\Users\Ali Abbas\Desktop\token\token.py" file hides the standard token module. --

[issue33243] nltk is not working properly

2018-04-08 Thread Ali Abbas
New submission from Ali Abbas <aliabbas...@gmail.com>: nltk is not working properly, showing this error Traceback (most recent call last): File "token.py", line 1, in from nltk.tokenize import word_tokenize, sent_tokenize File "D:\PYTHON36\lib\site-packages\nltk\

[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-20 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-20 Thread Adrian Stachlewski
Adrian Stachlewski added the comment: There's nothing to do, thanks for help one more again. -- status: pending -> open ___ Python tracker

[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-19 Thread Eric V. Smith
Eric V. Smith added the comment: Are there any remaining issues here? If not, I'm going to close this issue. -- status: open -> pending ___ Python tracker

[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-19 Thread Adrian Stachlewski
Adrian Stachlewski added the comment: Once more same mistake. 'x' should be declared as: - x: ClassVar[set] = set() - x: ClassVar[Set[Any]] = set() -- ___ Python tracker

[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-18 Thread Adrian Stachlewski
Adrian Stachlewski added the comment: Thanks for explaining. I was trying to do something like @dataclass class A: x: ClassVar = set() and thanks to you I know it should be @dataclass class A: x: ClassVar[Set] = set() If you are looking for improved error

[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-18 Thread Eric V. Smith
Change by Eric V. Smith : -- versions: +Python 3.8 ___ Python tracker ___ ___

[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-18 Thread Eric V. Smith
Eric V. Smith added the comment: There are a couple of problems here. You're using ClassVar incorrectly. It should be: >>> @dataclass ... class C: ... __slots__=() ... x: ClassVar[int] = field(default=3) ... >>> C() C() >>> C.x 3 And you cannot have a ClassVar with

[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-17 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> eric.smith nosy: +eric.smith ___ Python tracker ___

[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-17 Thread Adrian Stachlewski
hanges. Python version: 3.7.0b2 -- components: Library (Lib) messages: 314017 nosy: stachel priority: normal severity: normal status: open title: dataclasses: ClassVar attributes are not working properly type: behavior versions: Python 3.7 ___ Python tracke

[issue25979] String functions lstrip are not working properly when you have escape sequence

2015-12-29 Thread Kiran Kotari
y messages: 257223 nosy: Kiran Kotari priority: normal severity: normal status: open title: String functions lstrip are not working properly when you have escape sequence type: behavior versions: Python 3.5 Added file: http://bugs.python.org/file41450/string_fun_error.py ___

[issue25979] String functions lstrip are not working properly when you have escape sequence

2015-12-29 Thread Kiran Kotari
Changes by Kiran Kotari : Removed file: http://bugs.python.org/file41450/string_fun_error.py ___ Python tracker ___

[issue25979] String functions lstrip are not working properly when you have escape sequence

2015-12-29 Thread Kiran Kotari
Kiran Kotari added the comment: In this python code I am collecting list of folders present in the given location path with parent folder and print the folder names (output went wrong due to escape sequence values with lstrip.) Note : "\a \b \f \r \v \0 \1" are working fine. "\c \e \n \ne \t

[issue25979] String functions lstrip are not working properly when you have escape sequence

2015-12-29 Thread Ethan Furman
Ethan Furman added the comment: lstrip() works by removing any of the characters in its argument, in any order; for example: 'catchy'.lstrip('cat') # 'hy' 'actchy'.lstrip('tac') # 'hy' is stripping, from the left, all 'c's and all 'a's and all 't's -- not just the first three, and order

[issue25673] unittest assertLessEqual not working properly with lists

2015-11-19 Thread kehlert
: normal severity: normal status: open title: unittest assertLessEqual not working properly with lists versions: Python 3.4 Added file: http://bugs.python.org/file41081/example.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25673] unittest assertLessEqual not working properly with lists

2015-11-19 Thread Ezio Melotti
Ezio Melotti added the comment: This is how comparison works for sequences and it's not a bug: >>> a = [1, 2] >>> b = [2, 1] >>> a <= b True >>> a = [2, 1] >>> b = [1, 2] >>> a <= b False See https://docs.python.org/3/tutorial/datastructures.html#comparing-sequences-and-other-types

VTK Quadratic - vtkContourFilter - vtkSliderRepresentation2D in Python not working properly

2015-02-18 Thread Shalini Ravishankar
Hello Everyone, I am new to VTK. I am trying to extract isosurfaces(Contour) from a quadratic function with a Slider to change the iso surfaces. #!/usr/bin/env python # First, we need to import vtk package in order to access VTK classes/functions. import vtk # create a data source...an

[issue20061] pdb through separate terminal not working properly

2013-12-24 Thread Chiel ten Brinke
running `python3.3 -m pdb myscript.py`. There should be an easy way to debug properly through a second terminal window. -- messages: 206895 nosy: Chiel92 priority: normal severity: normal status: open title: pdb through separate terminal not working properly type: behavior versions: Python

[issue20061] pdb through separate terminal not working properly

2013-12-24 Thread R. David Murray
R. David Murray added the comment: Sounds like a good idea to me, but it would be a new feature, not a bug fix. -- components: +Library (Lib) nosy: +r.david.murray stage: - needs patch type: behavior - enhancement versions: +Python 3.5 -Python 3.3

[issue20061] pdb through separate terminal not working properly

2013-12-24 Thread R. David Murray
R. David Murray added the comment: To clarify: remote debugging is not a new feature, but enabling command history c should probably be considered a new feature, and making the interface for doing all this more convenient (which would be cool) certainly would be. --

Re: TextWrangler run command not working properly

2011-04-17 Thread Fabio
In article mailman.371.1302815698.9059.python-l...@python.org, Ernest Obusek ern...@willowfalls.net wrote: I'm not a python expert, but you might trying running 'print sys.path' inside your script and run that from TextWrangler to see where it's looking for modules. - Ernest Hi

Re: TextWrangler run command not working properly

2011-04-15 Thread Fabio
In article 382709dd-5e3f-4b07-a642-4ce141ef4...@18g2000prd.googlegroups.com, Jon Clements jon...@googlemail.com wrote: http://www.velocityreviews.com/forums/t570137-textwrangler-and-new-python-vers ion-mac.html Thank you for the reply Jon. I saw the post in velocityreviews. Unfortunately it

Re: TextWrangler run command not working properly

2011-04-15 Thread Brian Blais
Hello Fabio You have two versions of 2.6 on your system. On Apr 15, 2011, at 4:51 AM, Fabio wrote: I have the built-in Python2.5 which comes installed by mother Apple. My OSX comes with 2.3, 2.5, and 2.6. :) These are under: /System/Library/Frameworks/Python.framework/Versions/ ^

Re: [Mac OSX] TextWrangler run command not working properly

2011-04-15 Thread Jason Swails
On Thu, Apr 14, 2011 at 1:52 PM, Fabio oakw...@email.it wrote: Then, I started to use TexWrangler, and I wanted to use the shebang menu, and run command. I have the #! first line pointing to the 2.6 version. It works fine, as long as I don't import the libraries, in which case it casts an

[Mac OSX] TextWrangler run command not working properly

2011-04-14 Thread Fabio
Hi to all, I have troubles with TextWrangler run command in the shebang (#!) menu. I am on MacOSX 10.6.7. I have the built-in Python2.5 which comes installed by mother Apple. Then I installed Python2.6, and left 2.5 untouched (I was suggested to leave it on the system, since something might need

Re: TextWrangler run command not working properly

2011-04-14 Thread Jon Clements
On Apr 14, 9:52 pm, Fabio oakw...@email.it wrote: Hi to all, I have troubles with TextWrangler run command in the shebang (#!) menu. I am on MacOSX 10.6.7. I have the built-in Python2.5 which comes installed by mother Apple. Then I installed Python2.6, and left 2.5 untouched (I was suggested

Re: TextWrangler run command not working properly

2011-04-14 Thread Ernest Obusek
I'm not a python expert, but you might trying running 'print sys.path' inside your script and run that from TextWrangler to see where it's looking for modules. - Ernest On Apr 14, 2011, at 5:01 PM, Jon Clements wrote: On Apr 14, 9:52 pm, Fabio oakw...@email.it wrote: Hi to all, I have

Re: PyQt imageViewer does not working properly...

2010-10-05 Thread Hans-Peter Jansen
On Tuesday 05 October 2010, 00:29:04 Polimeno wrote: Hello guys, I have been looking throughout the web for some PyQt Image Viewer : http://nullege.com/codes/show/src%40pyformex-0.8.2%40pyformex%40gui%40ima geViewer.py/78/PyQt4.QtGui.QImage# Unfortunately, everytime I input any kind of

PyQt imageViewer does not working properly...

2010-10-04 Thread Polimeno
Hello guys, I have been looking throughout the web for some PyQt Image Viewer : http://nullege.com/codes/show/src%40pyformex-0.8.2%40pyformex%40gui%40imageViewer.py/78/PyQt4.QtGui.QImage# Unfortunately, everytime I input any kind of image type (.jpeg, .tga, .png, whatver) It doesn´t show me

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-11-29 Thread SourceForge.net
not working properly Initial Comment: Running make install on Linux (Suse 10.1) won't terminate properly: Compiling /opt/python-2.4.4/lib/python2.4/user.py ... Compiling /opt/python-2.4.4/lib/python2.4/uu.py ... Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ... Compiling /opt/python-2.4.4

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-11-15 Thread SourceForge.net
2.4.4 not working properly Initial Comment: Running make install on Linux (Suse 10.1) won't terminate properly: Compiling /opt/python-2.4.4/lib/python2.4/user.py ... Compiling /opt/python-2.4.4/lib/python2.4/uu.py ... Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ... Compiling /opt/python

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-11-12 Thread SourceForge.net
not working properly Initial Comment: Running make install on Linux (Suse 10.1) won't terminate properly: Compiling /opt/python-2.4.4/lib/python2.4/user.py ... Compiling /opt/python-2.4.4/lib/python2.4/uu.py ... Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ... Compiling /opt/python-2.4.4/lib

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-11-11 Thread SourceForge.net
not working properly Initial Comment: Running make install on Linux (Suse 10.1) won't terminate properly: Compiling /opt/python-2.4.4/lib/python2.4/user.py ... Compiling /opt/python-2.4.4/lib/python2.4/uu.py ... Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ... Compiling /opt/python-2.4.4/lib

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-11-10 Thread SourceForge.net
not working properly Initial Comment: Running make install on Linux (Suse 10.1) won't terminate properly: Compiling /opt/python-2.4.4/lib/python2.4/user.py ... Compiling /opt/python-2.4.4/lib/python2.4/uu.py ... Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ... Compiling /opt/python-2.4.4/lib

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-11-10 Thread SourceForge.net
not working properly Initial Comment: Running make install on Linux (Suse 10.1) won't terminate properly: Compiling /opt/python-2.4.4/lib/python2.4/user.py ... Compiling /opt/python-2.4.4/lib/python2.4/uu.py ... Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ... Compiling /opt/python-2.4.4/lib

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-10-20 Thread SourceForge.net
, including the initial issue submission, for this request, not just the latest update. Category: Installation Group: Python 2.4 Status: Open Resolution: None Priority: 7 Submitted By: Andreas Jung (ajung) Assigned to: Nobody/Anonymous (nobody) Summary: make install for Python 2.4.4 not working

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-10-20 Thread SourceForge.net
thread, including the initial issue submission, for this request, not just the latest update. Category: Installation Group: Python 2.4 Status: Open Resolution: None Priority: 5 Submitted By: Andreas Jung (ajung) Assigned to: Nobody/Anonymous (nobody) Summary: make install for Python 2.4.4 not working

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-10-19 Thread SourceForge.net
not working properly Initial Comment: Running make install on Linux (Suse 10.1) won't terminate properly: Compiling /opt/python-2.4.4/lib/python2.4/user.py ... Compiling /opt/python-2.4.4/lib/python2.4/uu.py ... Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ... Compiling /opt/python-2.4.4

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-10-19 Thread SourceForge.net
, including the initial issue submission, for this request, not just the latest update. Category: Installation Group: Python 2.4 Status: Open Resolution: None Priority: 5 Submitted By: Andreas Jung (ajung) Assigned to: Nobody/Anonymous (nobody) Summary: make install for Python 2.4.4 not working

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-10-19 Thread SourceForge.net
thread, including the initial issue submission, for this request, not just the latest update. Category: Installation Group: Python 2.4 Status: Open Resolution: None Priority: 7 Submitted By: Andreas Jung (ajung) Assigned to: Nobody/Anonymous (nobody) Summary: make install for Python 2.4.4 not working

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-10-19 Thread SourceForge.net
not working properly Initial Comment: Running make install on Linux (Suse 10.1) won't terminate properly: Compiling /opt/python-2.4.4/lib/python2.4/user.py ... Compiling /opt/python-2.4.4/lib/python2.4/uu.py ... Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ... Compiling /opt/python-2.4.4/lib

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-10-19 Thread SourceForge.net
, including the initial issue submission, for this request, not just the latest update. Category: Installation Group: Python 2.4 Status: Open Resolution: None Priority: 7 Submitted By: Andreas Jung (ajung) Assigned to: Nobody/Anonymous (nobody) Summary: make install for Python 2.4.4 not working

GTK progress bar not working properly with pulse()

2005-05-09 Thread lamthierry
My python file(progressbar.py) looks like the following: pbar = gtk.ProgressBar() def updateBar(percentage): print percentage pbar.pulse() class ProgressBar: def __init__(self): # other gui codes align.add(pbar) pbar.show() My C++ codes look like the