Volunteer opportunities

Tracking opportunities in

672 projects

Showing 1 to 10 of 325 bitesize bugs in Python whose main project language is Python Expand all Collapse all Next »
  • Python
    Primary language
    Python
    More about this project
    ·

    Objects associated to the panel with panel.set_userptr() are never DECREF()ed. Attached file is script to reproduce the leak. Confirmed with Python2.7/3.3.

    4 open 2 days ago http://bugs.python.org/issue18... normal 2 weeks ago
  • Python
    Primary language
    Python
    More about this project
    ·

    At the minimum, we should refer to unicode.org: http://www.unicode.org/versions/Unicode6.1.0/#Database_Changes (for Python 3.3), http://www.unicode.org/versions/Unicode6.2.0/#Database_Changes (for Python 3.4). We may also want to highlight changes that directly affect python programs. For example addition of new characters accepted as decimal digits in UCD 6.1.0.

    1 open 2 days ago http://bugs.python.org/issue18... normal 2 days ago
  • Python
    Primary language
    Python
    More about this project
    ·

    The documentation on generators (outside of PEP 255) does not currently educate the reader on the more specific "generator function" and "generator iterator" terminology, or at least not in any consistent or systematic way. For example, the glossary includes only a single entry for "generator," and that entry does not mention the two more specific forms. I think it would help for general discourse purposes if this distinction were made clearer, while still continuing to allow for the use of the generic word "generator" when the context makes it clear. There are also cases where index entries can be improved in this regard, and where references to the section containing details about generators can still be added. I am in the process of completing a proposed patch.

    2 open 3 days ago http://bugs.python.org/issue15... normal 10 months ago
  • Python
    Primary language
    Python
    More about this project
    ·

    Add an "Interrupt Execution" to the Shell menu, per issue13504, annoyance #3 - "PROBLEM: There’s no obvious way to stop a running program. (Don’t expect them to know Ctrl-C)"

    2 open 3 days ago http://bugs.python.org/issue15... low 11 months ago
  • Python
    Primary language
    Python
    More about this project
    ·

    As a graphical application, IDLE, is shipped, a .desktop file should be included for intallation to /usr/share/applications. Furthermore, a 16x16 pixel version in XPM format of the Python icon should be shipped to accompany the menu entries. Attached is a tarball containing .desktop files for IDLE 2 and 3 as well as the icon.

    4 open 3 days ago http://bugs.python.org/issue15... normal 9 months ago
  • Python
    Primary language
    Python
    More about this project
    ·

    When attempting to detect the presence of CSV headers, delimiters are passed to a regex function without escaping, which causes an exception if a delimiter which has meaning in a regex (e.g. '+', '*' etc.) is used. Code to reproduce: import csv s = csv.Sniffer() s.has_header('"x"+"y"') Trace: Traceback (most recent call last): File "t.py", line 4, in <module> s.has_header('"x"+"y"') File "/usr/lib64/python3.3/csv.py", line 393, in has_header rdr = reader(StringIO(sample), self.sniff(sample)) File "/usr/lib64/python3.3/csv.py", line 183, in sniff self._guess_quote_and_delimiter(sample, delimiters) File "/usr/lib64/python3.3/csv.py", line 268, in _guess_quote_and_delimiter {'delim':delim, 'quote':quotechar}, re.MULTILINE) File "/home/dsc/venv/p3compat/lib64/python3.3/re.py", line 214, in compile return _compile(pattern, flags) File "/home/dsc/venv/p3compat/lib64/python3.3/re.py", line 281, in _compile p = sre_compile.compile(pattern, flags) File "/home/dsc/venv/p3compat/lib64/python3.3/sre_compile.py", line 494, in compile p = sre_parse.parse(p, flags) File "/home/dsc/venv/p3compat/lib64/python3.3/sre_parse.py", line 748, in parse p = _parse_sub(source, pattern, 0) File "/home/dsc/venv/p3compat/lib64/python3.3/sre_parse.py", line 360, in _parse_sub itemsappend(_parse(source, state)) File "/home/dsc/venv/p3compat/lib64/python3.3/sre_parse.py", line 696, in _parse p = _parse_sub(source, state) File "/home/dsc/venv/p3compat/lib64/python3.3/sre_parse.py", line 360, in _parse_sub itemsappend(_parse(source, state)) File "/home/dsc/venv/p3compat/lib64/python3.3/sre_parse.py", line 696, in _parse p = _parse_sub(source, state) File "/home/dsc/venv/p3compat/lib64/python3.3/sre_parse.py", line 360, in _parse_sub itemsappend(_parse(source, state)) File "/home/dsc/venv/p3compat/lib64/python3.3/sre_parse.py", line 569, in _parse raise error("nothing to repeat") sre_constants.error: nothing to repeat

    3 open 4 days ago http://bugs.python.org/issue18... normal 1 week ago
  • Python
    Primary language
    Python
    More about this project
    ·

    [guest@localhost ~]$ python3 Python 3.3.0 (default, Sep 29 2012, 22:07:38) [GCC 4.7.2 20120921 (Red Hat 4.7.2-2)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> license() See http://www.python.org/3.3/license.html >>> 404 answer from webmaster@python.org: Hello, When I use the version of Python distributed by python.org and type "license()" I get the full license text and not the url. It seems like this might be a change made by Red Hat? Either way, the proper place to discuss issues like this is on the Python bug tracker: http://bugs.python.org/ Feel free to report an issue there and the developers can look at it. This email address is actually for reporting problems with the Python.org website! All the best, Michael Foord in Lib/site.py: [guest@localhost cpython]$ sed -n '453,456p' Lib/site.py builtins.license = _Printer( "license", "See http://www.python.org/%.3s/license.html" % sys.version, ["LICENSE.txt", "LICENSE"], [os.path.join(here, os.pardir), here, os.curdir]) [guest@localhost cpython]$

    3 open 5 days ago http://bugs.python.org/issue18... normal 5 days ago
  • Python
    Primary language
    Python
    More about this project
    ·

    Say I have a test module test_foo, which fails to import with ImportError. A reason for this might be a misspelt import in that module. TestLoader().loadTestsFromName swallows the import error and instead crashes with: File "/usr/lib/python2.6/unittest.py", line 584, in loadTestsFromName parent, obj = obj, getattr(obj, part) AttributeError: 'module' object has no attribute 'test_foo' A better thing to do would be to keep the import error and if the next probe is an Attribute error, reraise the import error. An alternative would be to return a test which would then reraise the import error permitting the test suite to be constructed and execute but still reporting the error.

    8 open 6 days ago http://bugs.python.org/issue75... normal 3 years ago
  • Python
    Primary language
    Python
    More about this project
    ·

    The example on this page: http://docs.python.org/2/library/profile.html?highlight=pstats#profile.Profile Shows: import cProfile, pstats, io pr = cProfile.Profile() pr.enable() ... do something ... pr.disable() s = io.StringIO() ps = pstats.Stats(pr, stream=s) ps.print_results() Where "ps.print_results()" should be "ps.print_stats()"

    4 open 1 week ago http://bugs.python.org/issue18... normal 3 weeks ago
  • Python
    Primary language
    Python
    More about this project
    ·

    _imp.init_frozen is not really necessary; you can implement imports entirely using the other frozen-related functions. Because of that it's probably better to simply rewrite PyImport_ImportFrozenModuleObject() to use importlib to make the code easier to maintain and help guarantee consistency with other code.

    1 open 1 week ago http://bugs.python.org/issue18... low 2 weeks ago