[issue17514] Add the license to argparse.py
Georg Brandl added the comment: Speaking personally, I wouldn't want license boilerplates to start cluttering every file in the Python source tree. They are an annoyance when opening and reading source files. On the other hand, a simple file header would make sense, and make standard library files more consistent, so that you can see in one glance that a module is from the stdlib. Not that I'm motivated to do that :) -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17514 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17514] Add the license to argparse.py
Georg Brandl added the comment: BTW, the correct blurb would probably be # Copyright 200X Steven Bethard. All Rights Reserved. # Licensed to PSF under a Contributor Agreement. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17514 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17539] Use the builtins module in the unittest.mock.patch example
New submission from Berker Peksag: (initially reported at http://mail.python.org/pipermail/docs/2013-February/013331.html ) -- assignee: docs@python components: Documentation files: unittest-mock-example.diff keywords: patch messages: 185187 nosy: berker.peksag, docs@python priority: normal severity: normal status: open title: Use the builtins module in the unittest.mock.patch example versions: Python 3.3, Python 3.4 Added file: http://bugs.python.org/file29570/unittest-mock-example.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17539 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17540] logging formatter support 'style' key in dictionary config
New submission from monson: Since from version 3.2 ``style`` parameter was added in class logging.Formatter, it should be availably configured in configuration dictionary or file. -- components: Library (Lib) files: add-logging-config-key-style.patch keywords: patch messages: 185188 nosy: monson priority: normal severity: normal status: open title: logging formatter support 'style' key in dictionary config type: enhancement versions: Python 3.3 Added file: http://bugs.python.org/file29571/add-logging-config-key-style.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17540 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17514] Add the license to argparse.py
Antoine Pitrou added the comment: I'm not sure that's correct, unless only Steven has ever contributed to it. To be correct, you'd have to list all significant contributors. But still, the maintenance burden of per-file copyright headers (including the need to bump dates now and then) is non-negligible and doesn't seem worth the hassle. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17514 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17526] inspect.findsource raises undocumented error for code objects with empty filename
Tyler Doyle added the comment: It looks like file is getting set to '' and then indexed on line 553 below, hitting the IndexError before we ever get to IOError. --550--- file = getfile(object) -- file = '' sourcefile = getsourcefile(object) if not sourcefile and file[0] + file[-1] != '': -- ''[0] raise IOError('source code not available') file = sourcefile if sourcefile else file --556--- Confirmed in 3.3 -- nosy: +T8y8 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17526 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17514] Add the license to argparse.py
Georg Brandl added the comment: I'm not sure that's correct, unless only Steven has ever contributed to it. To be correct, you'd have to list all significant contributors. Well, then add and contributors :) But we have quite a few files with such a header (one person), which would be wrong. But still, the maintenance burden of per-file copyright headers (including the need to bump dates now and then) is non-negligible and doesn't seem worth the hassle. Agreed. For the OP, it's probably fine for Chromium to put a license header into their own copy of the file. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17514 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17514] Add the license to argparse.py
Antoine Pitrou added the comment: I'm not sure that's correct, unless only Steven has ever contributed to it. To be correct, you'd have to list all significant contributors. Well, then add and contributors :) But we have quite a few files with such a header (one person), which would be wrong. Yeah, it is wrong IMO ;) It also gives a false information about authorship and therefore who's responsible for the code. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17514 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16475] Support object instancing and recursion in marshal
Kristján Valur Jónsson added the comment: Thanks, Martin, for clarifying this. Glad you are seeing improvements Amaury. In fact, large modules can get additional improvements by identifying identical generated constructs from the compiler, like tuples and strings. The compiler isn't very good at this to begin with. I should probably work some more on my recode module and make it public. I am unsure about how whatsnew is handled these days. Is it incrementally updated or managed by someone? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16475 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17541] Importing `webbrowser` module gives NameError in Python 2.7.4rc1
New submission from Aditya: Python 2.7.4rc1 (default, Mar 25 2013, 00:32:18) [GCC 4.7.2] on linux2 Type help, copyright, credits or license for more information. import webbrowser Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/python2.7/webbrowser.py, line 505, in module register_X_browsers() File /usr/lib/python2.7/webbrowser.py, line 489, in register_X_browsers register(browser, None, Chrome(browser)) NameError: global name 'Chrome' is not defined -- components: Library (Lib) messages: 185194 nosy: codeaditya priority: normal severity: normal status: open title: Importing `webbrowser` module gives NameError in Python 2.7.4rc1 type: behavior versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17541 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17534] unittest keeps references to test cases alive
Michael Foord added the comment: Issue 11798 is somewhat related. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17534 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17538] Document XML Vulnerabilties
Hynek Schlawack added the comment: I feel like there should be a warning in Doc/library/xml.rst too. Is there any actual reason why we don’t ship defusedxml with Python and add an easy way to monkeypatch so there’s as little passive barriers as possible to use XML “safely”? I’m sorry I didn’t speak up on when this was discussed on the ML but I found the discussion…depressing. -- assignee: - docs@python components: +Documentation -Library (Lib), XML nosy: +docs@python, hynek type: - security versions: +Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17538 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17541] Importing `webbrowser` module gives NameError in Python 2.7.4rc1
Martin added the comment: This looks like a downstream issue in a patch Debian is applying: http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=nobug=703872 http://patch-tracker.debian.org/patch/series/view/python2.7/2.7.4~rc1-2/webbrowser.diff -- nosy: +gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17541 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16475] Support object instancing and recursion in marshal
Ezio Melotti added the comment: I am unsure about how whatsnew is handled these days. Is it incrementally updated or managed by someone? It's better to add at least a stub to the whatsnew, even if someone will eventually go through it before the release. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16475 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17538] Document XML Vulnerabilties
Christian Heimes added the comment: Donald: Thanks! I'm going to look at your patch later today. Hynek: Because the preferred way is another: use patched expat and pyexpat C modules of defusedexpat. It's a fix on C level and still allows a sane amount of entity expansions. defusedxml disallows any XML document that smells even a tiny bit. This approach needs a) more reviews and b) an API to enable the limitations- -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17538 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17541] Importing `webbrowser` module gives NameError in Python 2.7.4rc1
Gökcen Eraslan added the comment: Yeah, it seems Debian guys forgot to backport these classes: https://github.com/akheron/cpython/blob/master/Lib/webbrowser.py#L275 -- nosy: +gkcn ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17541 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12718] Logical mistake of importer method in logging.config.BaseConfigurator
Bluebird75 added the comment: This issue is closed, but the problems remain that the current version of winpdb is incompatible with django + python 2.7 . I don't really understsand why the issue is closed without any change to python logging library itself. To sum-up the issue: 1. django uses some standard interface of logging 2. winpdb replaces the builtin __import__ with a custom python function 3. logging stores the __import__ value in a class attribute 4. python calls class attributes differently whether they are a builtin function (direct function call) or python function (which becomes a bound method, receiving self as first argument). The problem comes from point 4, but the root of the problem is that logging assumes that it is always storing a builtin function. The documentation fix does not fix the problem. How could winpdb apply this fix ? Should it check that the argument passed to its import replacement are not by mistake a DictConfigurator instance (bound method of logging class) ? That sounds like an ugly workaround for a problem lying in python logging module. The correct fix is that logging should not assume importer to be a builtin function and add some flexibility around this. -- nosy: +Bluebird75 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12718 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17541] Importing `webbrowser` module gives NameError in Python 2.7.4rc1
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +benjamin.peterson resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17541 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12718] Logical mistake of importer method in logging.config.BaseConfigurator
Vinay Sajip added the comment: As suggested in the documentation, you could assign the importer as an attribute of the configurator *instance*, in which case it shouldn't be treated as a bound method. What happens if you use the suggestion in the documentation change referred to here? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12718 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17544] regex code re-raises exceptions on success
New submission from Zdeněk Pavlas: documentation There is a global indicator (per thread) of the last error that occurred. Most functions do not clear this on success, but will set it to indicate the cause of the error on failure. Most functions also return an error indicator, usually NULL if they are supposed to return a pointer, or -1 if they return an integer. /documentation AIUI, the last error global variable should be ignored, unless function fails. This is not the case. To reproduce: 1. call a C function that sets TypeError, but does not return NULL. 2. run a lot of python code, do some I/O.. everything runs fine. 3. run a regexp match, or import the re module. TypeError is raised. -- components: Regular Expressions messages: 185205 nosy: Zdeněk.Pavlas, ezio.melotti, mrabarnett priority: normal severity: normal status: open title: regex code re-raises exceptions on success versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17544 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13802] IDLE Prefernces/Fonts: use multiple alphabets in examples
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +roger.serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13802 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16145] Abort in _csv module
R. David Murray added the comment: It won't be too much longer. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16145 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17545] os.listdir and os.path.join inconsistent on empty path
New submission from Bernard Lang: The empty path '' is considered as an acceptable path in os.path.join, and works as a neutral prefix: print os.path.join('','aaa') === aaa which seems rather natural. But it raises an exception when used as a parameter to os.listdir. Logically, it should then list the current directory. (the alternative would be to raise an exception when os.path.join gets an empty argument). The inconsistency became clear to me when I had to write the following function : def listdirs(path,flist): # Appends to flist all paths to files that # start with path. Argument path can be empty string ''. if path=='' : localist=os.listdir('.') else : localist=os.listdir(path) for f in localist : p=os.path.join(path,f) flist.append(p) if os.path.isdir(p) : listdirs(p,flist) return flist The conditionnal is needed only to avoid the exception, while the code is unique afterwards. This is related to Issue818059, but I did not see how that issue was resolved. Furthermore, the case of the empty path as argument to os.listdir should be documented in http://docs.python.org/2/library/os.html -- components: Library (Lib) messages: 185207 nosy: babou priority: normal severity: normal status: open title: os.listdir and os.path.join inconsistent on empty path type: enhancement versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17545 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12718] Logical mistake of importer method in logging.config.BaseConfigurator
R. David Murray added the comment: See also issue 11470. I admit that this topic confuses me; I'm not sure where the bug is, but it seems to me from reading that issue that assuming the behavior of a builtin is not correct. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12718 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17540] logging formatter support 'style' key in dictionary config
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17540 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17545] os.listdir and os.path.join inconsistent on empty path
R. David Murray added the comment: See also issue 6095. However: rdmurray@hey:~ls '' ls: cannot access : No such file or directory So, the behavior is consistent with the shell. The shell has no equivalent to os.path.join. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17545 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2771] Test issue
Ezio Melotti added the comment: test -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2771] Test issue
Ezio Melotti added the comment: test -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17545] os.listdir and os.path.join inconsistent on empty path
R. David Murray added the comment: By the way, you could write this as: localist = os.listdir(path if path else '.') -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17545 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17239] XML vulnerabilities in Python
Changes by Raynard Sandwick rsandwi...@gmail.com: -- nosy: +rsandwick3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17239 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6699] IDLE: Warn user about overwriting a file that has a newer version on filesystem
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6699 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17546] rename type returned by locals() to livedict
New submission from anatoly techtonik: -locals() returns object that does't walk like a duck. +locals() returns object that does't work like a dict. Much of the confusion with locals() comes from the fact that returned object is labelled a dict, but this heisendict changes its behavior when you're trying to introspect it. So, to give users a hint that this object is different, I propose to rename it to a different type and supply an appropriate help() for it. -- components: Library (Lib) messages: 185213 nosy: techtonik priority: normal severity: normal status: open title: rename type returned by locals() to livedict versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17546 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17025] reduce multiprocessing.Queue contention
Roundup Robot added the comment: New changeset 5022ee7e13a2 by Charles-François Natali in branch 'default': Issue #17025: multiprocessing: Reduce Queue and SimpleQueue contention. http://hg.python.org/cpython/rev/5022ee7e13a2 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17025 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17546] rename type returned by locals() to livedict
Eric Snow added the comment: The documentation seems pretty clear on the nature of the dict returned by locals(). [1] What documentation are you referring to? [1] http://docs.python.org/3.4/library/functions.html#locals -- nosy: +eric.snow type: - enhancement versions: -Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17546 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17546] rename type returned by locals() to livedict
Eric Snow added the comment: Sorry, didn't mean to change the attributed version. However the 2.7 documentation says the same thing. -- versions: +Python 2.7 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17546 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17025] reduce multiprocessing.Queue contention
Charles-François Natali added the comment: Committed, thanks! -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17025 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue444582] Finding programs in PATH, adding shutil.which
Mark Lawrence added the comment: Was a separate issue opened? Is anything outstanding here or can this issue be closed? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue444582 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17526] inspect.findsource raises undocumented error for code objects with empty filename
Nils Bruin added the comment: The most straightforward change I can think of is to change the line if not sourcefile and file[0] + file[-1] != '': to if not sourcefile and (not file or file[0] + file[-1] != ''): That solves the problem in the cases I have observed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17526 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue444582] Finding programs in PATH, adding shutil.which
Thomas Kluyver added the comment: Yes, I opened that as issue 16957, and it has been dealt with. So no objection from me to closing this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue444582 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4630] IDLE: add cursor noblink option
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4630 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue444582] Finding programs in PATH, adding shutil.which
Éric Araujo added the comment: It’s probably too late to address Georg’s comment about reusing os.get_exec_path, so everything is done. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue444582 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17538] Document XML Vulnerabilties
Christian Heimes added the comment: Updated patch with more infos and also a link to defusedexpat. -- Added file: http://bugs.python.org/file29572/xmldocs2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17538 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17544] regex code re-raises exceptions on success
Ezio Melotti added the comment: Can you provide an actual example to reproduce the error? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17544 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17538] Document XML Vulnerabilties
Donald Stufft added the comment: Update looks fine to me, I'm not the best at docs I just wanted to get at least a jumping off point. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17538 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17429] platform.platform() can throw Unicode error
Toshio Kuratomi added the comment: Patch fixing the issues raised in r.david.murray's review: * Merged _find_linux_release_file() back into linux_distribution() and broke out _UNIXCONFDIR module level variable to enable mocking of the unittest data * Fix already present style issue in linux_distribution() code * Separate test_dist_with_unicode() into test_dist_with_utf8 and test_dist_with_latin1 * Moved test data into the setUp() method and broke long lines to under 79 chars * Switched from NamedTempfile() to TemporaryDirectory() = I think this fixes the Windows incompatibility but I can mark the tests as Skip on Windows if that isn't true (I don't have a Windows box to test on). * Removed Misc/NEWS portion of patch * I've switched from os.environ['LC_ALL'] = temp_locale to setlocale(locale.LC_ALL, temp_locale). Testing showed that the former did not provoke the bug while the latter does. Could someone point me at documentation on the difference between these two? I'd like to understand what the two different calls do differently so that I use them correctly in other unittests. -- Added file: http://bugs.python.org/file29573/00175-platform-unicode.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17429 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17547] checking whether gcc supports ParseTuple __format__... erroneously returns yes with gcc 4.8
New submission from Dave Malcolm: It appears that gcc's -Wformat warning changed from being on by default in gcc 4.7 and earlier to being off by default in gcc 4.8, needing to be enabled with -Wformat (or -Wall), if I'm reading: http://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=193304 correctly This breaks CPython's configure.ac test: Check whether GCC supports PyArg_ParseTuple format in that the warning the test is supposed to emit is guarded by -Wformat, hence with gcc 4.8 this test always emits: checking whether gcc supports ParseTuple __format__... yes despite the fact that gcc doesn't. This leads to the pyconfig.h defining HAVE_ATTRIBUTE_FORMAT_PARSETUPLE, and thus we get this error when trying later use the python build to build a C extension module where -Wformat (or -Wall) *is* supplied: In file included from /usr/include/python2.7/Python.h:126:0, from isys.c:20: /usr/include/python2.7/modsupport.h:28:1: error: 'PyArg_ParseTuple' is an unrecognized format function type [-Werror=format=] PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3); Am attaching a work-in-progress patch to supply the missing argument at configure time Note to self: am tracking this downstream as https://bugzilla.redhat.com/show_bug.cgi?id=927358 -- components: Build files: 00175-fix-configure-Wformat.patch keywords: patch messages: 185226 nosy: dmalcolm priority: normal severity: normal stage: patch review status: open title: checking whether gcc supports ParseTuple __format__... erroneously returns yes with gcc 4.8 type: compile error versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 Added file: http://bugs.python.org/file29574/00175-fix-configure-Wformat.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17547 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17544] regex code re-raises exceptions on success
Zdeněk Pavlas added the comment: static PyObject* foo(PyObject *, PyObject *arg) { void *buf; Py_ssize_t size; if (PyObject_AsReadBuffer(arg, buf, size)) size = -1; return PyInt_FromLong(size); } import tst, re re.search(a, a) _sre.SRE_Match object at 0xb76d0950 tst.foo(abc) 3 re.search(a, a) _sre.SRE_Match object at 0xb76d0950 tst.foo(None) -1 re.search(a, a) TypeError: expected a readable buffer object -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17544 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9420] gdbm with /usr/include/ndbm.h
Eric Wald added the comment: The approach used in 2.7.4rc1 also works, building cleanly on LFS 7.2; thank you. -- nosy: +eswald ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9420 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue708007] TelnetPopen3, TelnetBase, Expect split
Terry J. Reedy added the comment: As per Guido's core-mentorship list post: Please close -- nosy: +terry.reedy resolution: - rejected stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue708007 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17544] regex code re-raises exceptions on success
Amaury Forgeot d'Arc added the comment: The returned value and the global indicator are not independent. C functions should not set an error while returning a valid value. The same behavior will occur in random places -- for example, for x in range(2): pass also triggers the issue, this is not specific to the re module. If you compile python in debug mode (--with-pydebug) an additional (and expensive) check is done and will print XXX undetected error. One of the reasons is that accessing the global indicator is an expensive operation, compared to checking the returned value. But there are cases when this cannot be done. For example, PyIter_Next() returns NULL at the end of the loop, and one must call PyErr_Occurred() to check for errors. In the _sre.c case though, it looks more like laziness: intermediate returned values are not checked, and PyErr_Occurred() is called at the end. Bad. -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17544 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue886488] popen2 on Windows does not check _fdopen return value
Terry J. Reedy added the comment: In particular, the popen2 entry says Deprecated since version 2.6: This module is obsolete. Use the subprocess module. Check especially the Replacing Older Functions with the subprocess Module section. On core-mentorship list, Guido answered 'Sure'. [close it] Let's hope that subprocess does better. -- nosy: +terry.reedy resolution: - wont fix stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue886488 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10752] build_ssl.py is relying on unreliable behaviour of os.popen
Gabi Davar added the comment: possibly better patch - uses subprocess' quoting logic for argument handling: diff -r 6fc9103d55f0 PCbuild/build_ssl.py --- a/PCbuild/build_ssl.py Sun Mar 24 14:54:25 2013 -0700 +++ b/PCbuild/build_ssl.py Mon Mar 25 17:28:19 2013 +0200 @@ -47,10 +47,10 @@ # is available. def find_working_perl(perls): for perl in perls: -fh = os.popen('%s -e use Win32;' % perl) -fh.read() -rc = fh.close() -if rc: +import subprocess +try: +subprocess.check_call([perl, '-e', 'use Win32;'], shell=True) +except subprocess.CalledProcessError: continue return perl print(Can not find a suitable PERL:) -- nosy: +Gabi.Davar ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10752 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout
emmanuel added the comment: Kevin, I now fully agree with you. Regarding points 2 3 I dismissed modifying sys.stdin/out in python out of hand because it still would not allow to have a proper behaviour with two concurrent consoles on the same interpreter. Anyway this is not a very meaningful use-case, so modifying sys.stdin/out looks like the best solution. As for point 1, it can be worked around in a twisted and probably non-portable way (setting PyOS_ReadlineFunctionPointer to a custom function that forks a child which runs GNU readline or whatnot on its fds 0,1,2, and which communicates with the parent through pipes) but it's a pity that from PyOS_Readline() on, argument sys_stdin is correctly passed down, and that the chain has only this gap in tok_nextc() which dismisses the caller's argument and uses plain stdin. If the user arguments are not used, why does PyRun_InteractiveLoop() take any arguments at all? It would be nice to know the opinion of the python development team and to work out a complete fix (considering also stdout as you suggest) under their authority. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14916 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5135] Expose simplegeneric function in functools module
Terry J. Reedy added the comment: Guido said Please don't introduce this without a PEP. and that has not happened and if it did, the result would probably look quite different from the patches. So this is 'unripe' and no current action here is possible. -- nosy: +terry.reedy resolution: - later status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5135 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5135] Expose simplegeneric function in functools module
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5135 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9246] os.getcwd() hardcodes max path len
STINNER Victor added the comment: For the record, os.getcwd() of Python 2 was improved by 96adf96d861a (issue #2722) to use a dynamic buffer. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9246 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17317] Benchmark driver should calculate actual benchmark count in -h
Roundup Robot added the comment: New changeset 3be9e07a2df4 by Brett Cannon in branch 'default': Issue #17317: Have the benchmark count from -h properly reflect the http://hg.python.org/benchmarks/rev/3be9e07a2df4 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17317 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17317] Benchmark driver should calculate actual benchmark count in -h
Brett Cannon added the comment: Thanks for being so patient, Anuj! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17317 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16880] Importing imp will fail if dynamic loading not supported
Changes by Brett Cannon br...@python.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16880 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9246] os.getcwd() hardcodes max path len
STINNER Victor added the comment: test_posix.py of Python 3 contains the test, but the test is disabled (dead code): def test_getcwd_long_pathnames(self): if hasattr(posix, 'getcwd'): dirname = 'getcwd-test-directory-0123456789abcdef-01234567890abcdef' curdir = os.getcwd() base_path = os.path.abspath(support.TESTFN) + '.getcwd' try: os.mkdir(base_path) os.chdir(base_path) except: # Just returning nothing instead of the SkipTest exception, # because the test results in Error in that case. # Is that ok? #raise unittest.SkipTest(cannot create directory for testing) return def _create_and_do_getcwd(dirname, current_path_length = 0): try: os.mkdir(dirname) except: raise unittest.SkipTest(mkdir cannot create directory sufficiently deep for getcwd test) os.chdir(dirname) try: os.getcwd() if current_path_length 1027: _create_and_do_getcwd(dirname, current_path_length + len(dirname) + 1) finally: os.chdir('..') os.rmdir(dirname) _create_and_do_getcwd(dirname) finally: os.chdir(curdir) support.rmtree(base_path) See the issue #17516 for removal of dead code. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9246 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17516] Dead code should be removed
STINNER Victor added the comment: For the dead code in test_posix.py, see issue #9246. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17516 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17516] Dead code should be removed
Georg Brandl added the comment: The instance in reindent.py uses the docstring for attributes feature that some documentation tools supports, which is a unused string *after* the attribute. When you turn that into a comment, put the comment *before* the attribute. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17516 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17316] Add Django 1.5 to benchmarks
Roundup Robot added the comment: New changeset f4e99b589c5f by Brett Cannon in branch 'default': Issue #17316: Add Django 1.5 to the benchmark suite since it works on http://hg.python.org/benchmarks/rev/f4e99b589c5f -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17316 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17316] Add Django 1.5 to benchmarks
Changes by Brett Cannon br...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17316 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5445] codecs.StreamWriter.writelines problem when passed generator
Terry J. Reedy added the comment: I find this to be a confusing issue. 1. The arg for .join is any iterable of strings, not just a list. (I think Daniel got that.) Since codecs.py still has self.write(''.join(list)): a) calling the arg 'list' is doubly wrong. b) there is no iterable feature to add, at least not to the base class. 2. The codecs.writelines entry says Writes the concatenated list of strings to the stream (possibly by reusing the write() method). For the base class, that is overly restrictive, but I gather that Marc-Andre does not want to require that all subclasses be as relaxed. I presume there must be a reason. That means that the feature request of doing so is rejected by him. In that respect, this should be closed unless other developers strongly disagree. 3. The iobase.writelines entry says Write a list of lines to the stream. For StreamIO, iter(somelist) works just as well. If that applies to .writelines in general, the doc should say 'iterable of lines'. (Antoine, Benjamin?) If io.writelines does the same (concatenate all together), it should say so, but one comment suggests it does not 4. If an iterable produces millions of lines, it does not matter if it is a list, generator, or any other iterable. So the title does not point to the real problem, if there is one. -- nosy: +benjamin.peterson, pitrou, terry.reedy stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5445 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17046] test_subprocess test_executable_without_cwd fails when run with installed python
Ned Deily added the comment: Test is still failing for 3.3.1rc1 and 3.2.4rc1. -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17046 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5445] codecs.StreamWriter.writelines problem when passed generator
Marc-Andre Lemburg added the comment: On 25.03.2013 23:11, Terry J. Reedy wrote: 2. The codecs.writelines entry says Writes the concatenated list of strings to the stream (possibly by reusing the write() method). For the base class, that is overly restrictive, but I gather that Marc-Andre does not want to require that all subclasses be as relaxed. I presume there must be a reason. That means that the feature request of doing so is rejected by him. In that respect, this should be closed unless other developers strongly disagree. The doc string of the base class merely describes what the .writelines() method will be doing. It's not meant as a requirement. In one of the previous messages, I've already outlined a workable approach to solve the case that the original request was addressing. There isn't much point in making the common case slower just to address a theoretical corner case. Since no patch has since been submitted, I'd suggest to close the ticket as won't fix or out of date. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5445 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5445] codecs.StreamWriter.writelines problem when passed generator
Benjamin Peterson added the comment: Agreed. Modern consumers can use the io module. -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5445 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17120] Mishandled _POSIX_C_SOURCE and _XOPEN_SOURCE in pyconfig.h
RAW added the comment: Does anyone ever respond to reported issues here? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17120 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17120] Mishandled _POSIX_C_SOURCE and _XOPEN_SOURCE in pyconfig.h
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - needs patch versions: -Python 2.6, Python 3.1, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17120 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17120] Mishandled _POSIX_C_SOURCE and _XOPEN_SOURCE in pyconfig.h
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17120 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17516] Dead code should be removed
Roundup Robot added the comment: New changeset 313bcff51900 by Victor Stinner in branch 'default': Issue #17516: use comment syntax for comments, instead of multiline string http://hg.python.org/cpython/rev/313bcff51900 New changeset 33bdd0a985b9 by Victor Stinner in branch 'default': Issue #17516: do not create useless tuple: remove dummy commas in tests http://hg.python.org/cpython/rev/33bdd0a985b9 New changeset 9dba3bc7c2a6 by Victor Stinner in branch 'default': Issue #17516: remove dead code http://hg.python.org/cpython/rev/9dba3bc7c2a6 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17516 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17548] unittest.mock: test_create_autospec_unbound_methods is skipped
STINNER Victor added the comment: Oh, there is another skipped test in Lib/unittest/test/testmock/testpatch.py: def test_patch_descriptor(self): # would be some effort to fix this - we could special case the # builtin descriptors: classmethod, property, staticmethod return -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17548 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17323] Disable [X refs, Y blocks] ouput in debug builds
Roundup Robot added the comment: New changeset 367167f93c30 by Ezio Melotti in branch 'default': #17323: The [X refs, Y blocks] printed by debug builds has been disabled by default. It can be re-enabled with the `-X showrefcount` option. http://hg.python.org/cpython/rev/367167f93c30 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17323 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12718] Logical mistake of importer method in logging.config.BaseConfigurator
Roundup Robot added the comment: New changeset e35eafc872cd by Vinay Sajip in branch '2.7': Issue #12718: Set importer on instance if Python function, to avoid bad interaction with winpdb. http://hg.python.org/cpython/rev/e35eafc872cd -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12718 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17516] Dead code should be removed
STINNER Victor added the comment: test_create_autospec_unbound_methods() of Lib/unittest/test/testmock/testhelpers.py contains dead code because of a known issue. I created issue #17548 to track this function. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17516 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17548] unittest.mock: test_create_autospec_unbound_methods is skipped
New submission from STINNER Victor: While working on #17516, I saw that test_create_autospec_unbound_methods() of Lib/unittest/test/testmock/testhelpers.py is skipped: def test_create_autospec_unbound_methods(self): # see mock issue 128 # this is expected to fail until the issue is fixed return Related entry in mock bug tracker: http://code.google.com/p/mock/issues/detail?id=128 If it is not necessary to duplicate the issue here, please just close it. -- components: Library (Lib), Tests messages: 185249 nosy: haypo, michael.foord priority: normal severity: normal status: open title: unittest.mock: test_create_autospec_unbound_methods is skipped versions: Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17548 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout
Kevin Barry added the comment: emmanuel, The Python interpreter isn't reentrant, so you could only run two interactive sessions connected to the same Python environment if you implemented your own REPL function that unlocked the GIL when waiting for input, then lock it just long enough to interpret the input. Also, the readline module already does what you suggest (sets PyOS_ReadlineFunctionPointer to a GNU libreadline wrapper.) My readline hack (working.c) forces it to behave as it's supposed to. Rather, it *undoes* what PyRun_InteractiveLoop does every iteration, which is pass stdin/stdout for I/O, which libreadline in turn uses. I agree that it would be nice to get a Python developer involved, mostly because I expect things to break when this problem is fixed. Bad things happen when you think you've tested a lot of different cases that actually turn out to be the exact same case. Kevin Barry -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14916 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17516] Dead code should be removed
STINNER Victor added the comment: Thanks for the different reviews. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17516 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17120] Mishandled _POSIX_C_SOURCE and _XOPEN_SOURCE in pyconfig.h
Changes by RAW rich...@wetafx.co.nz: -- status: languishing - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17120 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15575] Tutorial is unclear on multiple imports of a module.
jamesob added the comment: Howdy; attached is a patch containing the doc changes. I figured that some elaboration was in addition to what r.david.murray recommended, so I've included a brief allusion to the problem of equivalent paths. -- keywords: +patch nosy: +jamesob Added file: http://bugs.python.org/file29575/module_multi_exec_doc_27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15575 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5135] Expose simplegeneric function in functools module
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5135 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17526] inspect.findsource raises undocumented error for code objects with empty filename
Changes by Tyler Doyle kingt...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file29576/inspect.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17526 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17526] inspect.findsource raises undocumented error for code objects with empty filename
Tyler Doyle added the comment: Patch and test to accompany. -- Added file: http://bugs.python.org/file29577/test_inspect.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17526 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17538] Document XML Vulnerabilties
Éric Araujo added the comment: LGTM. -- nosy: +eric.araujo versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17538 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com