[issue24622] tokenize.py: missing EXACT_TOKEN_TYPES

2018-06-06 Thread Aaron Meurer
Aaron Meurer added the comment: I would suggest adding this to the what's new document https://docs.python.org/3.7/whatsnew/3.7.html. The change affects user-facing code (the exact_type attribute of TokenInfo is OP for ... and -> tokens prior to this patch). I would also point

[issue14102] argparse: add ability to create a man page

2018-06-14 Thread Aaron Meurer
Aaron Meurer added the comment: Couldn't such a tool exist outside the standard library. I'm thinking a function that you would import and wrap the parser object, similar to how argcomplete works (https://argcomplete.readthedocs.io/en/latest/index.html). The downside is that

[issue14102] argparse: add ability to create a man page

2018-06-14 Thread Aaron Meurer
Aaron Meurer added the comment: I see. I haven't dug much into the argoarse source, so I don't have a good feel for how feasible such a tool would be to write. Such refactoring would also be useful for generating HTML or RST for the help. I've previously used help2man

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-24 Thread Aaron Hall
Change by Aaron Hall : -- nosy: +Aaron Hall ___ Python tracker <https://bugs.python.org/issue35059> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18054] Add more exception related assertions to unittest

2013-05-28 Thread Aaron Iles
Changes by Aaron Iles : -- nosy: +aliles ___ Python tracker <http://bugs.python.org/issue18054> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18005] faster modular exponentiation in some cases

2013-06-04 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker <http://bugs.python.org/issue18005> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18227] Use Python memory allocators in external libraries like zlib or OpenSSL

2013-06-16 Thread Aaron Iles
Changes by Aaron Iles : -- nosy: +aliles ___ Python tracker <http://bugs.python.org/issue18227> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18203] Replace direct calls to malloc() with PyMem_Malloc() or PyMem_RawMalloc()

2013-06-16 Thread Aaron Iles
Changes by Aaron Iles : -- nosy: +aliles ___ Python tracker <http://bugs.python.org/issue18203> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17902] Document that _elementtree C API cannot use custom TreeBuilder for iterparse or IncrementalParser

2013-06-17 Thread Aaron Oakley
Aaron Oakley added the comment: So sorry, I just found the emails from the bug tracker in my spam folder. Anyhow, I've now signed the CLA. -- ___ Python tracker <http://bugs.python.org/is

[issue16113] Add SHA-3 (Keccak) support

2013-06-26 Thread Aaron Gallagher
Aaron Gallagher added the comment: As long as the reference Keccak code is going to live in the python stdlib anyway, I would /greatly/ appreciate it if the Keccak sponge function was directly exposed instead of just the fixed parameters used for SHA-3. A Keccak sponge can have a much wider

[issue16113] Add SHA-3 (Keccak) support

2013-06-27 Thread Aaron Gallagher
Aaron Gallagher added the comment: https://pypi.python.org/pypi/cykeccak/ is what I've written to do this, for reference. Honestly I hope that the Keccak sponge is directly exposed in openssl (or any other SHA-3 implementation) because of its utility beyond SHA-3. If the source of

[issue13340] list.index does not accept None as start or stop

2013-07-12 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker <http://bugs.python.org/issue13340> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12944] Accept arbitrary files for packaging's upload command

2013-07-15 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker <http://bugs.python.org/issue12944> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13266] Add inspect.unwrap(f) to easily unravel "__wrapped__" chains

2013-07-16 Thread Aaron Iles
Aaron Iles added the comment: My +1 is for the callback based approach. The brevity of the search loop for finding the innermost function is (in my opinion at least) non-obvious, relying on for loops not having their own scope as it does. If a generator based API was adopted instead, I

[issue17902] Document that _elementtree C API cannot use custom TreeBuilder for iterparse or IncrementalParser

2013-08-26 Thread Aaron Oakley
Aaron Oakley added the comment: >From memory, the use case at the time was using a custom TreeBuilder sub-class >fed into a builtin XMLParser object. The code would construct a builder >separately and keep a reference to it around. The builder would delegate calls >to start(),

[issue14877] No option to run bdist_wininst against newer msvc versions on non-windows systems

2012-05-21 Thread Aaron Staley
New submission from Aaron Staley : On a *nix system, bdist_wininst.get_exe_bytes will always return an open wininst-6.0.exe. However, Windows python2.7 is compiled against msvc 9.0 and ideally would take an installer based on wininst-9.0.exe. Windows-64bit needs an installer based on

[issue14877] No option to run bdist_wininst against newer msvc versions on non-windows systems

2012-05-21 Thread Aaron Staley
Aaron Staley added the comment: Sorry, minor correction: We could just rely on plat_name for 64bit. All that is needed is for this table: if self.target_version < "2.4": bv = 6.0 else: bv = 7.1 to

[issue8954] wininst regression: errors when building on linux

2012-05-21 Thread Aaron Staley
Aaron Staley added the comment: I was looking over this patch (as it relates to my bug report: http://bugs.python.org/issue14877?@ok_message=msg%20161314%20created%3Cbr%3Eissue%2014877%20message_count%2C%20messages%20edited%20ok&@template=item) and noticed that this line: +if

[issue14877] No option to run bdist_wininst against newer msvc versions on non-windows systems

2012-05-23 Thread Aaron Staley
Aaron Staley added the comment: Hi Eric, Quick rundown: There are template 'exe' inside distutils/command. bdist_wininst appends to the template to build a customized installer. First the 64 bit bug: http://bugs.python.org/issue6792 With that bug active, I must be able to m

[issue14938] 'import my_pkg.__init__' creates duplicate modules

2012-05-28 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker <http://bugs.python.org/issue14938> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15542] Documentation incorrectly suggests __init__ called after direct __new__ call

2012-08-02 Thread Aaron Staley
New submission from Aaron Staley: The documentation for __new__ at http://docs.python.org/reference/datamodel.html#object.__new__ is: """ object.__new__(cls[, ...]) Called to create a new instance of class cls. __new__() is a static method (special-cased so you need not dec

[issue15762] Windows 8 certification

2012-08-22 Thread Aaron Galea
New submission from Aaron Galea: Hi We have an application created with python2.7 and created into an executable using py2exe. However we are getting an issue with Windows 8 certification due to compiler parameters. We would like to have this application Windows 8 certified but we can'

[issue15762] Windows 8 certification

2012-08-24 Thread Aaron Galea
Aaron Galea added the comment: Its a distutils issue not py2exe. Not sure where I should post about this problem. The change I applied was in msvc9compiler.py in distutils. Once this change has been applied py2exe was rebuild to generate the correct runw.exe with the correct settings in the

[issue12403] Mention sys.displayhook in code module docs and the compile builtin docs

2012-08-27 Thread Aaron Iles
Aaron Iles added the comment: I've submitted a patch which adds a section to the code module's documentation on overriding console output. It attempts to catalogue when sys.stderr, sys.excepthook and sys.displayhook are used to print console output. -- keywords: +patch nos

[issue15475] Correct __sizeof__ support for itertools

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles : -- nosy: +aliles ___ Python tracker <http://bugs.python.org/issue15475> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13266] Add inspect.unwrap(f) to easily unravel "__wrapped__" chains

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles : -- nosy: +aliles ___ Python tracker <http://bugs.python.org/issue13266> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15490] Correct __sizeof__ support for StringIO

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles : -- nosy: +aliles ___ Python tracker <http://bugs.python.org/issue15490> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15436] __sizeof__ is not documented

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles : -- nosy: +aliles ___ Python tracker <http://bugs.python.org/issue15436> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15696] Correct __sizeof__ support for mmap

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles : -- nosy: +aliles ___ Python tracker <http://bugs.python.org/issue15696> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15695] Correct __sizeof__ support for StgDict

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles : -- nosy: +aliles ___ Python tracker <http://bugs.python.org/issue15695> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15513] Correct __sizeof__ support for pickle

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles : -- nosy: +aliles ___ Python tracker <http://bugs.python.org/issue15513> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15629] Add to regrtest the ability to run Lib and Doc doctests

2012-09-16 Thread Aaron Iles
Changes by Aaron Iles : -- nosy: +aliles ___ Python tracker <http://bugs.python.org/issue15629> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12890] cgitb displays tags when executed in text mode

2012-10-29 Thread Aaron Iles
Aaron Iles added the comment: Patch successfully tested on Mac OSX 10.8. No regressions. -- nosy: +aliles ___ Python tracker <http://bugs.python.org/issue12

[issue13266] Add inspect.unwrap(f) to easily unravel "__wrapped__" chains

2012-10-29 Thread Aaron Iles
Aaron Iles added the comment: I've updated the patch for the current default branch (to be Python 3.4) and added documentation to the inspect module for the new unwraps function. Functionally unwraps and it's tests are unchanged. -- Added file: http://bugs.python.org/file27

[issue20970] contradictory documentation for prog option of argparse

2014-03-18 Thread Aaron Meurer
New submission from Aaron Meurer: I hope it's OK to report documentation issues on this tracker. Reading http://docs.python.org/3.4/library/argparse.html#prog I had to do a double take. The documentation states, "By default, ArgumentParser objects uses sys.argv[0] to determine how

[issue20970] contradictory documentation for prog option of argparse

2014-03-18 Thread Aaron Meurer
Aaron Meurer added the comment: The next sentence further confuses things, "This default is almost always desirable because it will make the help messages match how the program was invoked on the command line." It makes it sound like it really did intend to use sys.argv[0]

[issue20010] time.strftime('%z') didn't make +HHMM return in windows xp

2014-04-09 Thread Aaron Meurer
Aaron Meurer added the comment: The docs could be much more clear about this in my opinion. -- nosy: +Aaron.Meurer ___ Python tracker <http://bugs.python.org/issue20

[issue20010] time.strftime('%z') didn't make +HHMM return in windows xp

2014-04-12 Thread Aaron Meurer
Aaron Meurer added the comment: Nowhere at https://docs.python.org/3.5/library/time.html#time.strftime is it indicated that %z behaves differently on different platforms. What it *does* say is %z Time zone offset indicating a positive or negative time difference from UTC/GMT of the form

[issue20010] time.strftime('%z') didn't make +HHMM return in windows xp

2014-04-12 Thread Aaron Meurer
Aaron Meurer added the comment: I also just noticed that the %z entry in the table wasn't added until the Python 3.3 docs, although it apparently works at least in OS X in Python 2.7 (I can't test Windows right now). Was it supposed to be one of the "additional directiv

[issue21290] imaplib.error when importing email package

2014-04-17 Thread Aaron Briel
New submission from Aaron Briel: I see an error when attempting to import the email package on a mac running Python 2.7.6rc1 (v2.7.6rc1:4913d0e9be30+, Oct 27 2013, 20:52:11) . This does not occur on another system running Python 2.7.3 (default, Mar 25 2013, 15:56:58) [GCC 4.4.7 20120313

[issue21290] imaplib.error when importing email package

2014-04-18 Thread Aaron Briel
Aaron Briel added the comment: I had a rouge compiled python file named email.pyc. My apologies. -- ___ Python tracker <http://bugs.python.org/issue21

[issue15795] Zipfile.extractall does not preserve file permissions

2012-10-31 Thread Aaron Train
Aaron Train added the comment: Thanks for the patch. Is this going to be resolved soon? -- nosy: +Aaron.Train ___ Python tracker <http://bugs.python.org/issue15

[issue7741] Allow multiple statements in code.InteractiveConsole.push

2012-12-08 Thread Aaron Iles
Aaron Iles added the comment: Should a new issue be created to decouple "print after every call" from the single vs multiple statement condition that is a blocker for this issue? Or can it be resolved here? On Sunday, 9 December 2012, Nick Coghlan wrote: > > Nick Coghlan a

[issue5289] ctypes.util.find_library does not work under Solaris

2012-12-13 Thread Aaron Iles
Changes by Aaron Iles : -- nosy: +aliles ___ Python tracker <http://bugs.python.org/issue5289> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16959] rlcompleter doesn't work if __main__ can't be imported

2013-01-13 Thread Aaron Meurer
New submission from Aaron Meurer: The rlcompleter module does not work if __main__ cannot be imported, even though it can be used without it. For example, on the App Engine, __main__ is not usable. If one creates the example app described at https://developers.google.com/appengine/docs

[issue16959] rlcompleter doesn't work if __main__ can't be imported

2013-01-13 Thread Aaron Meurer
Aaron Meurer added the comment: For completion, here's the corresponding App Engine issue I opened: http://code.google.com/p/googleappengine/issues/detail?id=8665. -- ___ Python tracker <http://bugs.python.org/is

[issue17075] logging documentation for library cleanup

2013-01-29 Thread Aaron Sherman
New submission from Aaron Sherman: This documentation states that libraries can turn off logging by adding a NullHandler: http://docs.python.org/2/howto/logging.html#configuring-logging-for-a-library This is not entirely true. It only holds true if the application which calls the library has

[issue16500] Add an 'atfork' module

2013-10-16 Thread Aaron Iles
Changes by Aaron Iles : -- nosy: +aliles ___ Python tracker <http://bugs.python.org/issue16500> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21821] The function cygwinccompiler.is_cygwingcc leads to FileNotFoundError under Windows 7

2014-06-23 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker <http://bugs.python.org/issue21821> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14373] C implementation of functools.lru_cache

2014-06-26 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker <http://bugs.python.org/issue14373> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21876] os.rename(src, dst) does nothing when src and dst files are hard-linked

2014-06-27 Thread Aaron Swan
New submission from Aaron Swan: On Linux Red Hat os.rename(src,dst) does nothing when src and dst files are hard-linked. It seems like the expected behavior would be the removal of the src file. This would be in keeping with the documentation that states: "On Unix, if dst exists and

[issue21876] os.rename(src, dst) does nothing when src and dst files are hard-linked

2014-06-27 Thread Aaron Swan
Aaron Swan added the comment: Although using the mv command *does* remove the src file on red hat linux, I can accept that the POSIX requirement that the source *must* be removed might not apply if source is the same as the destination file. It would be nice if the behavior was consistent

[issue21876] os.rename(src, dst) does nothing when src and dst files are hard-linked

2014-06-30 Thread Aaron Swan
Aaron Swan added the comment: At any rate, it is a bit of a nuisance that files remain present when the intent was to move them. -- ___ Python tracker <http://bugs.python.org/issue21

[issue22037] Poor grammar in asyncio TCP echo client example

2014-07-22 Thread Aaron Hill
New submission from Aaron Hill: The last sentence in the explanation of the TCP echo client currently reads: "At run_until_complete() exit, the loop is no more running, so there is no need to stop the loop in case of an error". The grammar should be improved to something like "

[issue22084] Mutating while iterating

2014-07-26 Thread Aaron Brady
New submission from Aaron Brady: Hi, I asked about the inconsistency of the "RuntimeError" being raised when mutating a container while iterating over it here [1], "set and dict iteration" on Aug 16, 2012. [1] http://www.gossamer-threads.com/lists/python/python/1004659

[issue22200] Remove distutils checks for Python version

2014-08-14 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker <http://bugs.python.org/issue22200> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21821] The function cygwinccompiler.is_cygwingcc leads to FileNotFoundError under Windows 7

2014-09-24 Thread Aaron Meurer
Aaron Meurer added the comment: The issue is that that the Anaconda gcc on Windows is a bat file, so it can't find it. Another fix would be to use find_executable. This is because Anaconda has patched find_executalbe (which it also would be good to get backported) diff --git Lib/dist

[issue18216] gettext doesn't check MO versions

2014-10-06 Thread Aaron Hill
Changes by Aaron Hill : -- keywords: +patch nosy: +Aaron1011 Added file: http://bugs.python.org/file36828/gettext-mo-version.patch ___ Python tracker <http://bugs.python.org/issue18

[issue18216] gettext doesn't check MO versions

2014-10-07 Thread Aaron Hill
Aaron Hill added the comment: That sounds good. Should a warning be thrown for an unexpected minor revision? -- ___ Python tracker <http://bugs.python.org/issue18

[issue5843] Normalization error in urlunparse

2014-10-09 Thread Aaron Hill
Aaron Hill added the comment: In order to fix this, I think ParseResult needs to have two additional fields, indicating with an empty prefix or query string are used. Both ParseResult.fragment and ParseResult.query omit the leading '#' or '?' from their value. This ma

[issue7465] Call to another class's constructor in unittest.TestCase.setUp returns the same instance

2009-12-09 Thread Aaron Altman
New submission from Aaron Altman : Not sure if this is intended behavior. I have a baseClass I'm writing tests for. My test architecture has an instance of this baseClass assigned as a member of TestBaseClass(unittest.TestCase) in TestBaseClass.setUp. The problem occurs when tes

[issue7465] Call to another class's constructor in unittest.TestCase.setUp returns the same instance multiple times

2009-12-09 Thread Aaron Altman
Changes by Aaron Altman : -- title: Call to another class's constructor in unittest.TestCase.setUp returns the same instance -> Call to another class's constructor in unittest.TestCase.setUp returns the same instance multiple times _

[issue5555] optparse

2009-03-24 Thread Aaron Sherman
New submission from Aaron Sherman : First off, I want to be clear that this isn't a request for changes to functionality, nor for debate over decisions which have already been made. This is purely a request for correction to mis-statements about the nature and origins of optparse's h

[issue3119] pickle.py is limited by python's call stack

2009-04-08 Thread Aaron Gallagher
Aaron Gallagher added the comment: Okay, here's a new version for the py3k trunk. I'm assuming that this is not going to make it into 2.x at all, because of the API changes. This patch only touches the python version of the code and adds a unit test for testing whether pickle

[issue5555] optparse: clarify option concatenation in docs

2009-07-01 Thread Aaron Sherman
Aaron Sherman added the comment: I'm closing this out, as the previous poster was correct: the module does the right thing, and I misread the documentation. Thanks! -- status: open -> closed ___ Python tracker <http://bugs.python.or

[issue3119] pickle.py is limited by python's call stack

2010-07-19 Thread Aaron Gallagher
Aaron Gallagher added the comment: Here's a patch that fixes the unit tests. A new test was added that tried to test the C implementation of this though none exists. -- keywords: +patch Added file: http://bugs.python.org/file18073/pickle4.

[issue4453] MSI installer shows error message if "Compile .py files to bytecode" option is selected

2010-08-03 Thread Aaron Thomas
Aaron Thomas added the comment: 3.1, yes, same problem 2.7, I'll check what's 2a? Aaron On Aug 3, 2010 10:00 PM, "Terry J. Reedy" wrote: Terry J. Reedy added the comment: Can either of you check 2.7/3.1 or 2a? -- nosy: +tjreedy versions: +Python 2.7 -Py

[issue23224] LZMADecompressor object is only initialized in __init__

2016-12-01 Thread Aaron Hill
Aaron Hill added the comment: I've upload a patch which should address the issue in both the lzma and bz2 modules. -- keywords: +patch nosy: +Aaron1011 Added file: http://bugs.python.org/file45730/fix-lzma-bz2-segfaults.patch ___ Python tr

[issue29403] mock's autospec's behavior on method-bound builtin functions is broken

2017-01-31 Thread Aaron Gallagher
New submission from Aaron Gallagher: Cython will, in the right circumstances, offer a MethodType instance where im_func is a builtin function. Any instance of MethodType is automatically assumed to be a python-defined function (more specifically, a function that has an inspectable signature

[issue29403] mock's autospec's behavior on method-bound builtin functions is broken

2017-01-31 Thread Aaron Gallagher
Aaron Gallagher added the comment: Patch adapted from https://github.com/testing-cabal/mock/pull/389 -- keywords: +patch Added file: http://bugs.python.org/file46468/mock.patch ___ Python tracker <http://bugs.python.org/issue29

[issue29403] mock's autospec's behavior on method-bound builtin functions is broken

2017-02-21 Thread Aaron Gallagher
Changes by Aaron Gallagher : -- pull_requests: +193 ___ Python tracker <http://bugs.python.org/issue29403> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28718] '*' matches entire path in fnmatch

2017-02-26 Thread Aaron Whitehouse
Aaron Whitehouse added the comment: Note that somebody has forked the standard library to implement this: https://github.com/kianxineki/python-wildcard This shows that the actual changes would be pretty small (though pywildcard is based on 2.x code and does not handle the cross-platform slashes

[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

2016-06-17 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker <http://bugs.python.org/issue24294> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24959] unittest swallows part of stack trace when raising AssertionError in a TestCase

2016-07-04 Thread Aaron Sokoloski
Aaron Sokoloski added the comment: I've run into this bug too. Took a while to track down the cause :) -- nosy: +Aaron Sokoloski ___ Python tracker <http://bugs.python.org/is

[issue12345] Add math.tau

2016-08-11 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker <http://bugs.python.org/issue12345> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12345] Add math.tau

2016-08-11 Thread Aaron Meurer
Aaron Meurer added the comment: If this is implemented, it would be (as far as I can tell) the only thing in the math module that isn't also implemented in any of the standard external math libraries. None of numpy, scipy, sympy, or mpmath implement tau (if I'm missing one that ot

[issue12345] Add math.tau

2016-08-11 Thread Aaron Meurer
Aaron Meurer added the comment: I also wonder, if math will be gaining constants that no one uses like tau, if it will also gain constants that people actually do use (currently math just has pi, e, inf, and nan). [i for i in dir(numpy) if isinstance(getattr(numpy, i), float)] reveals

[issue12345] Add math.tau

2016-08-11 Thread Aaron Meurer
Aaron Meurer added the comment: Emanuel Barry, that is both untrue and irrelevant (sorry to be blunt, but that's a total straw man on my and I believe other's argument). The fact that the only mathematical constants in math are pi and e (nan and inf aren't really "mat

[issue16113] Add SHA-3 and SHAKE (Keccak) support

2016-08-21 Thread Aaron Gallagher
Aaron Gallagher added the comment: I'm not sure why one would pick and choose here—SHAKE is part of the NIST SHA-3 standard. -- ___ Python tracker <http://bugs.python.org/is

[issue17413] format_exception() breaks on exception tuples from trace function

2013-03-13 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker <http://bugs.python.org/issue17413> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17901] _elementtree.TreeBuilder raises IndexError on end if constructed with element_factory=None

2013-05-03 Thread Aaron Oakley
New submission from Aaron Oakley: When the _elementtree module is in use, the TreeBuilder class will raise an IndexError in treebuilder_handle_end if __init__ was passed "None". I discovered this while writing a subclass of TreeBuilder with a modified __init__ method that de

[issue17902] Document that _elementtree C API cannot use custom TreeBuilder for iterparse or IncrementalParser

2013-05-03 Thread Aaron Oakley
New submission from Aaron Oakley: It would really help to document that the C API can only use the default xml.etree.ElementTree.TreeBuilder for targets with iterparse (and by extension, IncrementalParser). I got a nice surprise about that when I went from 3.2 to 3.3 and started getting

[issue14537] "Fatal Python error: Cannot recover from stack overflow." with SymPy test suite

2014-10-10 Thread Aaron Meurer
Aaron Meurer added the comment: The OP describes how to get the original code. Anyway, the issue was definitely fixed. -- ___ Python tracker <http://bugs.python.org/issue14

[issue14537] "Fatal Python error: Cannot recover from stack overflow." with SymPy test suite

2014-10-10 Thread Aaron Meurer
Aaron Meurer added the comment: Or do you mean the code in CPython doesn't exist any more? -- ___ Python tracker <http://bugs.python.org/issue14537> ___ ___

[issue14102] argparse: add ability to create a man page

2014-10-13 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker <http://bugs.python.org/issue14102> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18216] gettext doesn't check MO versions

2014-10-17 Thread Aaron Hill
Aaron Hill added the comment: Does anyone have any thoughts about throwing a warning for an unexpected minor revision? -- ___ Python tracker <http://bugs.python.org/issue18

[issue18216] gettext doesn't check MO versions

2014-10-17 Thread Aaron Hill
Aaron Hill added the comment: Okay, then. I'll just leave it out. -- ___ Python tracker <http://bugs.python.org/issue18216> ___ ___ Python-bugs-list m

[issue18216] gettext doesn't check MO versions

2014-10-17 Thread Aaron Hill
Changes by Aaron Hill : Added file: http://bugs.python.org/file36957/gettext-mo-fix-minor-version.patch ___ Python tracker <http://bugs.python.org/issue18216> ___ ___

[issue18216] gettext doesn't check MO versions

2014-10-17 Thread Aaron Hill
Changes by Aaron Hill : Removed file: http://bugs.python.org/file36957/gettext-mo-fix-minor-version.patch ___ Python tracker <http://bugs.python.org/issue18216> ___ ___

[issue18216] gettext doesn't check MO versions

2014-10-17 Thread Aaron Hill
Changes by Aaron Hill : Added file: http://bugs.python.org/file36958/gettext-mo-fixup.patch ___ Python tracker <http://bugs.python.org/issue18216> ___ ___ Python-bug

[issue18216] gettext doesn't check MO versions

2014-10-17 Thread Aaron Hill
Aaron Hill added the comment: I've added a second patch, which properly distinguishes between major and minor revisions, and updates the docs to account for the new behavior. -- ___ Python tracker <http://bugs.python.org/is

[issue18216] gettext doesn't check MO versions

2014-10-25 Thread Aaron Hill
Aaron Hill added the comment: Is there anything that needs to be changed? -- ___ Python tracker <http://bugs.python.org/issue18216> ___ ___ Python-bugs-list mailin

[issue22754] Implicit String Literal Concatenation Is Evil

2014-10-28 Thread Aaron Klish
New submission from Aaron Klish: Implicit string literal concatenation where "string1" "string2" becomes "string1string2" should be a language syntax error - not a feature. This creates a silent error whenever someone builds a list of strings and forgets a com

[issue18216] gettext doesn't check MO versions

2014-10-28 Thread Aaron Hill
Aaron Hill added the comment: Awesome! Thanks! -- ___ Python tracker <http://bugs.python.org/issue18216> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23004] mock_open() should allow reading binary data

2014-12-12 Thread Aaron Hill
Aaron Hill added the comment: I've created a patch that fixes this, and added an accompanying unit test (which fails without the change). -- keywords: +patch nosy: +Aaron1011 Added file: http://bugs.python.org/file37435/mock-open-allow-binary-data.

[issue23004] mock_open() should allow reading binary data

2014-12-13 Thread Aaron Hill
Aaron Hill added the comment: I've created a new patch, which addresses the problem. Your example now currently returns [b'foo\n', b'bar\n'] -- Added file: http://bugs.python.org/file37440/mock-open-allow-binary-data-updated.patch _

[issue23004] mock_open() should allow reading binary data

2014-12-14 Thread Aaron Hill
Aaron Hill added the comment: Thanks, I've fixed that. Not sure why I thought decoding and re-encoding would work with any binary data. I've also updated one of the tests to use non-utf8-decodeable binary data, to prevent a future regression. -- Added file: http://bugs.

[issue23004] mock_open() should allow reading binary data

2014-12-15 Thread Aaron Hill
Aaron Hill added the comment: I've fixed the issues you pointed out. Is there a better way than uploading a new patch file to make changes? -- Added file: http://bugs.python.org/file37458/mock-open-allow-binary-without-coerce-fixup.patch ___ P

[issue23004] mock_open() should allow reading binary data

2014-12-19 Thread Aaron Hill
Aaron Hill added the comment: I've fixed the formatting issues. -- Added file: http://bugs.python.org/file37510/mock-open-allow-binary-data-fix-formatting.patch ___ Python tracker <http://bugs.python.org/is

[issue24418] "make install" will not install pip if already present in user site-packages

2015-06-09 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker <http://bugs.python.org/issue24418> ___ ___ Python-bugs-list mailing list Unsubscribe:

<    1   2   3   4   >