[issue14833] Copyright date in footer of /pypi says 2011
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14833 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14834] A list of broken links on the python.org website
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://python.org/community/jobs/www.osrecruit.com \_ error code: 404 (not found) http://python.org/community/jobs/www.tech.myemma.com \_ error code: 404 (not found) http://python.org/community/jobs/www.oxfordknight.co.uk \_ error code: 404 (not found) http://python.org/download/releases/2.0.1/ http://python.org/download/releases/2.0.1/ftp/python/2.0.1/Python-2.0.1-Debug.zip \_ error code: 404 (not found) http://python.org/download/releases/2.5.6/ http://python.org/download/releases/2.5.6/md5sum.py \_ error code: 404 (not found) http://python.org/download/releases/3.1.4/ http://python.org/download/releases/3.1.4/python-3.1.4.msi.asc \_ error code: 404 (not found) http://python.org/download/releases/3.1.4/python-3.1.4-pdb.zip.asc \_ error code: 404 (not found) http://python.org/download/releases/3.1.4/python-3.1.4.amd64.msi.asc \_ error code: 404 (not found) http://python.org/download/releases/3.1.4/python-3.1.4.amd64-pdb.zip.asc \_ error code: 404 (not found) -- messages: 160929 nosy: antlong priority: normal severity: normal status: open title: A list of broken links on the python.org website ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14834 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14826] urllib2.urlopen fails to load URL
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://bugs.python.org/issue14826 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11846] Remove non-guaranteed implementation details from docs.
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 important (to some, admittedly) in Python 3, where there is no distinction between PyInts and PyLongs (more processing req'd), which could benefit from further optimization of the range. Going to be doing benchmarking, -256 to 256 seems like a good place to start. If anyone has app's i should benchmark with in mind, feel free to let me know. -- resolution: - accepted title: Implementation question for (-5) - 256 caching, and doc update for c-api/int.html - Remove non-guaranteed implementation details from docs. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11846 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11846] Remove non-guaranteed implementation details from docs.
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11846 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11846] Implementation question for (-5) - 256 caching, and doc update for c-api/int.html
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 it should be possible to change the value of 1. I suspect the behaviour of Python in this case is undefined. :-) This paragraph should be changed to reflect that you can (by construction) mutate anything you want in C, and (as per suggestion of dmalcolm) The current implementatin consolidates integers in the range -5 to 256 (inclusive) into singleton instances. Do not manipulate the internal value of a PyIntObject after creation. Also, the last line of that paragraph insinuates this functionality (caching of -5 to 256) is undocumented. I searched for a good while for an answer for this, and I didn't find one. If there is something written on the implementation details surrounding why '-5 is -5' works, while -6 is -6' wouldn't. If there is nothing written about this, I will put something together. My final question however which I have not been able to find an answer for, is: Is this even necessary functionality? I encountered around 100 blog posts and a couple of stackoverflow questions about why this fails, and it seems like 1) a source of confusion 2) a point of ridicule. Is it really necessary? id(1) 4298196440 a = 1 id(a) 4298196440 id(3000) 4320396376 a = 3000 id(a) 4320396160 -- components: Library (Lib) messages: 133769 nosy: antlong priority: normal severity: normal status: open title: Implementation question for (-5) - 256 caching, and doc update for c-api/int.html type: behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11846 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11327] Running test_time.py in python27 caused python to unexpectedly quit
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 title: Running test_time.py in python27 caused python to unexpectedly quit type: crash versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11327 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11014] 'filter' argument for Tarfile.add needs to be a keyword-only argument
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11014] 'filter' argument for Tarfile.add needs to be a keyword-only argument
Changes by Anthony Long antl...@gmail.com: -- nosy: -antlong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11014 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11014] 'filter' argument for Tarfile.add needs to be a keyword-only argument
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://bugs.python.org/issue11014 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5863] bz2.BZ2File should accept other file-like objects.
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10976] json.loads() throws TypeError on bytes object
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11002] 'Upload' link on Files page is broken
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://d.pr/mmie -- assignee: docs@python components: Documentation messages: 126988 nosy: antlong, docs@python priority: normal severity: normal status: open title: 'Upload' link on Files page is broken type: behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11002 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8194] Incompatible API change in xmlrpclib.Transport.parse_response() of Python 2.7 and 3.2
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...@bugs.python.org http://bugs.python.org/issue8194 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9590] __init__ TypeError reverses expected vs received args
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 TestSomething(SetupSomething): def __init__(): print bug. def setUp(self): self.URL = http://google.com/; def tearDown(self): pass def test_tester(self): self.selenium.open('/') print no unittest.main() TypeError: '__init__() takes no arguments (2 given)' -- messages: 113802 nosy: antlong priority: normal severity: normal status: open title: __init__ TypeError reverses expected vs received args versions: Python 2.6, Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9590 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9391] Allow docstrings on dicts and named tuples outside of functions or classes.
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 they can also include information which can be explained it great detail within docstrings. -- components: Interpreter Core messages: 111711 nosy: antlong priority: normal severity: normal status: open title: Allow docstrings on dicts and named tuples outside of functions or classes. type: feature request versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9391 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9335] LC_CTYPE system setting not respected by setlocale()
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9335] LC_CTYPE system setting not respected by setlocale()
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...@bugs.python.org http://bugs.python.org/issue9335 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9365] Installing a distro without sqlite3 will require a reinstall of python to function if installed at a later date
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 python2.6 again. after which it works fine. http://www.linuxfromscratch.org/blfs/view/svn/general/python.html -- components: Library (Lib) messages: 111428 nosy: antlong priority: normal severity: normal status: open title: Installing a distro without sqlite3 will require a reinstall of python to function if installed at a later date type: behavior versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9365 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9365] Installing a distro without sqlite3 will require a reinstall of python to function if installed at a later date
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9335] LC_CTYPE system setting not respected by setlocale()
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=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_ALL= This appears to be related to: locale.setlocale(locale.LC_CTYPE) not being respected. len(string.letters) should produce 52. -- assignee: ronaldoussoren components: Macintosh messages: 111233 nosy: antlong, ronaldoussoren priority: normal severity: normal status: open title: LC_CTYPE system setting not respected by setlocale() versions: Python 2.5, Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9335 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9335] LC_CTYPE system setting not respected by setlocale()
Anthony Long antl...@gmail.com added the comment: Also: windows 64x, python 2.7 1. Python 2.7 (r27:82525, Jul 4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)] on win32 2. Type copyright, credits or license() for more information. 3. import string 4. string.letters 5. 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\x83\x8a\x8c\x8e\x9a\x9c\x9e\x9f\xaa\xb5\xba\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff' 6. import locale 7. locale.getdefaultlocale() 8. ('en_US', 'cp1252') 9. -- components: -IDLE type: behavior - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9335 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9336] string.letters should display locale based equivalent of a-Z
New submission from Anthony Long antl...@gmail.com: string.letters should display the locale based equivalent of a-Z. In enUS this would be a-z A-Z, in total a len of 52, whereas in spain it would be a-z (with ñ), and A-Z (Ñ). Each locale should change the returned letters. http://en.wikipedia.org/wiki/Keyboard_layout -- components: Library (Lib) messages: 111238 nosy: antlong priority: normal severity: normal status: open title: string.letters should display locale based equivalent of a-Z versions: Python 2.5, Python 2.6, Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9336 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9335] LC_CTYPE system setting not respected by setlocale()
Anthony Long antl...@gmail.com added the comment: Windows 64 bit, python 2.7: '\xff'.isalpha() False import idlelib.run '\xff'.isalpha() False and- Windows 32 bit, python 2.6: Both False. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9335 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9335] LC_CTYPE system setting not respected by setlocale()
Anthony Long antl...@gmail.com added the comment: Mac 10.5.6: py 2.6.4 - broken Python 2.6.4 (r264:75706, Mar 18 2010, 14:58:13) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type help, copyright, credits or license for more information. '\xff'.isalpha() False import Tkinter '\xff'.isalpha() True -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9335 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9335] LC_CTYPE system setting not respected by setlocale()
Anthony Long antl...@gmail.com added the comment: Python 2.6.4, Mac 10.5: from string import letters letters 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\xaa\xb5\xba\xc0\xc1\xc2\xc 3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd 8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xe c\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff' import locale locale.getdefaultlocale() ('en_US', 'UTF8') -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9335 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9335] LC_CTYPE system setting not respected by setlocale()
Anthony Long antl...@gmail.com added the comment: After import _tkinter, I would up getting this, which is totally different than before: letters 'abcdefghijklmnopqrstuvwxyz\xaa\xb5\xba\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xffABCDEFGHIJKLMNOPQRSTUVWXYZ\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd8\xd9\xda\xdb\xdc\xdd\xde' -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9335 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9335] LC_CTYPE system setting not respected by setlocale()
Anthony Long antl...@gmail.com added the comment: A bit more info: Python 2.6.4 (r264:75706, Mar 18 2010, 14:58:13) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type help, copyright, credits or license for more information. import locale locale.nl_langinfo(locale.CODESET) 'US-ASCII' 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=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_ALL= along-mb:~ along$ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9335 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com