[issue29221] ABC Recursion Error on isinstance() with less than recursion limit class hierarchy depth

2017-01-09 Thread Anthony Scopatz
New submission from Anthony Scopatz: Classes that have an abstract base class somewhere in their hierarchy have a significantly reduced depth with respect to the recursion limit. In the attached minimal example, the class hierarchy is only able to be 245 deep past the ABC before a recursion

[issue28700] test_dbm failure: KeyError: b'0' (intermittent in 3.5, reliable in 3.6)

2017-01-09 Thread Anthony Sottile
Changes by Anthony Sottile <asott...@umich.edu>: -- nosy: +Anthony Sottile ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28700> ___

[issue20094] intermitent failures with test_dbm

2017-01-09 Thread Anthony Sottile
Anthony Sottile added the comment: That doesn't seem to be the problem though, that occurs in both the successful and failure case -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue20094] intermitent failures with test_dbm

2017-01-09 Thread Anthony Sottile
Anthony Sottile added the comment: Stepping through the code, it seems under ndbm it is creating a file with a '.db' extension: ``` (Pdb) list 47 'g': b'intended', 48 } 49 50 def init_db(self): 51 import pdb; pdb.set_trace() 52

[issue20094] intermitent failures with test_dbm

2017-01-09 Thread Anthony Sottile
Anthony Sottile added the comment: I'm seeing this same failure in python3.5 on 16.04 about 20% of the time: ``` $ python3.5 -m test -v test_dbm == CPython 3.5.2 (default, Nov 17 2016, 17:05:23) [GCC 5.4.0 20160609] == Linux-4.4.0-57-generic-x86_64-with-Ubuntu-16.04-xenial little-endian

[issue29110] [patch] Fix file object leak in `aifc.open` when given invalid AIFF file.

2016-12-29 Thread Anthony Zhang
Changes by Anthony Zhang <azha...@gmail.com>: Added file: http://bugs.python.org/file46088/fix_aifc_leak_and_file_object_close.patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue29110] [patch] Fix file object leak in `aifc.open` when given invalid AIFF file.

2016-12-29 Thread Anthony Zhang
New submission from Anthony Zhang: Summary --- This shows up as two closely-related issues: * ``aifc.open`` leaks file object when invalid AIFF file encountered. This is probably a bug. * ``aifc.close`` closes file object even when it didn't open the file object to begin with. While

[issue27901] inspect.ismethod returns different results on the same basic code between Python2.7 Python3.5

2016-08-30 Thread Anthony Flury
Anthony Flury added the comment: Assuming the reader knows the details of how Python works is not a great assumption when those documents are being used (by the most part) by people like me who are reasonable developers but who don't know, and for most cases don't care about the internals

[issue27901] inspect.ismethod returns different results on the same basic code between Python2.7 Python3.5

2016-08-30 Thread Anthony Flury
Anthony Flury added the comment: Not sure I agree with closing this. I am not convinced (as a reasonably seasoned developer) that the documentation is clear. It may not be a bug in the code, resulting as it does from a change in the way methods are implemented in Python 3.5, but I do think

[issue27901] inspect.ismethod returns different results on the same basic code between Python2.7 Python3.5

2016-08-30 Thread Anthony Flury
New submission from Anthony Flury: Consider the following code in Python2.7 & Python3.5 import inspect class a(object): def m(self): pass in Python 2.7 inspect.ismethod(a.m) returns True in Python 3.5 inspect.ismethod(a.m) returns F

[issue26704] unittest.mock.patch: Double patching instance method: AttributeError: Mock object has no attribute '__name__'

2016-05-01 Thread Anthony Sottile
Anthony Sottile added the comment: Seems I've named the patchfile incorrectly -- Hopefully this is correct this time? -- keywords: +patch nosy: +Anthony Sottile Added file: http://bugs.python.org/file42675/2.patch ___ Python tracker <

[issue16662] load_tests not invoked in package/__init__.py

2016-04-25 Thread Anthony Sottile
Anthony Sottile added the comment: I have a hunch that this fix here may be causing this: https://github.com/spotify/dh-virtualenv/issues/148 Minimally: echo 'from setuptools import setup; setup(name="demo")' > setup.py echo 'import pytest' > tests/__init__.py $ python setup

[issue26717] wsgiref.simple_server: mojibake with cp1252 bytes in PATH_INFO

2016-04-20 Thread Anthony Sottile
Anthony Sottile added the comment: PEP states that environ variables are str variables decoded using latin1: https://www.python.org/dev/peps/pep-/#id19 Therefore, to get the original bytes, one must encode using latin1 On Apr 20, 2016 3:46 AM, "Александр Эри" <rep...@bu

[issue25931] os.fork() command distributed in windows Python27 (in SocketServer module)

2016-04-12 Thread Anthony S Valencia
Changes by Anthony S Valencia <anthonysvalen...@gmail.com>: -- nosy: +antvalencia ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26717] wsgiref.simple_server: mojibake with cp1252 bytes in PATH_INFO

2016-04-08 Thread Anthony Sottile
Anthony Sottile added the comment: Forgot to remove the pyver code (leaning a bit too much on pre-commit) -- Added file: http://bugs.python.org/file42405/patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26717] wsgiref.simple_server: mojibake with cp1252 bytes in PATH_INFO

2016-04-08 Thread Anthony Sottile
Anthony Sottile added the comment: Updates after review. -- Added file: http://bugs.python.org/file42404/patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26717] wsgiref.simple_server: mojibake with cp1252 bytes in PATH_INFO

2016-04-08 Thread Anthony Sottile
Anthony Sottile added the comment: Oops, broke b'/%80'. Here's a better fix that now takes: (on the wire) b'\x80' -(decode latin1)-> u'\x80' -(encode utf-8)-> b'\xc2\x80' -(decode latin1)-> u'\xc2\x80' to: (on the wire) b'\x80' -(decode latin1)-> u'\x80' -(encode latin1

[issue26717] wsgiref.simple_server: mojibake with cp1252 bytes in PATH_INFO

2016-04-08 Thread Anthony Sottile
Anthony Sottile added the comment: A few typos in my previous comment, pressed enter too quickly, here's an updated comment: Patch attached with test. In summary: A request to the url b'/\x80' appears to the application as a request to b'/\xc2\x80' -- The issue being the latin1 decoded

[issue26717] wsgiref.simple_server: mojibake with cp1252 bytes in PATH_INFO

2016-04-08 Thread Anthony Sottile
New submission from Anthony Sottile: Patch attached with test. In summary: A request to the url b'/\x80' appears to the application as a request to b'\xc2\x80' -- The issue being the latin1 decoded PATH_INFO is re-encoded as UTF-8 and then decoded as latin1 (on the wire) b'\x80' -(decode

[issue26704] unittest.mock.patch: Double patching instance method: AttributeError: Mock object has no attribute '__name__'

2016-04-06 Thread Anthony Sottile
Anthony Sottile added the comment: Here's an improved patch which: - passes the tests - puts the test in the correct place I'm not entirely happy with the approach -- open to suggestions :) -- Added file: http://bugs.python.org/file42387/patch2

[issue26704] unittest.mock.patch: Double patching instance method: AttributeError: Mock object has no attribute '__name__'

2016-04-06 Thread Anthony Sottile
Anthony Sottile added the comment: The root cause seems to be that autospecced functions return a function object (not a Mock instance) which a '.mock' attribute which is a MagicMock ( assigned here: https://github.com/python/cpython/blob/ae775ab1eb72f42de2d070158bade4bf261ac04f/Lib/unittest

[issue26704] unittest.mock.patch: Double patching instance method: AttributeError: Mock object has no attribute '__name__'

2016-04-06 Thread Anthony Sottile
New submission from Anthony Sottile: Originally from https://github.com/testing-cabal/mock/issues/350 ## Example ```python from unittest import mock class C(object): def f(self): pass c = C() with mock.patch.object(c, 'f', autospec=True): with mock.patch.object(c, 'f

[issue8557] subprocess PATH semantics and portability

2016-03-24 Thread Anthony Sottile
Anthony Sottile added the comment: Here's the workaround I'm opting for: if sys.platform =='win32': distutils.spawn.find_executable(cmd[0]) + cmd[1:] -- nosy: +Anthony Sottile ___ Python tracker <rep...@bugs.python.org> <http://bugs.p

[issue25136] Python doesn't find Xcode 7 stub libraries

2016-02-23 Thread Anthony Foglia
Changes by Anthony Foglia <afog...@gmail.com>: -- nosy: +afoglia ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25136> ___ __

[issue26346] PySequenceMethods documentation missing sq_slice and sq_ass_slice

2016-02-11 Thread Anthony Tuininga
New submission from Anthony Tuininga: These methods are completely missing from the documentation found here: https://docs.python.org/3/c-api/typeobj.html -- assignee: docs@python components: Documentation messages: 260154 nosy: atuining, docs@python priority: normal severity: normal

[issue26346] PySequenceMethods documentation missing sq_slice and sq_ass_slice

2016-02-11 Thread Anthony Tuininga
Anthony Tuininga added the comment: Ah yes. The fields are still there, though, just marked as not used. Interestingly enough they aren't documented in the Python 2 documentation eitherand they are in the Python 2.7 headers I have (not marked as unused either). Your suggestion makes

[issue25930] os.unlink != os.remove in python3.5

2015-12-22 Thread Anthony Sottile
Anthony Sottile added the comment: Breaks this function: ``` def rmtree(path): """On windows, rmtree fails for readonly dirs.""" def handle_remove_readonly(func, path, exc): # pragma: no cover (windows) excvalue = exc[1] i

[issue25930] os.unlink != os.remove in python3.5

2015-12-22 Thread Anthony Sottile
Anthony Sottile added the comment: When calling shutil.rmtree on windows on a readonly directory, the error handler is called with os.unlink as the first argument `func` which fails the check `func in (os.rmdir, os.remove)` which succeeded on previous python versions

[issue25930] os.unlink != os.remove in python3.5

2015-12-22 Thread Anthony Sottile
New submission from Anthony Sottile: I've confirmed this bug is present on both windows and linux, the outputs below are from linux however. Compare: ``` $ python3.4 --version Python 3.4.3 $ python3.4 -c 'import os; print(os.unlink == os.remove)' True ``` ``` $ python3.5 --version Python

[issue25821] Documentation for threading.enumerate / threading.Thread.is_alive is contradictory.

2015-12-07 Thread Anthony Green
Changes by Anthony Green <phon...@gmail.com>: -- assignee: docs@python components: Documentation nosy: anthonygreen, docs@python, pitrou priority: normal severity: normal status: open title: Documentation for threading.enumerate / threading.Thread.is_alive is contradictory. ve

[issue25821] Documentation for threading.enumerate / threading.Thread.is_alive is contradictory.

2015-12-07 Thread Anthony Green
Anthony Green added the comment: The following example comes from IRC user ztane: > import threading, time > > main_thread = threading.current_thread() > > def foo(): > time.sleep(10) > print(main_thread.is_alive()) > print(list(threading.enumerate())) &

[issue25821] Documentation for threading.enumerate / threading.Thread.is_alive is contradictory.

2015-12-07 Thread Anthony Green
New submission from Anthony Green: The documentation at https://docs.python.org/3/library/threading.html#threading.Thread.is_alive relates: > The module function enumerate() returns a list of all alive threads. The documentation at https://docs.python.org/3/library/threading.h

[issue25815] Improper subprocess output of arguments with braces in them on windows

2015-12-06 Thread Anthony Sottile
Anthony Sottile added the comment: It *is* in my path (otherwise it wouldn't produce any output at all). I'm not trying to use the shell builtin, I'm trying to use the executable. -- resolution: not a bug -> status: closed -> open ___

[issue25815] Improper subprocess output of arguments with braces in them on windows

2015-12-06 Thread Anthony Sottile
Anthony Sottile added the comment: To clarify further, the echo.exe on my path reacts correctly: ``` Anthony@AnthonysDesktop MINGW64 ~/Desktop/git/pre-commit (allow_curly_braces_in_args) $ /usr/bin/echo hi{1} hi{1} Anthony@AnthonysDesktop MINGW64 ~/Desktop/git/pre-commit

[issue25815] Improper subprocess output of arguments with braces in them on windows

2015-12-06 Thread Anthony Sottile
New submission from Anthony Sottile: First some expected output: ``` # from cmd.exe C:\Users\Anthony>echo hi{1} hi{1} # from MINGW $ echo hi{1} hi{1} ``` ``` # On ubuntu $ echo 'hi{1}' hi{1} $ python3.5 -c "import subprocess; print(subprocess.check_output(('echo', 'hi{1}')))&qu

[issue25815] Improper subprocess output of arguments with braces in them on windows

2015-12-06 Thread Anthony Sottile
Anthony Sottile added the comment: ``` C:\Users\Anthony> C:\Users\Anthony\AppData\Local\Programs\Git\usr\bin\echo.exe hi{1} hi1 ``` Must be the provider of echo.exe. I'll take it up with them Sorry for the trouble! -- resolution: -> not a bug status: open -&g

[issue24085] large memory overhead when pyc is recompiled

2015-05-01 Thread Anthony Sottile
Anthony Sottile added the comment: I'm still seeing a very large difference: asottile@work:/tmp$ python repro.py ready module 'city_hoods' from '/tmp/city_hoods.pyc' 72604 VmHWM: 72604 kB VmRSS: 60900 kB asottile@work:/tmp$ rm *.pyc; python repro.py ready module 'city_hoods' from

[issue24085] large memory overhead when pyc is recompiled

2015-05-01 Thread Anthony Sottile
Anthony Sottile added the comment: Ah, then 3.4 still has the problem: $ rm -rf __pycache__/ *.pyc; python3.4 repro.py ready module 'city_hoods' from '/tmp/city_hoods.py' 1112892 VmHWM: 1112892 kB VmRSS:127196 kB asottile@work:/tmp$ python3.4 repro.py ready module 'city_hoods' from '/tmp

[issue24085] large memory overhead when pyc is recompiled

2015-05-01 Thread Anthony Sottile
Anthony Sottile added the comment: Attached is repro2.py (slightly different so my editor doesn't hate itself when editing the file) I'll attach the other file in another comment since it seems I can only do one at a time -- Added file: http://bugs.python.org/file39257/repro2.py

[issue24085] large memory overhead when pyc is recompiled

2015-05-01 Thread Anthony Sottile
Anthony Sottile added the comment: 3.4 seems happier: asottile@work:/tmp$ rm *.pyc; python3.4 repro.py ready module 'city_hoods' from '/tmp/city_hoods.py' 77472 VmHWM: 77472 kB VmRSS: 65228 kB asottile@work:/tmp$ python3.4 repro.py ready module 'city_hoods' from '/tmp/city_hoods.py

[issue24085] large memory overhead when pyc is recompiled

2015-05-01 Thread Anthony Sottile
Changes by Anthony Sottile asott...@yelp.com: Added file: http://bugs.python.org/file39259/anon_city_hoods.tar.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24085

[issue24085] large memory overhead when pyc is recompiled

2015-04-30 Thread Anthony Sottile
Anthony Sottile added the comment: Adding `import gc; gc.collect()` doesn't change the outcome afaict -- nosy: +asottile ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24085

[issue12485] textwrap.wrap: new argument for more pleasing output

2015-04-13 Thread Gijsbert Anthony van der Linden
Gijsbert Anthony van der Linden added the comment: Updated the patch and added tests. Fixed a problem with the previous patch: result of map function was assumed to be list, however map in Python3 returns an interator. So I replaced it with a list comprehension. -- nosy

[issue23636] Add scgi to urllib.parse.uses_netloc

2015-03-10 Thread Anthony Ryan
New submission from Anthony Ryan: The scgi protocol is not included in urllib.parse.uses_netloc list, while other less common protocols are (such as gopher). I would like to see scgi get added to this list. -- components: Library (Lib) files: py3bug messages: 237831 nosy: Anthony Ryan

[issue23636] Add scgi to urllib.parse.uses_netloc

2015-03-10 Thread Anthony Ryan
Changes by Anthony Ryan anthonyry...@gmail.com: Added file: http://bugs.python.org/file38435/py2bug ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23636

[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

2015-02-05 Thread Anthony Sottile
Changes by Anthony Sottile asott...@yelp.com: -- nosy: +asottile ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16806 ___ ___ Python-bugs-list

[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

2015-02-05 Thread Anthony Sottile
Anthony Sottile added the comment: Any updates on this? I'm running into this as well (still a problem in 3.4) ```$ python3.4 Python 3.4.2 (default, Oct 11 2014, 17:59:27) [GCC 4.4.3] on linux Type help, copyright, credits or license for more information. import ast ast.parse('''foo\n

[issue22316] Add rule about extraneous whitespace around colon to Whitespace In Expressions and Statements of PEP8

2014-08-31 Thread Anthony Mayer
New submission from Anthony Mayer: After discussion about extraneous whitespace around colons in a list slice not being an error on the pep8 checker project (see https://github.com/jcrocholl/pep8/issues/321#issuecomment-53649841), ncoghlan suggested filing a ticket here to get the issue added

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2014-08-25 Thread Anthony Tuininga
Anthony Tuininga added the comment: I note that this patch has still not been accepted! Please let me know what needs to be done. I just tried against Python 3.4 and the patch works as expected -- other than the starting line number is now 715. I have signed the contributor agreement

[issue22116] Weak reference support for C function objects

2014-08-02 Thread Anthony Kong
Changes by Anthony Kong anthony.hw.k...@gmail.com: -- nosy: +Anthony.Kong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22116 ___ ___ Python-bugs

[issue13272] 2to3 fix_renames doesn't rename string.lowercase/uppercase/letters

2014-07-27 Thread Anthony Kong
Changes by Anthony Kong anthony.hw.k...@gmail.com: -- nosy: +Anthony.Kong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13272 ___ ___ Python-bugs

[issue21983] segfault in ctypes.cast

2014-07-14 Thread Anthony LaTorre
New submission from Anthony LaTorre: I get a segfault when trying to cast a string to a structure. import ctypes class Struct(ctypes.Structure): ... _fields_ = [('a', ctypes.c_uint32)] ... s = '0'*100 ctypes.cast(s,Struct) Segmentation fault The docs (https://docs.python.org/2/library

[issue21983] segfault in ctypes.cast

2014-07-14 Thread Anthony LaTorre
Changes by Anthony LaTorre tlator...@gmail.com: -- components: +ctypes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21983 ___ ___ Python-bugs

[issue21675] Library - Introduction - paragraph 5 - wrong ordering

2014-06-05 Thread Anthony Bartoli
New submission from Anthony Bartoli: From the library's introduction page: This manual is organized “from the inside out:” it first describes the built-in data types... The library manual first describes built-in functions, not data types. After built-in functions, it describes built

[issue19771] runpy should check ImportError.name before wrapping it

2013-12-29 Thread Anthony Kong
Changes by Anthony Kong anthony.hw.k...@gmail.com: -- nosy: +Anthony.Kong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19771 ___ ___ Python-bugs

[issue19850] asyncio: limit EINTR occurrences with SA_RESTART

2013-12-03 Thread Anthony Baire
Anthony Baire added the comment: The patch is fine, but it is hard to rely on it to prevent bugs from happening because that requires cooperation from all modules registering signal handlers. Anyway it facilitates reusing code that was not written for an event-driven context (and many will do

[issue19566] ERROR: test_close (test.test_asyncio.test_unix_events.FastChildWatcherTests)

2013-11-13 Thread Anthony Baire
Anthony Baire added the comment: I confirm the fix. It is clear that the separation between BaseChildWatcher and its subclasses is far from ideal. The first implementation was clean, but as the patch evolved interactions got complex to the point that BaseChildWatcher should not be considered

[issue19566] ERROR: test_close (test.test_asyncio.test_unix_events.FastChildWatcherTests)

2013-11-13 Thread Anthony Baire
Anthony Baire added the comment: I put a cleaner patch here: https://codereview.appspot.com/26220043/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19566

[issue17801] Tools/scripts/gprof2html.py: `#! /usr/bin/env python32.3`

2013-04-20 Thread C Anthony Risinger
New submission from C Anthony Risinger: http://hg.python.org/cpython/file/d499189e7758/Tools/scripts/gprof2html.py#l1 ...should be self explanatory. i didn't run into this myself, but i saw that the Archlinux package was fixing it via `sed`, without the customary link to upstream... so here

[issue5038] urrlib2/httplib doesn't reset file position between requests

2013-03-30 Thread Anthony Kong
Changes by Anthony Kong anthony.hw.k...@gmail.com: -- nosy: +Anthony.Kong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5038 ___ ___ Python-bugs

[issue935117] pkgutil doesn't understand case-senseless filesystems

2013-03-28 Thread Anthony Kong
Changes by Anthony Kong anthony.hw.k...@gmail.com: -- nosy: +Anthony.Kong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue935117 ___ ___ Python-bugs

[issue16976] Asyncore/asynchat hangs when used with ssl sockets

2013-01-15 Thread Anthony Lozano
New submission from Anthony Lozano: If you create a asynchat subclass with a SSL socket asyncore can hang when data larger than the ac_in_buffer_size comes in. What (I think) happens is that asyncore uses a select.select call to determine when to read more data from the socket. On the first

[issue16976] Asyncore/asynchat hangs when used with ssl sockets

2013-01-15 Thread Anthony Lozano
Changes by Anthony Lozano amloza...@gmail.com: -- type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16976 ___ ___ Python-bugs

[issue16467] frozen importlib required for extending Python interpreter not public

2012-11-13 Thread Anthony Tuininga
New submission from Anthony Tuininga: With Python 3.3, the ability to create a Python interpreter independent of a Python installation (as is done with cx_Freeze and other such freezing tools) has become more difficult to accomplish. Py_Initialize() requires the presence of a frozen importlib

[issue16467] frozen importlib required for extending Python interpreter not public

2012-11-13 Thread Anthony Tuininga
Anthony Tuininga added the comment: The file importlib.h is used when building the Python interpreter but it is *not* available in a standard (non-source) distribution of Python. I have copied the file from a source distribution of Python and that does in fact work, but I don`t want to make

[issue16467] frozen importlib required for extending Python interpreter not public

2012-11-13 Thread Anthony Tuininga
Anthony Tuininga added the comment: Thanks to Amaury for his suggestion. It resolves the problem completely and answers the question I had about how to proceed. For others who may come across this, the key was to generate the importlib._bootstrap module (which is what is found in importlib.h

[issue4188] test_threading hang when running as verbose

2012-09-13 Thread Anthony Kong
Changes by Anthony Kong anthony.hw.k...@gmail.com: -- nosy: +Anthony.Kong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4188 ___ ___ Python-bugs

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2012-06-27 Thread Anthony Kong
Changes by Anthony Kong anthony.hw.k...@gmail.com: -- nosy: +Anthony.Kong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13241 ___ ___ Python-bugs

[issue14838] IDLE Will not load on reinstall

2012-05-17 Thread Anthony Kong
Anthony Kong anthony.hw.k...@gmail.com added the comment: Which os? windows or linux or osx? It actually sounds like a support question. You probably should take the question to the python newsgroup (https://groups.google.com/forum/?fromgroups#!forum/comp.lang.python). -- nosy

[issue14833] Copyright date in footer of /pypi says 2011

2012-05-16 Thread Anthony Long
New submission from Anthony Long antl...@gmail.com: http://pypi.python.org/pypi The copyright in the footer says 2011. -- components: None messages: 160928 nosy: antlong priority: normal severity: normal status: open title: Copyright date in footer of /pypi says 2011

[issue14834] A list of broken links on the python.org website

2012-05-16 Thread Anthony Long
New submission from Anthony Long antl...@gmail.com: http://python.org/community/jobs/ http://python.org/community/jobs/www.austinfraser.com \_ error code: 404 (not found) http://python.org/lumino.so \_ error code: 404 (not found) http

[issue14826] urllib2.urlopen fails to load URL

2012-05-16 Thread Anthony Long
Anthony Long antl...@gmail.com added the comment: http://maw.liquifire.com/maw?set=image[2302.000.13314%20a]call=url[file:325x445] works properly. Notice the %20 instead of ' ' -- nosy: +antlong ___ Python tracker rep...@bugs.python.org http

[issue14658] Overwriting dict.__getattr__ is inconsistent

2012-04-24 Thread Anthony Kong
Changes by Anthony Kong anthony.hw.k...@gmail.com: -- nosy: +Anthony.Kong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14658 ___ ___ Python-bugs

[issue14399] zipfile and creat/update comment

2012-03-26 Thread Anthony Kong
Changes by Anthony Kong anthony.hw.k...@gmail.com: -- nosy: +Anthony.Kong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14399 ___ ___ Python-bugs

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2012-03-12 Thread Anthony Tuininga
Anthony Tuininga anthony.tuini...@gmail.com added the comment: All, I have trimmed this patch down to the bare minimum required to solve this problem. Please review this as I would dearly love to have this committed. The error received without this patch is MSIError: unknown error 103

[issue13641] decoding functions in the base64 module could accept unicode strings

2011-12-28 Thread Anthony Kong
Changes by Anthony Kong anthony.hw.k...@gmail.com: -- nosy: +Anthony.Kong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13641 ___ ___ Python-bugs

[issue12853] global name 'r' is not defined in upload.py

2011-08-29 Thread Anthony Kong
Changes by Anthony Kong anthony.hw.k...@gmail.com: -- nosy: +Anthony.Kong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12853 ___ ___ Python-bugs

[issue12811] Tabnanny doesn't close its tokenize files properly

2011-08-22 Thread Anthony Briggs
New submission from Anthony Briggs anthony.bri...@gmail.com: Unlike Python 2, Python 3 warns when files aren't closed properly, which raises lots of warnings when running tabnanny: ~/devinabox/cpython$ ./python -m tabnanny Lib/ /home/anthony/devinabox/cpython/Lib/tabnanny.py:93

[issue6484] No unit test for mailcap module

2011-08-21 Thread Anthony Briggs
Changes by Anthony Briggs anthony.bri...@gmail.com: -- nosy: +anthonyb, ncoghlan versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6484

[issue6484] No unit test for mailcap module

2011-08-21 Thread Anthony Briggs
Anthony Briggs anthony.bri...@gmail.com added the comment: Added ncoghlan to the nosy list - we're reviewing/fixing unit test coverage as part of the sprints at PyconAU. Thanks Gnofi! -- ___ Python tracker rep...@bugs.python.org http

[issue11846] Remove non-guaranteed implementation details from docs.

2011-04-21 Thread Anthony Long
Anthony Long antl...@gmail.com added the comment: I'll have a doc patch shortly. Also, I am working on defining a solid range. Memory is not an issue like it was back in 1991 when this range was originally implemented, so we can go higher and get a bigger performance boost. This will be very

[issue11846] Remove non-guaranteed implementation details from docs.

2011-04-21 Thread Anthony Long
Anthony Long antl...@gmail.com added the comment: My plan is to document it, as it exists, in the current implementation. That's a start atleast, and will provide an entry point for further documentation in the future should it be changed again

[issue11846] Implementation question for (-5) - 256 caching, and doc update for c-api/int.html

2011-04-14 Thread Anthony Long
New submission from Anthony Long antl...@gmail.com: http://docs.python.org/c-api/int.html The current implementation keeps an array of integer objects for all integers between -5 and 256, when you create an int in that range you actually just get back a reference to the existing object. So

[issue6501] Fatal error on startup with invalid PYTHONIOENCODING

2011-04-01 Thread Anthony Tuininga
Changes by Anthony Tuininga anthony.tuini...@gmail.com: -- nosy: +atuining ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6501 ___ ___ Python-bugs

[issue11327] Running test_time.py in python27 caused python to unexpectedly quit

2011-02-25 Thread Anthony Long
New submission from Anthony Long antl...@gmail.com: I ran python test_time.py and python immediately crashed. This is the trace from mac's error reporter: http://dpaste.de/Jsw7/ -- components: Tests messages: 129502 nosy: antlong priority: normal severity: normal status: open

[issue11014] 'filter' argument for Tarfile.add needs to be a keyword-only argument

2011-01-26 Thread Anthony Long
Anthony Long antl...@gmail.com added the comment: Tests trying all positions and expecting an appropriate TypeError should be included. -- nosy: +antlong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11014

[issue11014] 'filter' argument for Tarfile.add needs to be a keyword-only argument

2011-01-26 Thread Anthony Long
Changes by Anthony Long antl...@gmail.com: -- nosy: -antlong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11014 ___ ___ Python-bugs-list mailing

[issue11014] 'filter' argument for Tarfile.add needs to be a keyword-only argument

2011-01-26 Thread Anthony Long
Anthony Long antl...@gmail.com added the comment: Strange, I didn't see it until this email came. Probably an old browser cache. Either way, looks good to me. No issues on mac SL. -- nosy: +antlong ___ Python tracker rep...@bugs.python.org http

[issue5863] bz2.BZ2File should accept other file-like objects.

2011-01-24 Thread Anthony Long
Anthony Long antl...@gmail.com added the comment: Are there tests for this? -- nosy: +antlong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5863

[issue10976] json.loads() throws TypeError on bytes object

2011-01-24 Thread Anthony Long
Anthony Long antl...@gmail.com added the comment: Works for me, py2.7 on snow leopard. -- nosy: +antlong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10976

[issue11002] 'Upload' link on Files page is broken

2011-01-24 Thread Anthony Long
New submission from Anthony Long antl...@gmail.com: On pypi, when you are inside of your packages' files area, the link that is attached to 1. Use the setup.py upload command. # upload is broken, it links to http://www.python.org/doc/dist/package-upload.html which returns a 404. http

[issue8194] Incompatible API change in xmlrpclib.Transport.parse_response() of Python 2.7 and 3.2

2010-10-28 Thread Anthony Long
Anthony Long antl...@gmail.com added the comment: Patched my installation of python27 (via macports, snow leopard) and the patch was successful. Verified patch works in a limited capacity, using yolk. -- nosy: +antlong ___ Python tracker rep

[issue9590] __init__ TypeError reverses expected vs received args

2010-08-13 Thread Anthony Long
New submission from Anthony Long antl...@gmail.com: import unittest from selenium import selenium class SetupSomething(unittest.TestCase): def setUp(self, URL): self.selenium = selenium(localhost, , *firefox, self.URL) def tearDown(self): pass class

[issue9391] Allow docstrings on dicts and named tuples outside of functions or classes.

2010-07-27 Thread Anthony Long
New submission from Anthony Long antl...@gmail.com: I would like to add docstrings to dicts and named tuples. Dicts can be used to hold many different kinds of information, and docstrings would help to shed light on what the dict does to others. Named tuples also should have docstrings, since

[issue9391] Allow docstrings on dicts and named tuples outside of functions or classes.

2010-07-27 Thread Anthony Foglia
Anthony Foglia afog...@gmail.com added the comment: I could see adding a doc parameter to the collections.namedtuple. So that --- Point = collections.namedtuple(Point, (x, y), doc=My point class) Point.__doc__ My point class --- (Or it could keep the currently created docstring and append

[issue9335] LC_CTYPE system setting not respected by setlocale()

2010-07-24 Thread Anthony Long
Anthony Long antl...@gmail.com added the comment: I disagree. It's expected that the function will return valid data. This doesn't return valid data so isalpha() is compromised. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue9335] LC_CTYPE system setting not respected by setlocale()

2010-07-24 Thread Anthony Long
Anthony Long antl...@gmail.com added the comment: The locale is set incorrectly though - so it is not valid data. Valid data is a-Z. nothing more nothing less, and the locale and the alphabet should not be changed. -- ___ Python tracker rep

[issue9365] Installing a distro without sqlite3 will require a reinstall of python to function if installed at a later date

2010-07-23 Thread Anthony Long
New submission from Anthony Long antl...@gmail.com: install a distro of without sqlite3 support. now you should have a /usr/lib/python2.6/sqlite3, which obviously isn't usable. now if you install sqlite3, and try a 'import sqlite3' it still doesn't work. so you have to compile/install

[issue9365] Installing a distro without sqlite3 will require a reinstall of python to function if installed at a later date

2010-07-23 Thread Anthony Long
Anthony Long antl...@gmail.com added the comment: Same behaviour on python 3, http://pastebin.ca/1907343 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9365

[issue9335] LC_CTYPE system setting not respected by setlocale()

2010-07-22 Thread Anthony Long
New submission from Anthony Long antl...@gmail.com: On mac 10.5, python 2.6.4 (via mac ports) performing len(string.letters) will produce 117 instead of 52. from terminal: along-mb:~ along$ locale LANG=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_MONETARY

<    2   3   4   5   6   7   8   >