[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

[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 rep...@bugs.python.org http://bugs.python.org/issue17902

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

2013-06-16 Thread Aaron Iles
Changes by Aaron Iles aaron.i...@gmail.com: -- nosy: +aliles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18227 ___ ___ Python-bugs-list mailing

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

2013-06-16 Thread Aaron Iles
Changes by Aaron Iles aaron.i...@gmail.com: -- nosy: +aliles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18203 ___ ___ Python-bugs-list mailing

[issue18005] faster modular exponentiation in some cases

2013-06-04 Thread Aaron Meurer
Changes by Aaron Meurer asmeu...@gmail.com: -- nosy: +Aaron.Meurer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18005 ___ ___ Python-bugs-list

[issue18054] Add more exception related assertions to unittest

2013-05-28 Thread Aaron Iles
Changes by Aaron Iles aaron.i...@gmail.com: -- nosy: +aliles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18054 ___ ___ Python-bugs-list mailing

[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 delegated

[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

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

2013-03-13 Thread Aaron Meurer
Changes by Aaron Meurer asmeu...@gmail.com: -- nosy: +Aaron.Meurer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17413 ___ ___ Python-bugs-list

[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

[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 rep...@bugs.python.org http://bugs.python.org/issue16959

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

2012-12-13 Thread Aaron Iles
Changes by Aaron Iles aaron.i...@gmail.com: -- nosy: +aliles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5289 ___ ___ Python-bugs-list mailing

[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 added the comment: OK

[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 rep...@bugs.python.org http://bugs.python.org/issue15795

[issue12890] cgitb displays p 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 rep...@bugs.python.org http://bugs.python.org/issue12890

[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/file27790/p13266

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

2012-09-16 Thread Aaron Iles
Changes by Aaron Iles aaron.i...@gmail.com: -- nosy: +aliles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15629 ___ ___ Python-bugs-list mailing

[issue2716] Reimplement audioop because of copyright issues

2012-09-09 Thread Aaron
Aaron added the comment: The license from http://sox.sourcearchive.com/documentation/12.17.7/g711_8c-source.html /* * This source code is a product of Sun Microsystems, Inc. and is provided * for unrestricted use. Users may copy or modify this source code without * charge. * * SUN SOURCE

[issue13212] json library is decoding/encoding when it should not

2012-09-09 Thread Aaron
Aaron added the comment: I think it's worth pointing out that both Firefox and Chrome support the non-standard JSON that Python supports (serializing and deserializing basic types). I'm guessing that communicating with web browsers is the vast majority of JSON IPC. That is to say

[issue15882] _decimal.Decimal constructed from tuple

2012-09-08 Thread Aaron
Aaron added the comment: I did not encounter this in a regular application. I do use the decimal module, and was excited to see the adoption of a faster C version, so I was just reading through the code to see how it worked. I can't think of a situation where I would need to construct

[issue15882] _decimal.Decimal constructed from tuple

2012-09-07 Thread Aaron
New submission from Aaron: I think I may have found a problem with the code that constructs Infinity from tuples in the C _decimal module. # pure python (3.x or 2.x) decimal.Decimal( (0, (0, ), 'F')) Decimal('Infinity') # _decimal decimal.Decimal( (0, (0, ), 'F')) Traceback (most recent

[issue15475] Correct __sizeof__ support for itertools

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles aaron.i...@gmail.com: -- nosy: +aliles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15475 ___ ___ Python-bugs-list mailing

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

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles aaron.i...@gmail.com: -- nosy: +aliles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13266 ___ ___ Python-bugs-list mailing

[issue15490] Correct __sizeof__ support for StringIO

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles aaron.i...@gmail.com: -- nosy: +aliles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15490 ___ ___ Python-bugs-list mailing

[issue15436] __sizeof__ is not documented

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles aaron.i...@gmail.com: -- nosy: +aliles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15436 ___ ___ Python-bugs-list mailing

[issue15696] Correct __sizeof__ support for mmap

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles aaron.i...@gmail.com: -- nosy: +aliles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15696 ___ ___ Python-bugs-list mailing

[issue15695] Correct __sizeof__ support for StgDict

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles aaron.i...@gmail.com: -- nosy: +aliles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15695 ___ ___ Python-bugs-list mailing

[issue15513] Correct __sizeof__ support for pickle

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles aaron.i...@gmail.com: -- nosy: +aliles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15513 ___ ___ Python-bugs-list mailing

[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 nosy: +aliles

[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

[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't get

[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 declare

[issue4640] optparse doesn’t disallow adding one-dash long options (“-option”)

2012-07-09 Thread Aaron
Aaron hacm...@gmail.com added the comment: I came across this bug report and was unable to reproduce the described behavior. I wrote a few test cases demonstrating that the behavior is indeed correct. It passes both against 2.5.2 (the version described in the report) and the lastest 2.7

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

2012-05-28 Thread Aaron Meurer
Changes by Aaron Meurer asmeu...@gmail.com: -- nosy: +Aaron.Meurer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14938 ___ ___ Python-bugs-list

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

2012-05-24 Thread Aaron Staley
Aaron Staley usaa...@gmail.com 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

[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 usaa...@gmail.com: 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

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

2012-05-21 Thread Aaron Staley
Aaron Staley usaa...@gmail.com 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

[issue8954] wininst regression: errors when building on linux

2012-05-21 Thread Aaron Staley
Aaron Staley usaa...@gmail.com 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

[issue14573] json iterencode can not handle general iterators

2012-04-13 Thread Aaron Staley
New submission from Aaron Staley usaa...@gmail.com: The json library's encoder includes a function called 'iterencode'. iterencode allows for encoding to be streamed; as tokens are produced they are yielded. This allows for the encoded object to be streamed to a file, over a socket, etc

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

2012-04-09 Thread Aaron Meurer
New submission from Aaron Meurer asmeu...@gmail.com: Recently, after a small seemingly unrelated refactoring, the SymPy test suite in Python 3 started dying with Fatal Python error: Cannot recover from stack overflow. Here's how to reproduce the error git clone git://github.com/sympy

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

2012-04-09 Thread Aaron Meurer
Aaron Meurer asmeu...@gmail.com added the comment: We do have a stack overflow, but this should be raising a RuntimeError, not killing Python. The way it is now, Python dies completely with abort trap 6 (hence the Mac OS X problem report). Sorry if I didn't make this clear in the OP

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

2012-04-09 Thread Aaron Meurer
Aaron Meurer asmeu...@gmail.com added the comment: No it does not. SymPy is a pure Python library. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14537

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-13 Thread Aaron Staley
Aaron Staley usaa...@gmail.com added the comment: Unfortunately, my application is running so slow under valgrind that behavior is changing, namely the sockets are all timing out. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-13 Thread Aaron Staley
Aaron Staley usaa...@gmail.com added the comment: I see no invalid read/write. Only warnings are some conditional jump depends on uninitialized value in pycrypto's libraries very early on though. The link seems to be a different bug from mine. I did test in python 2.6.7 and the crash still

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-13 Thread Aaron Staley
Aaron Staley usaa...@gmail.com added the comment: BTW, I take back what I said about using PyThreadState_SetAsyncExc. Turns out I had a bug where this function would never succeed (was always returning 0). -- ___ Python tracker rep

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-12 Thread Aaron Staley
Aaron Staley usaa...@gmail.com added the comment: Active extension modules are MySQL-python, numpy, and crypto. Here is the output from the non-optimized debug build. Slightly different trace, but still some sort of deallocator crashing AFAIK: #0 0x0046247c in _Py_ForgetReference

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-12 Thread Aaron Staley
Aaron Staley usaa...@gmail.com added the comment: As far as I can tell, no other thread is active. Their backtraces are all either: #0 0x7f283dedd300 in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00519295 in PyThread_acquire_lock (lock=0xe7dd50, waitflag=1

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-12 Thread Aaron Staley
Aaron Staley usaa...@gmail.com added the comment: I should note that my program is also affected by this bug: http://bugs.python.org/issue13817 (couldn't isolate it until I used the pydebug configure info). -- ___ Python tracker rep

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-12 Thread Aaron Staley
Aaron Staley usaa...@gmail.com added the comment: Used latest mercurial 2.7 branch and segfault still occurs. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13992

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-12 Thread Aaron Staley
Aaron Staley usaa...@gmail.com added the comment: Also, the only particular things by code does is have a lot of threads (100+), holds open many ssh connections (with paramiko) and I do occasionally use PyThreadState_SetAsyncExc to asynchronously terminate threads

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-11 Thread Aaron Staley
New submission from Aaron Staley usaa...@gmail.com: Am frequently getting segmentation faults with my python program. I am utilizing heavy use of threading and sockets. All sorts of ones are showing in syslog: kernel: [7763578.475590] python[10097]: segfault at 88e5a0 ip 0088e5a0 sp

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-11 Thread Aaron Staley
Aaron Staley usaa...@gmail.com added the comment: For some more context: Python 2.7.2 Running on Amazon EC2 Linux 3.0.0-14-virtual x86_64 in ubuntu 11.10 170 threads in this particular core dump (another similar crash has 135) -- ___ Python tracker

[issue13666] datetime documentation typos

2012-01-07 Thread Aaron Maenpaa
Aaron Maenpaa aa...@maenpaa.ca added the comment: This patch fixes the rzinfo typo as well as the GMT2 issue (GMT +2 should behave exactly the same as GMT +1 with regards to DST, it's base offset should simply be +2 hours instead of +1). This does not; however, address the comment about

[issue13666] datetime documentation typos

2012-01-07 Thread Aaron Maenpaa
Aaron Maenpaa aa...@maenpaa.ca added the comment: Looks like the issue of the first line of utcoffsect was also raised in issue 8810. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13666

[issue12005] modulo result of Decimal differs from float/int

2012-01-07 Thread Aaron Maenpaa
Aaron Maenpaa aa...@maenpaa.ca added the comment: Here is a patch that adds an explination for the difference in the behaviour to the FAQ section of the Decimal documentation. -- keywords: +patch nosy: +zacherates Added file: http://bugs.python.org/file24162/issue12005.diff

[issue13730] Grammar mistake in Decimal documentation

2012-01-07 Thread Aaron Maenpaa
New submission from Aaron Maenpaa aa...@maenpaa.ca: In the sentance: In contrast, numbers like 1.1 and 2.2 do not have an exact representations in binary floating point. there is a mismatch in number between an and representations. I suggest removing an to make the whole thing plural

[issue13731] Awkward phrasing in Decimal documentation

2012-01-07 Thread Aaron Maenpaa
New submission from Aaron Maenpaa aa...@maenpaa.ca: The paragraph: The exactness carries over into arithmetic. In decimal floating point, 0.1 + 0.1 + 0.1 - 0.3 is exactly equal to zero. In binary floating point, the result is 5.5511151231257827e-017. While near to zero, the differences

[issue13587] Correcting the typos error in Doc/howto/urllib2.rst

2012-01-07 Thread Aaron Maenpaa
Aaron Maenpaa aa...@maenpaa.ca added the comment: Here's a patch that makes the WWW-Authenticate headers in howto/urllib2 agree with rfc2617. -- keywords: +patch nosy: +zacherates Added file: http://bugs.python.org/file24166/issue13587.diff

[issue13731] Awkward phrasing in Decimal documentation

2012-01-07 Thread Aaron Maenpaa
Aaron Maenpaa aa...@maenpaa.ca added the comment: That's fine. I'm not particularly attached to that phrasing. The one thing I would push for is to add a comma to ... decimal is preferred in accounting applications which have strict equality invariants. ... since, as far as I can tell, which

[issue13050] RLock support the context manager protocol but this is not documented

2012-01-07 Thread Aaron Maenpaa
Aaron Maenpaa aa...@maenpaa.ca added the comment: Here is a patch that adds an note about using Locks, RLocks, Conditions, and Semaphores as context managers to each of their descriptions as well as a link to the Using locks, conditions, and semaphores in the with statement section

[issue13731] Awkward phrasing in Decimal documentation

2012-01-07 Thread Aaron Maenpaa
Aaron Maenpaa aa...@maenpaa.ca added the comment: I can understand what was meant. You're welcome to close the issue. Sorry for the nitpick. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13731

[issue13332] execfile fixer produces code that does not close the file

2011-11-03 Thread Aaron Meurer
Changes by Aaron Meurer asmeu...@gmail.com: -- nosy: +Aaron.Meurer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13332 ___ ___ Python-bugs-list

[issue13060] allow other rounding modes in round()

2011-10-07 Thread Aaron Robson
Aaron Robson shiny.mag...@googlemail.com added the comment: When i run into I have to bodge around it in ways like the below code. I've only ever used round half up, has anyone here even used Bankers Rounding by choice before? For reference here are the other options: http://en.wikipedia.org

[issue13106] Incorrect pool.py distributed with Python 2.7 windows 32bit

2011-10-05 Thread Aaron Staley
Aaron Staley usaa...@gmail.com added the comment: Never mind; looks like this functionality was moved to handle_workers. I had inadvertently been testing under a modified pool.py. Sorry for the inconvenience! -- resolution: - invalid status: open - closed

[issue13106] Incorrect pool.py distributed with Python 2.7 windows 32bit

2011-10-04 Thread Aaron Staley
New submission from Aaron Staley usaa...@gmail.com: The multiprocess/pool.py distributed with the Python 2.7.2 Windows Installer is different from the one distributed with the 64 bit windows installer or source tarball - and is buggy. Specifically, see Pool._terminate_pool: def

[issue12942] Shebang line fixer for 2to3

2011-09-08 Thread Aaron Meurer
New submission from Aaron Meurer asmeu...@gmail.com: As suggested in this thread in the Python porting list (http://mail.python.org/pipermail/python-porting/2011-September/000231.html), it would be nice if 2to3 had a fixer that translated shebang lines from #! /usr/bin/env python

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2011-08-11 Thread Aaron Robson
Changes by Aaron Robson shiny.mag...@googlemail.com: -- nosy: +AaronR ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3561 ___ ___ Python-bugs-list

[issue12006] strptime should implement %V or %u directive from libc

2011-08-11 Thread Aaron Robson
Changes by Aaron Robson shiny.mag...@googlemail.com: -- nosy: +AaronR ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12006 ___ ___ Python-bugs-list

[issue12664] Path variable - Windows installer

2011-07-31 Thread Aaron Robson
New submission from Aaron Robson shiny.mag...@googlemail.com: One of the main barriers to getting a working development environment for me was having to discover that I needed, learn about and find out how to set up the Path variable in Windows. I propose an option in the installer (perhaps

[issue12611] 2to3 crashes when converting doctest using reduce()

2011-07-28 Thread Aaron Meurer
Aaron Meurer asmeu...@gmail.com added the comment: Vladimir will need to confirm how to reproduce this exactly, but here is corresponding SymPy issue: http://code.google.com/p/sympy/issues/detail?id=2605. The problem is with the sympy/ntheory/factor_.py file at https://github.com/sympy/sympy

[issue12611] 2to3 crashes when converting doctest using reduce()

2011-07-25 Thread Aaron Meurer
Changes by Aaron Meurer asmeu...@gmail.com: -- nosy: +Aaron.Meurer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12611 ___ ___ Python-bugs-list

[issue12613] itertools fixer fails

2011-07-25 Thread Aaron Meurer
Changes by Aaron Meurer asmeu...@gmail.com: -- nosy: +Aaron.Meurer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12613 ___ ___ Python-bugs-list

[issue12616] zip fixer fails on zip()[:-1]

2011-07-25 Thread Aaron Meurer
Changes by Aaron Meurer asmeu...@gmail.com: -- nosy: +Aaron.Meurer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12616 ___ ___ Python-bugs-list

[issue12534] Tkinter doesn't support property attributes

2011-07-11 Thread Aaron Stevens
New submission from Aaron Stevens aaron.stev...@molex.com: When using Tkinter in Python 2.6.6, it is impossible to use the new-style properties, as the base classes (Misc, Pack, Place, and Grid) do not use the new style classes. It is easily fixed by changing the class declarations, i.e

[issue12534] Tkinter doesn't support property attributes

2011-07-11 Thread Aaron Stevens
Aaron Stevens aaron.stev...@molex.com added the comment: I forgot add that this is a problem only when inheriting from a Tkinter widget, such as a Frame. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12534

[issue11314] Subprocess suffers 40% process creation overhead penalty

2011-03-02 Thread Aaron Sherman
Aaron Sherman a...@ajs.com added the comment: I think it's still safe to say that high performance applications which need to create many hundreds or thousands of children (e.g. large monitoring systems) will still need another solution that isn't subprocess. That being said, you're right

[issue11314] Subprocess suffers 40% process creation overhead penalty

2011-02-25 Thread Aaron Sherman
Aaron Sherman a...@ajs.com added the comment: That's why I asked for absolute numbers for the overhead difference. Did you not follow the link in my first post? I got pretty detailed, there. os.popen just calls the popen(3) library call, which just performs a fork/execve and some dup/close

[issue11314] Subprocess suffers 40% process creation overhead penalty

2011-02-24 Thread Aaron Sherman
Aaron Sherman a...@ajs.com added the comment: Python 3.2 has a _posixsubprocess: some parts of subprocess are implemented in C. Can you try it? I don't have a Python 3 installation handy, but I can see what I can do tomorrow evening to get one set up and try it out. disagree with the idea

[issue2228] Imaplib speedup patch

2011-02-10 Thread Aaron Kaplan
Aaron Kaplan x348v...@aaronkaplan.info added the comment: Let me clarify. Offlineimap used to ship a modified version of imaplib in its distribution, but eventually the author decided he no longer wanted to maintain his imaplib fork, so he dropped it and went with stock imaplib

[issue10776] os.utime returns an error on NTFS-3G partition

2010-12-26 Thread Aaron Masover
New submission from Aaron Masover amaso...@gmail.com: I'm working with Anki (http://ankisrs.net/) on a linux NTFS-3G partition. Anki requires access to modification times in order to handle its backup files. This works fine on my ext3 partition, but on an NTFS partition accessed with NTFS-3G

[issue10776] os.utime returns an error on NTFS-3G partition

2010-12-26 Thread Aaron Masover
Aaron Masover amaso...@gmail.com added the comment: The Anki author suggested that it was a python bug. However, that example command works on a drive set with different permissions, so this looks more like an NTFS-3G bug. -- status: open - closed

Issue Tracker issues, and a bug in Python

2010-11-11 Thread Hosford, Aaron Michael
Hi all, I found a bug in Python 2.7 involving dictionary comprehensions. I repeatedly tried to register on the Issue Tracker (http://bugs.python.org/) but never received a confirmation email, so I still can't log in and post it there. Maybe someone on this list can post it on my behalf:

[issue2090] __import__ with fromlist=

2010-09-19 Thread Aaron Sterling
Aaron Sterling aaronasterl...@gmail.com added the comment: FWIW, I also get this behavior on 2.6.5 and there are claims that it occurs on 2.6.4 and 3.1.1. see http://stackoverflow.com/questions/3745221/import-calls-init-py-twice/3745273#3745273 -- nosy: +Aaron.Sterling versions

[issue2090] __import__ with fromlist=

2010-09-19 Thread Aaron Sterling
Changes by Aaron Sterling aaronasterl...@gmail.com: -- versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2090

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

2010-08-03 Thread Aaron Thomas
Aaron Thomas aaron.tho...@gmail.com 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 rep...@bugs.python.org wrote: Terry J. Reedy tjre...@udel.edu added the comment: Can either of you check 2.7/3.1 or 2a? -- nosy

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

2010-07-19 Thread Aaron Gallagher
Aaron Gallagher habna...@gmail.com 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.patch

[issue8465] Backreferences vs. escapes: a silent failure solved

2010-04-20 Thread Aaron Sherman
Aaron Sherman a...@ajs.com added the comment: Matthew, thank you for replying. I still think the primary issue is the potential for confusion between single digit escapes and backreferences, and the ease with which they could be addressed, but to cover what you said: Quote: the normal way

[issue8381] IDLE 2.6 freezes on OS X 10.6

2010-04-19 Thread Aaron
Aaron aaron.the@gmail.com added the comment: I just used the biult in mac softwere -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8381

[issue8465] Backreferences vs. escapes: a silent failure solved

2010-04-19 Thread Aaron Sherman
New submission from Aaron Sherman a...@ajs.com: I tested this under 2.6 and 3.1. Under both, the common mistake that I'm sure many others have made, and which cost me quite some time today was: re.sub(r'(foo)bar', '\1baz', 'foobar') It's obvious, I'm sure, to many reading

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

2010-04-15 Thread Aaron Thomas
Aaron Thomas aaron.tho...@gmail.com added the comment: I can verify this will all versions of Windows 7, and the versions of python 32 and 64 bit. I install this at my work to many machines, and every one of them crashes when trying to 'compile py scripts to bytecode' during install. I have

[issue8381] New Window Error

2010-04-12 Thread Aaron
New submission from Aaron aaron.the@gmail.com: When ever I try to open a new window or open a saved file in the IDLE (on a mac) it freezes. I am running snow leppord on a very new mac. -- components: IDLE messages: 102987 nosy: aaron.the.cow severity: normal status: open title: New

[issue7972] Have sequence multiplication call int() or return NotImplemented so that it can be overridden with __rmul__

2010-02-20 Thread Aaron Meurer
New submission from Aaron Meurer asmeu...@gmail.com: This works in Python 2.5 but not in Python 2.6. If you do [0]*5, it gives you [0, 0, 0, 0, 0]. I tried getting this to work with SymPy's Integer class, so that [0]*Integer(5) would return the same, but unfortunately, the sequence

[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 aa...@tomorrowsfunction.com: 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

[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 aa...@tomorrowsfunction.com: -- 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: clarify option concatenation in docs

2009-07-01 Thread Aaron Sherman
Aaron Sherman a...@ajs.com 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 rep...@bugs.python.org http

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

2009-04-08 Thread Aaron Gallagher
Aaron Gallagher habna...@gmail.com 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

[issue5555] optparse

2009-03-24 Thread Aaron Sherman
New submission from Aaron Sherman a...@ajs.com: 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

[issue4708] os.pipe should return inheritable descriptors (Windows)

2009-01-14 Thread Aaron Brady
Aaron Brady castiro...@gmail.com added the comment: This is currently accomplished in 'multiprocessing.forking' with a 'duplicate' function. Use (line #213): rfd, wfd = os.pipe() # get handle for read end of the pipe and make it inheritable rhandle = duplicate

[issue4708] os.pipe should return inheritable descriptors (Windows)

2008-12-20 Thread Aaron Brady
New submission from Aaron Brady castiro...@gmail.com: os.pipe should return inheritable descriptors on Windows. Patch below, test attached. New pipe() returns descriptors, which cannot be inherited. However, their permissions are set correctly, so msvcrt.get_osfhandle

<    1   2   3   4   >