[issue37585] Comparing PyDictValues does not give expected results

2019-07-13 Thread Kristian Klette
New submission from Kristian Klette : As a user, I expect to be able to compare the different parts a `dict` in the same manner. Currently, `PyDictValues` does not implement the `dictview_richcompare`, causing the `__eq__` to always return false, even if the values are identical

[issue30563] [Cygwin] multiprocessing module with pool object issue

2018-08-13 Thread Niels Kristian Jensen
Niels Kristian Jensen added the comment: I ran the same test on Windows 10, works fine, but Windows Server 2012 bails out with no message, no abnormal exit code. @Antoine Pitrou - if Cygwin and Python3 are non-compatible, I suggest that someone in the Python3 community writes a note about

[issue22535] headerregistry.Address introduces extra quotes without addr_spec parameter

2014-10-01 Thread Kristian Rother
New submission from Kristian Rother: I am trying to create an email address as in the Python doc example https://docs.python.org/3/library/email-examples.html The example does not work as given on the page. I tried Python 3.4rc1 and the 3.5 compiled from source on Ubuntu 12. I found two

[issue21509] json.load fails to read UTF-8 file with (BOM) Byte Order Marks

2014-05-17 Thread Kristian Benoit
Changes by Kristian Benoit : Added file: http://bugs.python.org/file35270/json.v2.patch ___ Python tracker <http://bugs.python.org/issue21509> ___ ___ Python-bugs-list m

[issue21509] json.load fails to read UTF-8 file with (BOM) Byte Order Marks

2014-05-17 Thread Kristian Benoit
Kristian Benoit added the comment: I added code to skip the bom if present when encoding is either None or "utf-8". The problem I have with Victor's solution is that users don't know these files are not plain UTF-8. Most text editor says it's utf-8 encoded, how can

[issue21509] json.load fails to read UTF-8 file with (BOM) Byte Order Marks

2014-05-14 Thread Kristian Benoit
New submission from Kristian Benoit: I'm trying to parse a json and keep getting ValueError. File reports the file as being "UTF-8 Unicode (with BOM) text", vim reports it as UTF-8, ... json.load docs says it support UTF-8 out of the box. Here's a link

[issue17135] imp doc should direct to importlib

2013-04-06 Thread Kristian
Kristian added the comment: Here is the patch for this bug... Enjoy! I would be happy to work on this further if there are any problems or questions! Thanks! -- keywords: +patch nosy: +ktran13 Added file: http://bugs.python.org/file29697/patch.diff

[issue9955] multiprocessing.Pipe segmentation fault when recv of unpicklable object

2011-06-26 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: On Python 2.7.2 this can not be reproduced. Instead of the segmentation fault an AssertionError is raised: AssertionError: invalid Element proxy at 39359432 In Python 3.2 the p1.send(n) step in the example raises a PicklingError when trying to

[issue10020] docs for sqlite3 describe functions not available without recompiling

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: Fixed typo (double and). -- Added file: http://bugs.python.org/file22464/issue10020-python27.patch ___ Python tracker <http://bugs.python.org/issue10

[issue10020] docs for sqlite3 describe functions not available without recompiling

2011-06-25 Thread Kristian Vlaardingerbroek
Changes by Kristian Vlaardingerbroek : Removed file: http://bugs.python.org/file22458/issue10020-python27.patch ___ Python tracker <http://bugs.python.org/issue10

[issue10583] Encoding issue with chm help in 2.7.1

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: This might be non-fixable: http://support.microsoft.com/kb/269766/ HTML Help 1.x does not compile the Unicode characters. Meaning that in the search and index views you'll get garbage. For the rest of the rendering IE is used which does r

[issue10583] Encoding issue with chm help in 2.7.1

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: I've looked at the output from make html and make htmlhelp and taking the library/json.html as example the text between is exactly the same. Chrome renders both fine: 18.2. json — JSON encoder and decoder — Python v2.7.2 documentation

[issue10583] Encoding issue with chm help in 2.7.1

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: I can reproduce the issue with Python 2.7.2 and Python 3.2 on Windows 7 Enterprise SP 1 64-bit. -- nosy: +Kristian.Vlaardingerbroek ___ Python tracker <http://bugs.python.org/issue10

[issue10020] docs for sqlite3 describe functions not available without recompiling

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: Attached patch for Python 2.7. Since Issue10268 has not been applied to Python 2.7 the sentence "you must modify setup.py and and remove the line that sets SQLITE_OMIT_LOAD_EXTENSION" still applies. -- keywords: +

[issue10845] test_multiprocessing failure under Windows

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: This has been committed a while ago, can this issue be closed? -- nosy: +Kristian.Vlaardingerbroek ___ Python tracker <http://bugs.python.org/issue10

[issue8623] Aliasing warnings in socketmodule.c

2011-06-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: I can't reproduce both these cases with gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2 on i386 using the current default branch (70943:024827a9db64). -- nosy: +Kristian.Vlaardingerbroek ___ Python tr

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-27 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: Cleaned up patch file. Removed non-related diffs and redundant updates. refcount_test decorator is still in there. -- Added file: http://bugs.python.org/file20561/issue10990.diff ___ Python tracker

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: test_trace can be added to this list, each call to runfunc does a sys.settrace() 121:self.tracer.runfunc(traced_func_loop, 2, 3) 133:self.tracer.runfunc(traced_func_importing, 2, 5) 145:self.tracer.runfunc

[issue10992] tests failing when run under coverage

2011-01-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: msg127022 applies to test_gc and not test_descr -- ___ Python tracker <http://bugs.python.org/issue10992> ___ ___

[issue10992] tests failing when run under coverage

2011-01-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: test_metaclass has some doctests failing because of the added __locals__. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10992] tests failing when run under coverage

2011-01-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: Following tests in test_descr.py fail: test_collect_generations (line 261) test_frame (line 183) test_get_count (line 249) These tests count the number of allocations and a trace function can mess this up

[issue10992] tests failing when run under coverage

2011-01-25 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: Following tests in test_descr.py fail with both methods: test_iter_items test_iter_keys test_iter_values regrtest -T causes the following test to fail aswell: test_slots The test_iter_* tests fail because __locals__ gets added to the namespace

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: test_pickle and test_pickletools both call test_bad_getattr in pickletester.py:1005 This results in a RuntimeError which leads to the same result as test_exceptions -- ___ Python tracker <h

[issue10992] tests failing when run under coverage

2011-01-24 Thread Kristian Vlaardingerbroek
Changes by Kristian Vlaardingerbroek : -- nosy: +Kristian.Vlaardingerbroek ___ Python tracker <http://bugs.python.org/issue10992> ___ ___ Python-bugs-list mailin

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Kristian Vlaardingerbroek
Changes by Kristian Vlaardingerbroek : -- nosy: +Kristian.Vlaardingerbroek ___ Python tracker <http://bugs.python.org/issue10990> ___ ___ Python-bugs-list mailin

[issue2708] IDLE subprocess error

2008-05-05 Thread Kristian Lauridsen
Kristian Lauridsen <[EMAIL PROTECTED]> added the comment: Python 2.5.2 IDLE 1.2.2 It dosnt matter how i try to "end" IDLE: red cross, close(alt+F4), exit (Ctrl+Q) or writing exit(), it will ask me to kill the program. I dont think it's IDLE im "killing&q

[issue2708] IDLE subprocess error

2008-04-28 Thread Kristian Lauridsen
New submission from Kristian Lauridsen <[EMAIL PROTECTED]>: Hi all. I'w been looking for an answer to this. If I use IDLE for som "just fore fun" programming and then exit, I have to "kill" IDLE, dispite theres nothin "running" persay, then when i