[issue46379] itertools.product reference implementation creates temporaries

2022-01-14 Thread Markus Wallerberger
Markus Wallerberger added the comment: > To a person well versed in recursion and in generator chains it makes sense > but not so much for anyone else. There I pretty much fundamentally disagree. I find the version in the docs much more magical in the sense that it builds up &quo

[issue46379] itertools.product reference implementation creates temporaries

2022-01-14 Thread Markus Wallerberger
Change by Markus Wallerberger : -- keywords: +patch pull_requests: +28804 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30605 ___ Python tracker <https://bugs.python.org/issu

[issue46379] itertools.product reference implementation creates temporaries

2022-01-14 Thread Markus Wallerberger
New submission from Markus Wallerberger : The reference implementation of itertools.product creates large temporaries, which we need to remind people of at the top of the code block. However, using generator magic, we don't need to do this and can even simplify the code in the pr

[issue14965] super() and property inheritance behavior

2021-12-06 Thread Markus Kitsinger (he/him/his)
Change by Markus Kitsinger (he/him/his) : -- nosy: +SwooshyCueb nosy_count: 23.0 -> 24.0 pull_requests: +28175 pull_request: https://github.com/python/cpython/pull/29950 ___ Python tracker <https://bugs.python.org/issu

[issue42037] Documentation confusion in CookieJar functions

2020-11-02 Thread Markus Israelsson
Markus Israelsson added the comment: I am currently updating the documentation source code. On the cookiejar page it describes 'unverifiable' as a method. I can however not find that method on the request page because it seems to be just a normal attribute. I will make updates f

[issue42037] Documentation confusion in CookieJar functions

2020-10-21 Thread Markus Israelsson
Markus Israelsson added the comment: I got ok from the higherups. Will plan this into next sprint so it will take a week or 2 before I get to it. -- ___ Python tracker <https://bugs.python.org/issue42

[issue42037] Documentation confusion in CookieJar functions

2020-10-21 Thread Markus Israelsson
Markus Israelsson added the comment: I guess due to something having to be signed I would have to create a personal github account :/ -- ___ Python tracker <https://bugs.python.org/issue42

[issue42037] Documentation confusion in CookieJar functions

2020-10-21 Thread Markus Israelsson
Markus Israelsson added the comment: Sure. But I will need to get an ok from my company to spend some time on this because I really am not very used to git yet (recently switched). Also, is it possible to make the request/changes through the company github account or must that in that case

[issue42037] Documentation confusion in CookieJar functions

2020-10-19 Thread Markus Israelsson
Markus Israelsson added the comment: The way I read the documentation for add_cookie_header is: These methods must exist in the Request object: - get_full_url() - get_host() - get_type() - unverifiable... and so on. The documentation for the request objects claims however that: These

[issue42037] Documentation confusion in CookieJar functions

2020-10-14 Thread Markus Israelsson
New submission from Markus Israelsson : The documentation in https://docs.python.org/3.8/library/http.cookiejar.html#http.cookiejar.CookieJar claims the following for functions add_cookie_header and extract_cookies. *** The request object (usually a urllib.request.Request instance) must

[issue40327] list(sys.modules.items()) can throw RuntimeError: dictionary changed size during iteration

2020-04-19 Thread Markus Mohrhard
New submission from Markus Mohrhard : We have hit an issue in the pickle module where the code throws an exception in a threaded environment: The interesting piece of the backtrace is: File "/xxx/1004060/lib/python3.7/site-packages/numpy/core/__init__.py", line 130, in _uf

[issue31539] asyncio.sleep may sleep less time then it should

2020-02-25 Thread Markus Roth
Markus Roth added the comment: When the fine tuning options for install-directories are set, the default directories "lib", "bin" and "include" are still created with essential content. Even if options like --libdir are set.

[issue39609] Set the thread_name_prefix for asyncio's default executor ThreadPoolExecutor

2020-02-17 Thread Markus Mohrhard
Markus Mohrhard added the comment: We have by now changed to a custom executor. Asyncio is used in some of our dependencies and therefore it took some work to figure out what is creating the thousands of threads that we were seeing. This patch was part of the debuggin and we thought it

[issue39609] Set the thread_name_prefix for asyncio's default executor ThreadPoolExecutor

2020-02-11 Thread Markus Mohrhard
Change by Markus Mohrhard : -- keywords: +patch pull_requests: +17832 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18458 ___ Python tracker <https://bugs.python.org/issu

[issue39609] Set the thread_name_prefix for asyncio's default executor ThreadPoolExecutor

2020-02-11 Thread Markus Mohrhard
New submission from Markus Mohrhard : The ThreadPoolExecutor in BaseEventLoop.run_in_executor should set a thread_name_prefix to simplify debugging. Might also be worth to limit the number of max threads. On our 256 core machines we sometimes get 1000+ threads due to the cpu_count() * 5

[issue37502] Fix default argument handling for buffers argument in pickle.loads

2019-07-04 Thread Markus Mohrhard
Markus Mohrhard added the comment: Sorr, I somehow managed to overwrite my title before submitting with the one from one if the results of my searches. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37502] Fix default argument handling for buffers argument in pickle.loads

2019-07-04 Thread Markus Mohrhard
Change by Markus Mohrhard : -- title: Pure Python pickle module should not depend on _pickle.PickleBuffer -> Fix default argument handling for buffers argument in pickle.loads ___ Python tracker <https://bugs.python.org/issu

[issue37502] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-07-04 Thread Markus Mohrhard
Change by Markus Mohrhard : -- keywords: +patch pull_requests: +14409 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14593 ___ Python tracker <https://bugs.python.org/issu

[issue37502] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-07-04 Thread Markus Mohrhard
New submission from Markus Mohrhard : The following piece of code import pickle pickle.loads(pickle.dumps(1, protocol=pickle.HIGHEST_PROTOCOL), buffers=None) fails with "TypeError: 'NoneType' object is not iterable" The corresponding PEP (https://www.python.org/dev/peps/

[issue36382] socket.getfqdn() returns domain "mshome.net"

2019-03-20 Thread Markus
Markus added the comment: I found the IP of mshome.net in an Ethernet adapter "vEthernet" It seems that this adapter stems from Hyper-V. It therefore seems that socket.getfqdn() reported the wrong network adapter once. Because I cannot reproduce this, I leave this is

[issue36382] socket.getfqdn() returns domain "mshome.net"

2019-03-20 Thread Markus
Markus added the comment: Dear Steve, in fact not a Python bug at all. I used 2 commands: ipconfig /release ipconfig /renew and rebootet. This fixed the issue, for now. Also, I found this domain in c:\Windows\System32\drivers\etc\hosts.ics Unclear who created that entry. Documenting

[issue36382] socket.getfqdn() returns domain "mshome.net"

2019-03-20 Thread Markus
New submission from Markus : In a corporate network, `wmic computersystem get domain` returns the correct domain. On some clients, the Python query "socket.getfqdn()" returns the wrong domain, namely "mshome.net" >>> import socket >>> socket.getfqdn()

[issue35671] reserved identifier violation

2019-01-07 Thread Markus Elfring
Markus Elfring added the comment: * How do you think about to reduce the tampering with the reserved name space in mentioned source code (and also in related components)? * Would you like to avoid that this software depends on undefined behaviour

[issue35671] reserved identifier violation

2019-01-06 Thread Markus Elfring
New submission from Markus Elfring : I would like to point out that identifiers like “__DYNAMIC_ANNOTATIONS_H__” and “_Py_memory_order” do not fit to the expected naming convention of the C++ language standard. https://www.securecoding.cert.org/confluence/display/cplusplus/DCL51-CPP.+Do+not

[issue30545] Enum equality across modules: comparing objects instead of values

2018-08-11 Thread Markus Wegmann
Markus Wegmann added the comment: Hi Ethan > Your Enum example in flawless is not an IntEnum, so the error (unable to add > an integer to None) seems entirely unrelated. The TypeError is just a consequence of the faulty Enum identity comparison some lines before. I mentioned the Typ

[issue30545] Enum equality across modules: comparing objects instead of values

2018-08-11 Thread Markus Wegmann
Markus Wegmann added the comment: Hi there! I came as well in contact with this kind of bug. Sadly, I could not replicate it with a simplified toy example. You can experience the bug, if checkout https://github.com/Atokulus/flora_tools/tree/56bb17ea33c910915875214e916ab73f567b3b0c and run

[issue33246] Note in 18.2. json — JSON encoder and decoder is incorrect

2018-04-09 Thread Markus Järvisalo
New submission from Markus Järvisalo : The note in https://docs.python.org/2/library/json.html section "18.2. json — JSON encoder and decoder". The note says incorrectly that JSON is a subset of YAML 1.2 but if you follow the text written in YAML 1.2 specification it states t

[issue31103] Windows Installer Product Version 3.6.2150.0 Offset By 0.0.150.0

2017-08-04 Thread Markus Kramer
Markus Kramer added the comment: Steve, yes: from my point of view, the version in "Programs and Features" should be 3.6.2 or 3.6.2.0 or 3.6.2.150. Eryk, thank you for your explanation - I had a wrong memory about the third field in ProductVersion to be the micro version a

[issue31103] Windows Installer Product Version 3.6.2150.0 Offset By 0.0.150.0

2017-08-02 Thread Markus Kramer
Markus Kramer added the comment: Screenshot of Product Version 3.6.2150.0 -- Added file: http://bugs.python.org/file47056/3.6.2.png ___ Python tracker <http://bugs.python.org/issue31

[issue31103] Windows Installer Product Version 3.6.2150.0 Offset By 0.0.150.0

2017-08-02 Thread Markus Kramer
New submission from Markus Kramer: Each Windows installation has a “product version”. The Windows installer python-3.6.2.exe has product version "3.6.2150.0" (accessible with context menu / Properties / Details). This causes at least 2 problems: - Automated software inventory

[issue29740] Visual C++ CRT security update from 14 June 2011

2017-03-07 Thread Markus
Markus added the comment: I beg pardon to be pedantic. The issue is not MFC, but CRT. The related safety bulletin (https://technet.microsoft.com/library/security/ms11-025) says Your application may be an attack vector if all of the following conditions are true: - Your application

[issue29740] Visual C++ CRT security update from 14 June 2011

2017-03-06 Thread Markus
New submission from Markus: In 14 June 2011 Microsoft released Visual C++ 2008 runtime MFC Security Update https://www.microsoft.com/en-us/download/details.aspx?id=26368 The Security Update also updates the CRT runtime (used by Python 2.7) Without the security update, Python 2.7.13 uses vc90

[issue29351] absolute imports for logging

2017-01-23 Thread Markus Gerstel
Markus Gerstel added the comment: Yes, this is indeed the same for other stdlib modules, too. Logging is just the first one that came to attention in our investigations. I haven't prepared any other patches yet though, because your answer could easily be "No, we cannot consider the

[issue29351] absolute imports for logging

2017-01-23 Thread Markus Gerstel
Changes by Markus Gerstel : -- nosy: +vinay.sajip ___ Python tracker <http://bugs.python.org/issue29351> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29351] absolute imports for logging

2017-01-23 Thread Markus Gerstel
New submission from Markus Gerstel: Running 'import logging' causes at minimum 46 failing 'open' and 12 failing 'stat' calls because python looks for packages inside python/Lib/logging which will never be there, in particular: sys, os, time, cStringIO,

[issue28310] Mixing yield and return with value is allowed

2016-09-29 Thread Markus Unterwaditzer
New submission from Markus Unterwaditzer: The attached example code raises a SyntaxError in Python 2, but is syntactically valid in Python 3. The return value is ignored and an empty generator is produced. I see no reason for this behavioral change. -- components: Interpreter Core

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-13 Thread Markus Holtermann
Markus Holtermann added the comment: Thanks for your input. I remove the versionchanged block. -- Added file: http://bugs.python.org/file44649/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.patch ___ Python tracker <h

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Markus Holtermann added the comment: Thanks for your input, Berker. Updated as suggested. I still include the versionchanged annotation as I suspect more people to look at the docs than the entire changelog -- Added file: http://bugs.python.org/file44615/0001-Enable-WebSocket-URL

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Changes by Markus Holtermann : Removed file: http://bugs.python.org/file44609/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.3.6.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Changes by Markus Holtermann : Removed file: http://bugs.python.org/file44610/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.master.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Markus Holtermann added the comment: Since the patch applies cleanly to the 3.5, 3.6 and master branch I only attached one updated version of it. -- Added file: http://bugs.python.org/file44612/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.patch

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Changes by Markus Holtermann : Removed file: http://bugs.python.org/file44608/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.3.5.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Changes by Markus Holtermann : Added file: http://bugs.python.org/file44609/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.3.6.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Changes by Markus Holtermann : Added file: http://bugs.python.org/file44610/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.master.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Changes by Markus Holtermann : Added file: http://bugs.python.org/file44608/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.3.5.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Markus Holtermann added the comment: As discussed with rbcollins during the KiwiPyCon sprints, I'll add patches for 3.5, 3.6 and master with docs mentioning the addition of `ws` and `wss` as of 3.5.3 -- nosy: +MarkusH ___ Python tracker

[issue25137] Behavioral change / regression? with nested functools.partial

2015-09-18 Thread Markus Holtermann
Markus Holtermann added the comment: Interesting thing tough, this optimization is nowhere mentioned in the 3.5 release notes ;) -- ___ Python tracker <http://bugs.python.org/issue25

[issue25137] Behavioral change / regression? with nested functools.partial

2015-09-15 Thread Markus Holtermann
New submission from Markus Holtermann: Since #7830 nested partials are flattened. This is a behavioral change that causes a test failure in Django because we use nested partials to resolve relationships between models: https://github.com/django/django/pull/4423#issuecomment-138996095 In my

[issue20438] inspect: Deprecate getfullargspec?

2015-09-15 Thread Markus Unterwaditzer
Markus Unterwaditzer added the comment: My last comment was in reference to getfullargspec, which is, as far as I understand, not going to be deprecated until after 3.7. -- ___ Python tracker <http://bugs.python.org/issue20

[issue20438] inspect: Deprecate getfullargspec?

2015-09-15 Thread Markus Unterwaditzer
Markus Unterwaditzer added the comment: It should be properly noted that the API isn't going to be actually removed anytime soon. Also I think issuing a warning about this was a mistake. For software that wants to stay compatible with both Python 2 and 3 it's basical

[issue24711] Document getpass.getpass behavior on ^C

2015-07-24 Thread Markus Unterwaditzer
New submission from Markus Unterwaditzer: getpass.getpass doesn't enter a newline when the user aborts input with ^C, while input/raw_input does. This behavior is surprising and can lead to mis-formatting of subsequent output. However, since this behavior exists since 2.7 and application

[issue23266] Faster implementation to collapse non-consecutive ip-addresses

2015-01-20 Thread Markus
Markus added the comment: Eleminating duplicates before processing is faster once the overhead of the set operation is less than the time required to sort the larger dataset with duplicates. So we are basically comparing sort(data) to sort(set(data)). The optimum depends on the input data

[issue23266] Faster implementation to collapse non-consecutive ip-addresses

2015-01-20 Thread Markus
Markus added the comment: My initial patch was wrong wrt. _find_address_range. It did not loop over equal addresses. Thats why performance with many equal addresses was degraded when dropping the set(). Here is a patch to fix _find_address_range, drop the set, and improve performance again

[issue23266] Faster implementation to collapse non-consecutive ip-addresses

2015-01-18 Thread Markus
Markus added the comment: I just signed the agreement, ewa@ is processing it. -- ___ Python tracker <http://bugs.python.org/issue23266> ___ ___ Python-bugs-list m

[issue23266] Faster implementation to collapse non-consecutive ip-addresses

2015-01-18 Thread Markus
Markus added the comment: Added the testrig. -- Added file: http://bugs.python.org/file37763/testrig.tar.gz ___ Python tracker <http://bugs.python.org/issue23

[issue23266] Faster implementation to collapse non-consecutive ip-addresses

2015-01-18 Thread Markus
New submission from Markus: I found the code used to collapse addresses to be very slow on a large number (64k) of island addresses which are not collapseable. The code at https://github.com/python/cpython/blob/0f164ccc85ff055a32d11ad00017eff768a79625/Lib/ipaddress.py#L349 was found to be

[issue22956] Improved support for prepared SQL statements

2015-01-03 Thread Markus Elfring
Markus Elfring added the comment: Are you really against benefits from reusing of existing application programming interfaces for the explicit preparation and compilation of SQL statements? It seems that other software contributors like Marc-Andre Lemburg and Tony Locke show more

[issue22956] Improved support for prepared SQL statements

2014-11-27 Thread Markus Elfring
Changes by Markus Elfring : -- type: -> enhancement ___ Python tracker <http://bugs.python.org/issue22956> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue22957] Multi-index Containers Library

2014-11-27 Thread Markus Elfring
New submission from Markus Elfring: I find a data structure like it is provided by the "Boost Multi-index Containers Library" interesting for efficient data processing. http://www.boost.org/doc/libs/1_57_0/libs/multi_index/doc/index.html How are the chances to integrate a class li

[issue22956] Improved support for prepared SQL statements

2014-11-27 Thread Markus Elfring
New submission from Markus Elfring: An interface for parameterised SQL statements (working with placeholders) is provided by the execute() method from the Cursor class at the moment. https://docs.python.org/3/library/sqlite3.html#sqlite3.Cursor.execute I assume that the "SQL Statement O

[issue22328] ur'foo\d' raises SyntaxError

2014-09-02 Thread Markus Unterwaditzer
New submission from Markus Unterwaditzer: The string literal `ur'foo\d'` causes a SyntaxError while the equivalent `r'foo\d'` causes the correct string to be produced. -- components: Interpreter Core messages: 226281 nosy: untitaker priority: normal severity: norma

[issue8296] multiprocessing.Pool hangs when issuing KeyboardInterrupt

2014-06-25 Thread Markus Unterwaditzer
Markus Unterwaditzer added the comment: Can this issue or #9205 be reopened as this particular instance of the problem doesn't seem to be resolved? I still seem to need the workaround from http://stackoverflow.com/a/1408476 -- nosy: +unti

[issue16587] Py_Initialize breaks wprintf on Windows

2014-06-23 Thread Markus Kettunen
Markus Kettunen added the comment: > On Linux, std::wcout doesn't use wprintf(). Do you mean that std::wcout also > depends on the "mode" of stdout (_setmode)? Yes, exactly. I originally noticed this bug by using

[issue16587] Py_Initialize breaks wprintf on Windows

2014-06-23 Thread Markus Kettunen
Markus Kettunen added the comment: It's quite common to use wide character strings to support Unicode in C and C++. In C++ this often means using std::wstring and std::wcout. Maybe these are more common than wprintf? In any case the console output breaks as Py_Initialize hijacks the

[issue17656] Python 2.7.4 breaks ZipFile extraction of zip files with unicode member paths

2013-05-27 Thread Markus bela
Changes by Markus bela : -- components: +Windows -Library (Lib), Unicode ___ Python tracker <http://bugs.python.org/issue17656> ___ ___ Python-bugs-list mailin

[issue16587] Py_Initialize breaks wprintf on Windows

2012-11-30 Thread Markus Kettunen
Markus Kettunen added the comment: If the standard streams are not used through Python, this hack can be used to work around the bug on C side: #ifdef WIN32 #include #endif ... Py_Initialize(); #ifdef WIN32 _setmode(stdin->_file, O_TEXT); _setmode(stdout->_file, O_TEXT); _setmode(

[issue16587] Py_Initialize breaks wprintf on Windows

2012-11-30 Thread Markus Kettunen
New submission from Markus Kettunen: In a C application on Windows, at least on MSVC 2010 and Windows 7, do this: wprintf(L"Test\n"); Py_Initialize(); wprintf(L"Test\n"); Output is: Test T e s t I was able to track the issue to fileio.c to the following code block by sea

[issue16399] argparse: append action with default list adds to list instead of overriding

2012-11-03 Thread Markus Amalthea Magnuson
Changes by Markus Amalthea Magnuson : -- title: argparse: -> argparse: append action with default list adds to list instead of overriding ___ Python tracker <http://bugs.python.org/issu

[issue16399] argparse:

2012-11-03 Thread Markus Amalthea Magnuson
New submission from Markus Amalthea Magnuson: If the default value for a flag is a list, and the action append is used, argparse doesn't seem to override the default, but instead adding to it. I did this test script: import argparse parser = argparse.ArgumentParser() parser.add_arg

[issue14818] C implementation of ElementTree: Some functions should support keyword arguments

2012-05-18 Thread Markus
Markus added the comment: SubElement needs to handle the attrib keyword too. -- ___ Python tracker <http://bugs.python.org/issue14818> ___ ___ Python-bugs-list m

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-05-18 Thread Markus
Markus added the comment: New bug - C implementation of ElementTree: Inheriting from Element breaks text member http://bugs.python.org/issue14849 -- ___ Python tracker <http://bugs.python.org/issue13

[issue14849] C implementation of ElementTree: Inheriting from Element breaks text member

2012-05-18 Thread Markus
New submission from Markus : Example Code to reproduce: from xml.etree import ElementTree as etree class xetree: cElement = etree.Element class Element(etree.Element): def __init__(self, tag, attrib=None): xetree.cElement.__init__(self

[issue14818] C implementation of ElementTree: Some functions should support keyword arguments

2012-05-17 Thread Markus
Markus added the comment: Applied the patch, but could not verify 'it works for me' as Element lacks the attrib keyword. -- ___ Python tracker <http://bugs.python.o

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-05-15 Thread Markus
Markus added the comment: As advised I opened a new bug on this: http://bugs.python.org/issue14818 -- ___ Python tracker <http://bugs.python.org/issue13

[issue14818] C implementation of ElementTree causes regressions

2012-05-15 Thread Markus
New submission from Markus : The C implementation of ElementTree which is the default by python3.3 [1] does not accept the namespaces keyword for Element/ElementTree.find(all|iter|...) and maybe others. [1] http://bugs.python.org/issue13988 -- components: Library (Lib) messages

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-05-15 Thread Markus
Markus added the comment: The file was bad, sorry. re-attached -- Added file: http://bugs.python.org/file25599/findall_takes_no_keywords_anymore.py ___ Python tracker <http://bugs.python.org/issue13

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-05-15 Thread Markus
Changes by Markus : Removed file: http://bugs.python.org/file25598/findall_takes_no_keywords_anymore.py ___ Python tracker <http://bugs.python.org/issue13988> ___ ___

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-05-15 Thread Markus
Markus added the comment: Hi, the C implementation of ElementTree do not support namespaces for find/all/... . To me this is a serious regression, as I rely on ElementTree namespace support, and 3.3 would break it with this change. Breaking namespace support is a fundamental problem. Please

[issue11937] Interix support

2011-04-27 Thread Markus Duft
Markus Duft added the comment: since the patch is rather small, and prove to not "fluctuate" too much on releases, i'd be willing to keep maintaining them, although i think that it would not cause too much problems to integrate it int

[issue11937] Interix support

2011-04-27 Thread Markus Duft
Markus Duft added the comment: if the buildbot does not need to be reached from the outside, i could provide one, yes (i'm behind a company firewall/proxy infrastructure) as for the patch: comments and improvement suggestions welcome :) as for interix (actually SUA - Subsystem for

[issue11937] Interix support

2011-04-27 Thread Markus Duft
New submission from Markus Duft : Hey! For a while now, i'm maintaining python build patches for interix for the gentoo prefix project. I thought maybe i can bring them upstream :) currently i have python 2.7.1 building, and i'll start testing python 3.2 in a while... may i ask you

[issue11568] docstring of select.epoll.register() is wrong

2011-03-16 Thread Markus Korn
New submission from Markus Korn : select.epoll.register raises an IOError for already registered fds, however the docstring says the fd gets modified: Python 2.7.1+ (r271:86832, Feb 24 2011, 15:00:15) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or

[issue10803] ctypes: better support of bytearray objects

2011-01-01 Thread Markus F.X.J. Oberhumer
New submission from Markus F.X.J. Oberhumer : Python 3.2b2 does not properly support accessing bytearrays from ctypes, which makes dealing with large buffers somewhat unpleasant. A very first fix - a simple patch for the z_set() function - is given here. build/Python-3.2b2 $ quilt diff Index

[issue9633] pdb go stack up/down

2010-08-18 Thread Markus Pröller
New submission from Markus Pröller : Hello, with python 2.7 I encounter the following problem: I have created the following sample script: import pdb def function_1(number): stack_1 = number function_2(stack_1) def function_2(number): stack_2 = number + 1 function_3

[issue5215] change value of local variable in debug

2010-08-18 Thread Markus Pröller
Markus Pröller added the comment: Okay, thanks for giving me the correct patch, but I still face the following problem (with the same code snippet): > c:\tst_pdb.py(14)function_3() -> print stack_3 (Pdb) l 9 function_3(stack_2) 10 11 def function_3(number

[issue5215] change value of local variable in debug

2010-08-17 Thread Markus Pröller
Markus Pröller added the comment: Hello, I changed pdb.py to the file I added in the attachment (I just used the given patch pdb_cache_f_locals.patch) Then I created the following file: import pdb def function_1(number): stack_1 = number function_2(stack_1) def function_2

[issue5215] change value of local variable in debug

2010-08-17 Thread Markus Pröller
Markus Pröller added the comment: Hello, I have tested this patch since a while. In the meantime I have switched to Python 2.6.5, but the problem that I described above is still there. Another problem that brought the patch is, that when I move a frame up in the stack trace, the variables

[issue7629] Compiling with mingw32 gcc, content of variable "extra_postargs" invalid

2010-01-03 Thread Markus
Markus added the comment: Sorry, my fault. "/MT" was given in "setup.py" of "pylzma". I didn't search properly. Please close. -- ___ Python tracker

[issue7629] Compiling with mingw32 gcc, content of variable "extra_postargs" invalid

2010-01-03 Thread Markus
New submission from Markus : I tried to build "pylzma" with "python setup.py build -cmingw32" and got the following message. C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DWIN32=1 -DCOMPRESS_MF_MT=1 -DWITH_COMPAT=1 -IC:\work\dev\Python26\include -I. -IC:\work\dev\

[issue6334] 3.0/3.1: Bad bug in range() computation (or possible Integer problem)

2009-06-25 Thread Markus F.X.J. Oberhumer
Markus F.X.J. Oberhumer added the comment: Many thanks for your quick fix! ~Markus -- ___ Python tracker <http://bugs.python.org/issue6334> ___ ___ Python-bug

[issue6334] 3.0/3.1: Bad bug in range() computation (or possible Integer problem)

2009-06-24 Thread Markus F.X.J. Oberhumer
New submission from Markus F.X.J. Oberhumer : Please note that the correct answer is 25, and the last element is missing ! This bug does not show on 64-bit versions (but 46337**2 is near 2**31). ~Markus C:\Python31>python Python 3.1rc2 (r31rc2:73414, Jun 13 2009, 16:43:15) [MSC v.1500 32

[issue1681974] mkdtemp fails on Windows if username has non-ASCII character

2009-03-31 Thread Markus Niemistö
Markus Niemistö added the comment: Well, it's not me. As I stated in the problem description, Windows (2000 at least) uses path c:\documents and settings\\local settings\temp as default temp dir, where also python tries to make temp dirs. Now for example if user name is "niemistö&

[issue2140] calculation bug in long() function

2008-02-18 Thread Markus Stoll
Markus Stoll added the comment: thank you for fast reply I see the point and do not want to argue about that (rounding is fine for me). I just think this behaviour makes the long() function pretty much useless. Regards, Markus Am 18.02.2008 um 13:25 schrieb Facundo Batista: > > F

[issue2140] calculation bug in long() function

2008-02-18 Thread Markus Stoll
New submission from Markus Stoll: betrag = 146.95 betrag = float(betrag) betrag = betrag * 100.0 betrag = long(betrag) print betrag gives 14694 as result rather than 14695 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue2140] calculation bug in long() function

2008-02-18 Thread Markus Stoll
Changes by Markus Stoll: -- components: None nosy: must21 severity: normal status: open title: calculation bug in long() function type: behavior versions: Python 2.1.1, Python 2.1.2, Python 2.2, Python 2.2.1, Python 2.2.2, Python 2.2.3, Python 2.3, Python 2.4, Python 2.5