[issue12682] Meaning of 'accepted' resolution as documented in devguide
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12682 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12686] argparse - add 'hide' feature
New submission from BJ Dierkes wdier...@gmail.com: Having the ability to 'hide' positional/option arguments and subparsers in argparse would be useful. For example, I might want to add a subparser for 'somecommand-help' which would be a commands specifically for displaying help output of 'somecommand'. There is no reason I'd want to display this as an available argument... but rather simply add to the description For more info try command-help. Something like: parser = argparse.ArgumentParser() sub = parser.add_subparsers() somecommand_help = sub.add_parser('somecommand-help', hide=True) OR parser.add_argument('--some-crazy-option', hide=True). It would then not display in the '--help' output, but would still function when 'somecommand-help' or '--some-crazy-option' is passed at command line. Would also be an extra bonus to add some sort of interface to 'list_hidden_arguments'). -- components: None messages: 141601 nosy: derks priority: normal severity: normal status: open title: argparse - add 'hide' feature type: feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12686 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12687] Python 3.2 fails to load protocol 0 pickle
New submission from Vinay Sajip vinay_sa...@yahoo.co.uk: The attached 2.x-written protocol 0 pickle file cannot be loaded by Python 3.2 or 3.3, though it loads successfully in 2.x. Code used to load: data = pickle.load(open('test.bin', 'rb')) Error: Traceback (most recent call last): File load_it.py, line 4, in module data = pickle.load(open(sys.argv[1], 'rb')) ValueError: invalid literal for int() with base 10: 273\n(g8\nS'uint64_t'\np274\ntp275\nsS'Module'\np276\n(g45\n(g39\nS'objc_module'\np277\nNtp278\ntp279\nsS'mach_msg_trailer_size_t'\np280\n(g4\ng190\ntp281\nsS'uint_fast16_t'\np282\n(g8\nS'uint16_t'\np283\ntp284\nsS'pthread_m The failure occurs on Ubuntu Natty. This does not appear to be the same issue as #6137. AFAIK the data contains no classes: just dictionaries, tuples, lists, strings and numbers. -- components: Library (Lib) files: test.bin messages: 141602 nosy: alexandre.vassalotti, pitrou, vinay.sajip priority: normal severity: normal status: open title: Python 3.2 fails to load protocol 0 pickle type: behavior versions: Python 3.2, Python 3.3 Added file: http://bugs.python.org/file22831/test.bin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12687 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12687] Python 3.2 fails to load protocol 0 pickle
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: I also noticed that in the file there are numerous previous integer values in a similar context, which were parsed without error. For example, if you look at the test.bin file in an editor, the failure occurs while parsing line 515. Notice the similar constructs at lines 510, 507, 504 etc. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12687 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
Re: [issue12683] urlparse.urljoin different behavior for different scheme
The reason for that seems that svn scheme did not support relative paths to being with (at least when urlparse was originally written). From 1.5 onwards (released sometime in 2008), it has the support for relative urls and can work with urljoin (by giving relative paths). http://subversion.apache.org/docs/release-notes/1.5.html#externals-relative-urls Since the support was added in 2008 itself, I am okay to consider this as a bug in Python and fix it in 2.7,3.2 and 3.3 ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12683] urlparse.urljoin different behavior for different scheme
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 5278aa2d9d9a by Senthil Kumaran in branch '2.7': Fix closes issue12683 - urljoin to work with relative join of svn scheme. http://hg.python.org/cpython/rev/5278aa2d9d9a New changeset 57a836eb6916 by Senthil Kumaran in branch '3.2': Fix closes issue12683 - urljoin to work with relative join of svn scheme. http://hg.python.org/cpython/rev/57a836eb6916 New changeset a3981d0c4d9b by Senthil Kumaran in branch 'default': merge from 3.2 - Fix closes issue12683 - urljoin to work with relative join of svn scheme. http://hg.python.org/cpython/rev/a3981d0c4d9b -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12683 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12627] Implement PEP 394: The python Command on Unix-Like Systems
Changes by Jeremy Bicha jbi...@ubuntu.com: -- nosy: +jbicha ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12627 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12541] Accepting Badly formed headers in urllib HTTPBasicAuth
Alex Leon ael...@gmail.com added the comment: For some reason a caret went missing in the regex fix. It should read 'realm=([\']?)([^\']*)\\2', re.I) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12541 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11049] add tests for test.support
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Eli, test_support is now completing on my system without errors. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11049 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12541] Accepting Badly formed headers in urllib HTTPBasicAuth
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12541 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11049] add tests for test.support
Eli Bendersky eli...@gmail.com added the comment: Vinay, great news. Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11049 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12686] argparse - document (and improve?) use of SUPPRESS with help=
R. David Murray rdmur...@bitdance.com added the comment: This is partly a doc issue, but there also appear to be bugs in the way the existing functionality works (although it is hard to tell for sure since it isn't documented :) Try using the value argparse.SUPPRESS as the value of help= in various places and you'll see what I mean. -- assignee: - docs@python components: +Documentation, Library (Lib) -None keywords: +easy nosy: +bethard, docs@python, r.david.murray stage: - needs patch title: argparse - add 'hide' feature - argparse - document (and improve?) use of SUPPRESS with help= versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12686 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12677] Turtle, fix right/left rotation orientation
Ezio Melotti ezio.melo...@gmail.com added the comment: It seems to me that right() always turns the turtle clockwise, both with the standard and the logo mode. I agree that changing left-right and leave clockwise is better than changing clockwise-counterclockwise. I don't think it's worth mentioning the mode here. (On a side note: I was expecting the 'turtle' to be an instance of some Turtle class defined in the turtle module, or perhaps a singleton, but it turned out that in 'turtle.right()' turtle is the module itself. It might be better to say something like After importing the :mod:`turtle` module, ) -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12677 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12540] Restart Shell command leaves pythonw.exe processes running
Peter Caven pca...@gmail.com added the comment: Terry, sorry about the delay in responding: I'm using 32bit Python. I haven't had a chance yet to try the 64 bit release. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12540 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7424] segmentation fault in listextend during install
Stefan Krah stefan-use...@bytereef.org added the comment: Just a guess: it might be a stack overflow. Could you try to reduce Py_DEFAULT_RECURSION_LIMIT in Python/ceval.c and see if you get a RuntimeError instead? See also: issue #1212900 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7424 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12641] Remove -mno-cygwin from distutils
Jon jon.for...@gmail.com added the comment: are you ok with a targeted patch similar to what's being discussed at http://sourceforge.net/mailarchive/message.php?msg_id=27895558 assuming the regex search the output of `gcc -dumpspecs` idea is valid? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12641 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12641] Remove -mno-cygwin from distutils
Roumen Petrov bugtr...@roumenpetrov.info added the comment: it is save to remove -mno-cygwin from Mingw32CCompiler -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12641 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6792] Distutils-based installer does not detect 64bit versions of Python
Changes by Eli_B eli.boyar...@gmail.com: -- nosy: +Eli_B ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6792 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12688] ConfigParser.__init__(iterpolation=None) documentation != behavior
New submission from John Simon j...@johnsoft.com: The ConfigParser docs say that when __init__ is called with interpolation=None, no interpolation occurs. But when this is done in Python 3.2.1, it actually results in an AttributeError upon getting or setting a value, due to self._interpolation being set to None. This incredibly simple patch brings the behavior inline with the docs. -- components: Library (Lib) files: patch.txt messages: 141615 nosy: zildjohn01 priority: normal severity: normal status: open title: ConfigParser.__init__(iterpolation=None) documentation != behavior type: behavior Added file: http://bugs.python.org/file22832/patch.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12688 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12688] ConfigParser.__init__(iterpolation=None) documentation != behavior
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +lukasz.langa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12688 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12688] ConfigParser.__init__(iterpolation=None) documentation != behavior
Łukasz Langa luk...@langa.pl added the comment: Hey there! Thanks for your report. However: 1. this is a duplicate of #11324 2. AFAICT this is corrected in 3.2.1 (3.2.0 had the bug). Just downloaded the source distribution from python.org, it is indeed fixed. -- resolution: - duplicate status: open - closed superseder: - ConfigParser(interpolation=None) doesn't work ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12688 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12437] _ctypes.dlopen does not include errno in OSError
Santoso Wijaya santoso.wij...@gmail.com added the comment: At least in Windows, the exception object has its `winerror` attribute correctly set to 126, which is also translated to POSIX `errno` with `winerror_to_errno()`; the latter gives us EINVAL (22). -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12437 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12437] _ctypes.dlopen does not include errno in OSError
Santoso Wijaya santoso.wij...@gmail.com added the comment: From what I gather from the code, when dlopen fails in POSIX platforms, ctypes raises an PyExc_OSError instantiated with a simple string (via PyErr_SetString()). I suppose this could be changed to raise a more complex tuple, instead (like its WindowsError equivalent when LoadLibrary fails in Windows platforms), but that might break existing code that relies on this behavior. 3.3 only? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12437 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12498] asyncore.dispatcher_with_send, disconnection problem + miss-conception
François-Xavier Bourlet bomb...@gmail.com added the comment: I am currently busy, but i will try to allocate some time to propose a path soon. Cheers, 2011/7/24 Charles-François Natali rep...@bugs.python.org: Charles-François Natali neolo...@free.fr added the comment: Hello, Actually the class asyncore.dispatcher_with_send do not handle properly disconnection. When the endpoint shutdown his sending part of the socket, but keep the socket open in reading, the current implementation of dispatcher_with_send will close the socket without sending pending data. Yes, that's a common problem with naive networking code. Note also that this class try to initiate a send even if the socket is maybe not ready for writing: Here's a simple fix: def send(self, data): if self.debug: self.log_info('sending %s' % repr(data)) self.out_buffer = self.out_buffer + data - self.initiate_send() Hum, I'm not sure about this. dispatcher is just a thin wrapper around the underlying socket, so the semantic of `send` should be the same as `socket.send`, i.e. just call the send(2) syscall. I think it's the application's reponsibility to check that the socket is indeed writable, and to cope with potential failures (e.g. EAGAIN or ENOTCONN). Last but not last, the buffer size of each socket send are way to small (512, a third of an usual TCP frame). Here's the code with a bumped value: Indeed, 1/3 of the ethernet MTU is quite small. Would you like to submit a patch? -- nosy: +neologix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12498 ___ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12498 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12689] IDLE crashes after pressing ctrl+space
New submission from Andrew Luzin andrew.lu...@gmail.com: Steps to reproduce: 1. Open IDLE 2. File - New Window 3. Just press ctrl+space 4. IDLE crashes IDLE version: 3.2 Python version: 3.2 Tk version 8.5 Thanks! -- components: IDLE messages: 141620 nosy: Andrew.Luzin priority: normal severity: normal status: open title: IDLE crashes after pressing ctrl+space versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12689 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12689] IDLE crashes after pressing ctrl+space
Changes by Andrew Luzin andrew.lu...@gmail.com: -- type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12689 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12689] IDLE crashes after pressing ctrl+space
R. David Murray rdmur...@bitdance.com added the comment: Duplicate of 1028. -- nosy: +r.david.murray resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - Tkinter binding involving Control-spacebar raises unicode error type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12689 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12690] tkinter bug 2643483
New submission from Gary Levin gary.marc.le...@gmail.com: A bug from Tkinter is present in the current release. https://sourceforge.net/tracker/index.php?func=detailaid=2643483group_id=5649atid=105649 8tixFileEntry:OpenFile dialogtype tk_chooseDirectory only opens once. There is a bug fix in the code. I tried it in my copy and it does fix the problem. Perhaps it can be propagated in Python 3 releases. Or push for tkinter to update their copy. -- components: Tkinter messages: 141622 nosy: Gary.Levin priority: normal severity: normal status: open title: tkinter bug 2643483 type: behavior versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12690 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1099] Mac compile fails with pydebug and framework enabled
Changes by Elias Pipping pipp...@exherbo.org: -- nosy: -pipping ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1099 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7247] test_fcntl_64_bit from test_fcntl.py fails in Python 2.6.4
Changes by Elias Pipping pipp...@exherbo.org: -- nosy: +pipping ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7247 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com