[issue17466] I can't make assignments to a list.

2013-03-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17466 ___ ___

[issue17477] update the bsddb module do build with db 5.x versions

2013-03-19 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- nosy: +jcea -gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17477 ___ ___

[issue17443] imaplib.IMAP4_stream subprocess is opened unbuffered but ignores short reads

2013-03-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: that patch looks good for imaplib. i'll follow up on the subprocess side of things to see if the default behavior should be changed to better match what happened in 2.7 (or if not: to make sure the change in behavior is sufficiently documented and not relied

[issue17465] Gut devinabox

2013-03-19 Thread Ezio Melotti
Ezio Melotti added the comment: What devinabox should become instead is a README listing what people should checkout/download and build. Isn't this already covered in the devguide? If it's not I think it should be added there rather than on a README. I'm also not sure what the current

[issue17462] argparse FAQ: how it is different from optparse

2013-03-19 Thread Ezio Melotti
Ezio Melotti added the comment: Indeed a paragraph about it could be added at the beginning. -- nosy: +bethard stage: - needs patch type: - enhancement versions: +Python 3.2, Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue17476] Pydoc allmethods does not return all methods

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a9b42de49d5 by R David Murray in branch '3.2': #17476: make allmethods actually return all methods. http://hg.python.org/cpython/rev/0a9b42de49d5 New changeset 7127fbc363bb by R David Murray in branch '3.3': #17476: make allmethods actually return

[issue17476] Pydoc allmethods does not return all methods

2013-03-19 Thread R. David Murray
R. David Murray added the comment: Thanks, Matt. I figured out a way to make the test *somewhat* less fragile. Oh, and that helper method really is operating on an object, not a class, so I changed the paramter name back (and added inspect.builtin...which Python2 didn't have, but I figure as

[issue17465] Gut devinabox

2013-03-19 Thread R. David Murray
R. David Murray added the comment: A script to do all the steps is what devinabox currently is, but it is rather fagile. As far as I know (Brett would know for sure) it has never worked without tweaking from one Core Sprint to the next. -- ___

[issue2771] Test issue

2013-03-19 Thread Ezio Melotti
Ezio Melotti added the comment: Test new irker. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list mailing list

[issue16754] Incorrect shared library extension on linux

2013-03-19 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: Matthias, Barry, and I looked at this at pycon today. It looks a bit like the original intent was to have SO = .so SOABI = cpython-32mu and then CPython extension module suffixes would be: if SOABI: so_ext = ''.join(., SOABI, SO) else: so_ext = SO

[issue17433] stdlib generator-like iterators don't forward send/throw

2013-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This was proposed before (see issue16150) and was rejected after discussing on Python-ideas. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17433

[issue17403] Robotparser fails to parse some robots.txt

2013-03-19 Thread Mher Movsisyan
Mher Movsisyan added the comment: The second patch only normalizes the url. From http://www.robotstxt.org/norobots-rfc.txt it is not clear how to handle multiple rules with the same prefix. -- Added file: http://bugs.python.org/file29476/parser2.patch

[issue17433] stdlib generator-like iterators don't forward send/throw

2013-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +rhettinger type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17433 ___

[issue17465] Gut devinabox

2013-03-19 Thread Nick Coghlan
Nick Coghlan added the comment: When I used it for PyCon AU, it did require tweaking, but only for some of the steps. It was still handy to have it automated, I just think we need to set the expectation that we'll need to tweak the scripts every time we use it for a new conference. It would

[issue12466] sporadic failures of test_close_fds and test_pass_fds in test_subprocess

2013-03-19 Thread Ezio Melotti
Ezio Melotti added the comment: Ismail, does it always fail or is it a sporadic failure? -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12466 ___

[issue13918] locale.atof documentation is missing func argument

2013-03-19 Thread Ezio Melotti
Ezio Melotti added the comment: It's easier, but we will be exposing an API that is not too elegant IMHO. The refactoring could provide a better API, but OTOH it will make it available for 3.4+ only, and it would break backward compatibility if the old API is removed (even though it's not

[issue17390] display python version on idle title bar

2013-03-19 Thread Ezio Melotti
Ezio Melotti added the comment: The 0 in {0} can be omitted, otherwise patch looks good to me. I agree that the architecture is not necessary. -- nosy: +ezio.melotti stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org

[issue17397] ttk::themes missing from ttk.py

2013-03-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17397 ___ ___ Python-bugs-list

[issue17403] Robotparser fails to parse some robots.txt

2013-03-19 Thread Ezio Melotti
Ezio Melotti added the comment: I left a couple of comments on rietveld. -- stage: test needed - patch review versions: +Python 3.2, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17403

[issue17408] second python execution fails when embedding

2013-03-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17408 ___ ___

[issue17444] multiprocessing.cpu_count() should use hw.availcpu on Mac OS X

2013-03-19 Thread STINNER Victor
STINNER Victor added the comment: I like the idea of a new function in the os module because I don't like having to import the multiprocessing module just to known the number of CPUs. I'm using such function to set MAKEFLAGS envrionment variable on Linux: -j8 par example. 2013/3/19 Trent Nelson

[issue12384] difflib.SequenceMatcher and Match: code and doc bugs

2013-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: More doc bugs: unified_diff and context_diff say 'lists of strings' when 'sequences of strings' is correct. Docstrings do say 'sequences'. In 3.x, SequenceMatcher.get_matching_blocks return a map objects rather than a list. In spite of my original post, the

[issue17444] multiprocessing.cpu_count() should use hw.availcpu on Mac OS X

2013-03-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I also like the os.cpu_count() function, the information is useful sometimes outside of multiprocessing, and calling out to external scripts to gather the information (as multiprocessing currently does) feels yucky. That should probably be a new issue, the

[issue12466] sporadic failures of test_close_fds and test_pass_fds in test_subprocess

2013-03-19 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12466 ___ ___ Python-bugs-list

[issue1745722] please add wsgi to SimpleXMLRPCServer

2013-03-19 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +loewis stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1745722 ___ ___

[issue17460] Remove the strict and related params completely removing the 0.9 support

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset ac023b1a23ea by Senthil Kumaran in branch '3.2': #17460 - Adding relevant warning messages regarding strict removal in docs http://hg.python.org/cpython/rev/ac023b1a23ea New changeset f4e966570416 by Senthil Kumaran in branch '3.3': #17460 - merge

[issue8905] difflib should accept arbitrary line iterators

2013-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'difflib' is a module that defines three classes and some functions. It does not do anything in itself. SequenceMatcher, which is the basis for the other functions, operates on sequences of hashable objects. The inputs must be concrete random access indexed

[issue17390] display python version on idle title bar

2013-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have been planning to test and commit some version of this patch after PEP434 is resolved, as I would like to backport it at least to 2.7 and 3.3. The only thing that could break is some esoteric application that looks at window title bars from outside and

[issue17390] display python version on idle title bar

2013-03-19 Thread Ezio Melotti
Ezio Melotti added the comment: I think it's safe to apply this patch to 2.7/3.2/3.3/3.4. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17390 ___

[issue17478] Tkinter's split() inconsistent for bytes and unicode strings

2013-03-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Tkinter's split() recursive splits bytes but not unicode strings. from tkinter import * t = Tcl() t.tk.split((b'a 2',)) (('a', '2'),) t.tk.split(('a 2',)) ('a 2',) -- components: Tkinter, Unicode messages: 184622 nosy: ezio.melotti, gpolo,

[issue17444] multiprocessing.cpu_count() should use hw.availcpu on Mac OS X

2013-03-19 Thread John Szakmeister
John Szakmeister added the comment: Actually, Trent's version looks at hw.logicalcpu and then falls back to hw.ncpu, if there was an error. Given the state of the documentation on these parameters, it's hard to say whether it's right or wrong, but at least hw.logicalcpu scales correctly if I

[issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)

2013-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which add support of Tcl_Obj to tkinter's splitlist(). This not only fixes some incompatibility with Tk 8.6, but can fix some issues with older Tk versions (see for example issue17397). -- keywords: +patch nosy: +gpolo stage: -

[issue12466] sporadic failures of test_close_fds and test_pass_fds in test_subprocess

2013-03-19 Thread Ismail Donmez
Ismail Donmez added the comment: I can reproduce the error locally. But I see something in the log might be related to this (possibly not but anyway): [352/368/1] test_multiprocessing test_multiprocessing skipped -- This platform lacks a functioning sem_open implementation, therefore, the

[issue13477] tarfile module should have a command line

2013-03-19 Thread Larry Hastings
Larry Hastings added the comment: Modern tar programs don't need to be told the compression method--they infer it. If they can do it in C, we can do it in Python. So we should simply omit the -bz2 stuff. As for what the interface should look like, I'm definitely in favor of it looking like

[issue17460] Remove the strict and related params completely removing the 0.9 support

2013-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I do not understand what is bad in converting parameters after removed 'strict' to be keyword-only. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17460

[issue13477] tarfile module should have a command line

2013-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Note that --create command should support --directory option too. Modern tar programs don't need to be told the compression method--they infer it. If they can do it in C, we can do it in Python. So we should simply omit the -bz2 stuff. An archive may

[issue17475] Better doc on using python-gdb.py

2013-03-19 Thread Ezio Melotti
Ezio Melotti added the comment: The last part is not clear to me. Do you mean that if I don't add the add-auto-load-safe-path I have to run source python-gdb.py before gdb python? And if so, do I have to run it every time? Also if the add-auto-load-safe-path is required for recent versions,

[issue17320] os.path.abspath in window7, return error

2013-03-19 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The string '\xe7\x8e\xb0' is the utf-8 encoded version of u'现' (=u'\u73b0') But your Windows system uses the cp936 code page to encode file names. '\xe7\x8e\xb0' is invalid in this code page: the last character is an incomplete multibyte sequence, and is

[issue14010] deeply nested filter segfaults

2013-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm trying to solve this issue (it seemed easy), but the bug is worse than expected. Python crashed even without iteration at all. it = 'abracadabra' for _ in range(100): it = filter(bool, it) del it And fixing a recursive deallocator is more

[issue14010] deeply nested filter segfaults

2013-03-19 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Py_TRASHCAN_SAFE_BEGIN/Py_TRASHCAN_SAFE_END macros can help: http://hg.python.org/cpython/file/57c6435ca03b/Python/traceback.c#l44 -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org

[issue14010] deeply nested filter segfaults

2013-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you. Now I understand why this issue not happened with containers. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14010 ___

[issue17429] platform.platform() can throw Unicode error

2013-03-19 Thread Zbyszek Jędrzejewski-Szmek
Zbyszek Jędrzejewski-Szmek added the comment: At least for /etc/os-release, which is slated to replace /etc/fedora-release and other distribution specific files, the encoding in mandated to be UTF-8: http://www.freedesktop.org/software/systemd/man/os-release.html All strings should be in

[issue17468] Generator memory leak

2013-03-19 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Well, there is a __del__: the one from the generator function. And it's part of the cycle. -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17468

[issue17479] Fix test discovery for test_io.py

2013-03-19 Thread Zachary Ware
New submission from Zachary Ware: This patch converts test_main() to load_tests(*args) due to test_main doing a lot of namespace manipulation on all the test classes. There are a lot of subclassing issues that discovery doesn't like, hence throwing away the second argument passed to

[issue17295] __slots__ on PyVarObject subclass

2013-03-19 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Probably a duplicate of issue1173475. Do you want to work on the patch there? -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17295

[issue12098] Child process running as debug on Windows

2013-03-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Reopening this since this it needs backporting to 2.7 -- nosy: +kristjan.jonsson status: closed - open versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12098

[issue17465] Gut devinabox

2013-03-19 Thread anatoly techtonik
anatoly techtonik added the comment: Given some tweaks, it can become an attracting entrypoint into Python core development - http://shelr.tv/records/5148841296608075f849 -- nosy: +techtonik ___ Python tracker rep...@bugs.python.org

[issue17295] __slots__ on PyVarObject subclass

2013-03-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: You're right, this is a duplicate. -- resolution: - duplicate stage: needs patch - committed/rejected superseder: - __slots__ for subclasses of variable length types type: - behavior ___ Python tracker

[issue1173475] __slots__ for subclasses of variable length types

2013-03-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I do have a usecase for this: subclasses of int. Having slots would be nice for a reasonably efficient implementation of named constants (as recently discussed on python-ideas), and I'm already using a subclass of int of PyObjC to attach a single other

[issue17397] ttk::themes missing from ttk.py

2013-03-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17397 ___

[issue1173475] __slots__ for subclasses of variable length types

2013-03-19 Thread Armin Rigo
Changes by Armin Rigo ar...@users.sourceforge.net: -- nosy: -arigo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1173475 ___ ___ Python-bugs-list

[issue17453] logging.config.fileConfig error

2013-03-19 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: -- assignee: - lukasz.langa versions: +Python 3.2, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17453 ___

[issue17467] Enhancement: give mock_open readline() and readlines() methods

2013-03-19 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: Updated patch that includes unittests and fixes readlines() newline behaviour. -- Added file: http://bugs.python.org/file29479/01000-mock_open-methods.patch ___ Python tracker rep...@bugs.python.org

[issue5051] test_update2 in test_os.py invalid due to os.environ.clear() followed by reliance on environ COMSPEC

2013-03-19 Thread Ned Jackson Lovely
Changes by Ned Jackson Lovely n...@njl.us: Added file: http://bugs.python.org/file29480/issue5051-take2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5051 ___

[issue5051] test_update2 in test_os.py invalid due to os.environ.clear() followed by reliance on environ COMSPEC

2013-03-19 Thread Ned Jackson Lovely
Ned Jackson Lovely added the comment: Hi Luke, I've prepared two versions of this test. The first, issue5051-take2.diff, retains the environ.clear(), but saves and sets COMSPEC and PATH in the same update call as the HELLO variable. The second, and in my opinion more reasonable test, makes

[issue17467] Enhancement: give mock_open readline() and readlines() methods

2013-03-19 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- assignee: - michael.foord keywords: +needs review nosy: +michael.foord stage: - patch review type: - enhancement versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue13477] tarfile module should have a command line

2013-03-19 Thread Larry Hastings
Larry Hastings added the comment: Huh. tar *can* infer it from the data itself. On the other hand, it chooses explicitly not to. % cat ~/Downloads/Python-3.3.0.tar.bz2| tar xvf - tar: Archive is compressed. Use -j option tar: Error is not recoverable: exiting now % cat

[issue17480] pyvenv should be installed someplace more obvious on Windows

2013-03-19 Thread Jason R. Coombs
New submission from Jason R. Coombs: On Windows, pyvenv.py is installed to PythonNN\Tools\Scripts, which I would generally recommend not be added to the system's or user's PATH. It would be nice if there were a Windows-friendly launcher that's available similar to what's available on Unix.

[issue17481] inspect.getfullargspec could use __signature__

2013-03-19 Thread Michael Foord
New submission from Michael Foord: inspect.getfullargspec (and potentially getargspec?) could *use* function.__signature__ if set. This allows functions that lie about their signature with the new introspection tool (Signature) to still work with older code. -- components: Library

[issue17480] pyvenv should be installed someplace more obvious on Windows

2013-03-19 Thread Michael Foord
Michael Foord added the comment: PythonNN\Scripts is the normal place for Python command line tools to be installed to. Does the installer not put this on the PATH for windows? -- nosy: +michael.foord ___ Python tracker rep...@bugs.python.org

[issue17482] functools.update_wrapper doesn't overwrite attributes correctly

2013-03-19 Thread Nick Coghlan
New submission from Nick Coghlan: functools.update_wrapper inadvertently overwrites the just set __wrapped__ attribute when it updates the contents of __dict__. This means the intended __wrapped__ chain is never created - instead, for every function in a wrapper stack, __wrapped__ will always

[issue17482] functools.update_wrapper mishandles __wrapped__

2013-03-19 Thread Nick Coghlan
Nick Coghlan added the comment: There's an interesting backwards compatibility challenge here. We definitely need to fix the misbehaviour, since it can lead to some pretty serious bugs in user code when attempting to bypass the LRU cache decorator if the wrapped function itself had a

[issue17483] In urlopen the check_hostname variable can never be False.

2013-03-19 Thread Daniel Wozniak
New submission from Daniel Wozniak: In the urllib.request.urlopen on line 154 the code path that sets check_hostname to False will never run. I'm not sure what the desired behavior is. If we want to have a way to tell urlopen not to check the hostname for https connections it looks as though

[issue17443] imaplib.IMAP4_stream subprocess is opened unbuffered but ignores short reads

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset c5aacf9d1cdc by R David Murray in branch '3.2': #17443: Fix buffering in IMAP4_stream. http://hg.python.org/cpython/rev/c5aacf9d1cdc New changeset 0baa65b3ef76 by R David Murray in branch '3.3': Merge: #17443: Fix buffering in IMAP4_stream.

[issue17443] imaplib.IMAP4_stream subprocess is opened unbuffered but ignores short reads

2013-03-19 Thread R. David Murray
R. David Murray added the comment: Thanks, Diane, and expecially thanks for finding this and helping is track down the cause. We need better test infrastructure for imap...because this occurs only during string litteral reads, I decided that making a test for this with our current imap test

[issue1525919] email package quoted printable behaviour changed

2013-03-19 Thread Colin Su
Changes by Colin Su littleq0...@gmail.com: -- versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 -Python 2.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1525919 ___

[issue17483] In urlopen the check_hostname variable can never be False.

2013-03-19 Thread Jeff Knupp
Jeff Knupp added the comment: Was this discovered when you were trying to tell urlopen not to check the hostname for https connections? If so, that should be reflected in the title so others know what the observable effect is. Referencing specific variables is less useful both for searching

[issue9090] Error code 10035 calling socket.recv() on a socket with a timeout (WSAEWOULDBLOCK - A non-blocking socket operation could not be completed immediately)

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8ec39bfd1f01 by Kristján Valur Jónsson in branch '2.7': Issue #9090 : Error code 10035 calling socket.recv() on a socket with a timeout http://hg.python.org/cpython/rev/8ec39bfd1f01 -- nosy: +python-dev

[issue17480] pyvenv should be installed someplace more obvious on Windows

2013-03-19 Thread Jeremy Kloth
Changes by Jeremy Kloth jeremy.kloth+python-trac...@gmail.com: -- nosy: +jkloth ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17480 ___ ___

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

2013-03-19 Thread Nick Coghlan
Nick Coghlan added the comment: Turns out there's a bug in the implementation of functools.update_wrapper :P Added that as a dependency, since this API doesn't make sense until update_wrapper is behaving itself. The new tests didn't pick it up because they don't use wraps or update_wrapper,

[issue17482] functools.update_wrapper mishandles __wrapped__

2013-03-19 Thread Nick Coghlan
Nick Coghlan added the comment: And as further evidence that I always intended this to be a wrapper chain: issue 13266 :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17482 ___

[issue17482] functools.update_wrapper mishandles __wrapped__

2013-03-19 Thread Nick Coghlan
Nick Coghlan added the comment: OK, thinking about this a little further, I think it's not as bad as I feared. The number of people likely to be introspecting __wrapped__ is quite small, and updating to the correct recursive code will still do the right thing in existing versions. So long as

[issue17483] Can not tell urlopen not to check the hostname for https connections.

2013-03-19 Thread Daniel Wozniak
Daniel Wozniak added the comment: Yes, I was trying to add tests for the behavior. I'll try to make the titles more meaningful in the future. Thanks. -- title: In urlopen the check_hostname variable can never be False. - Can not tell urlopen not to check the hostname for https

[issue15587] IDLE is pixelated on the Macbook Pro with Retina Display

2013-03-19 Thread Ned Deily
Ned Deily added the comment: I've just run across an easy way to simulate a retina display on my MBP model (http://stackoverflow.com/a/13596261/145403) and have verified that the change in the plist makes a big difference in Tk text rendering, at least with A/S Tcl/Tk 8.5.13. So I'm going to

[issue1598] unexpected response in imaplib

2013-03-19 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +email -Library (Lib) nosy: +barry, r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1598 ___

[issue14010] deeply nested filter segfaults

2013-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which adds recursion limit checks to builtin and itertools recursive iterators. -- components: +Extension Modules keywords: +patch nosy: +rhettinger stage: needs patch - patch review Added file:

[issue17444] multiprocessing.cpu_count() should use hw.availcpu on Mac OS X

2013-03-19 Thread Trent Nelson
Trent Nelson added the comment: On Tue, Mar 19, 2013 at 01:58:59AM -0700, John Szakmeister wrote: John Szakmeister added the comment: Actually, Trent's version looks at hw.logicalcpu and then falls back to hw.ncpu, if there was an error. Given the state of the documentation on these

[issue5993] python produces zombie in webbrowser.open

2013-03-19 Thread Marc Adam Anderson
Marc Adam Anderson added the comment: Unable to reproduce this bug on Mac OS X 10.8.3 (12D78) using Python 3.4.0a0 and the following browsers: - Google Chrome 25.0.1364.172 - Firefox 13.0.1 - Safari 6.0.3 (8536.28.10) -- nosy: +marcadam ___ Python

[issue1525919] email package quoted printable behaviour changed

2013-03-19 Thread Colin Su
Colin Su added the comment: Confirmed with David, we work on this together on sprints. This is not a bug, if you do set_payload directly by yourself, you need to encode the payload by yourself because set_payload() doesn't encode payload if 'Content-Transfer-Encoding' did exist. --

[issue1525919] email package quoted printable behaviour changed

2013-03-19 Thread Colin Su
Changes by Colin Su littleq0...@gmail.com: -- assignee: - docs@python components: +Documentation -Library (Lib), email nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1525919

[issue17467] Enhancement: give mock_open readline() and readlines() methods

2013-03-19 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: 3rd version of the patch. * Added some documentation to untitest.mock.rst * Changed the code so that read, readline, and readlines all deplete the same copy of read_data. -- Added file: http://bugs.python.org/file29484/01000-mock_open-methods.patch

[issue8862] curses.wrapper does not restore terminal if curses.getkey() gets KeyboardInterrupt

2013-03-19 Thread Marc Adam Anderson
Marc Adam Anderson added the comment: Tested patch using Python 3.4.0a0 on Mac OS X 10.8.3 (12D78). Patch appears to fix the bug. -- nosy: +marcadam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8862

[issue8862] curses.wrapper does not restore terminal if curses.getkey() gets KeyboardInterrupt

2013-03-19 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8862 ___ ___ Python-bugs-list mailing list

[issue2518] smtpd.py to handle huge email

2013-03-19 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +email -Library (Lib) nosy: +barry, r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2518 ___

[issue5993] python produces zombie in webbrowser.open

2013-03-19 Thread Andrew Gorcester
Andrew Gorcester added the comment: I was able to reproduce on Ubuntu with Python 3.4 compiled from trunk 2013-03-17, but only with Firefox and not with Chrome. -- nosy: +andrewsg ___ Python tracker rep...@bugs.python.org

[issue17483] Can not tell urlopen not to check the hostname for https connections.

2013-03-19 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- assignee: - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17483 ___

[issue2518] smtpd.py to handle huge email

2013-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- versions: +Python 3.4 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2518 ___ ___

[issue17484] add tests for getpass

2013-03-19 Thread Thomas Fenzl
Changes by Thomas Fenzl thomas.fe...@gmx.net: -- components: Tests nosy: Thomas Fenzl priority: normal severity: normal status: open title: add tests for getpass type: enhancement versions: Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue9090] Error code 10035 calling socket.recv() on a socket with a timeout (WSAEWOULDBLOCK - A non-blocking socket operation could not be completed immediately)

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset f22b93b318a5 by Kristján Valur Jónsson in branch '2.7': issue #9090 : Limit the fix to windows since getting a portable simple http://hg.python.org/cpython/rev/f22b93b318a5 -- ___ Python tracker

[issue17485] Deleting Request data does not update Content-length header.

2013-03-19 Thread Daniel Wozniak
New submission from Daniel Wozniak: The patch to fix issue http://bugs.python.org/issue16464 neglects the deleter method of the Request.data property. This allows Request._data to get updated without removing the Content-length header. -- components: Library (Lib) files: patch.diff

[issue8862] curses.wrapper does not restore terminal if curses.getkey() gets KeyboardInterrupt

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8a08607abf32 by R David Murray in branch '3.2': #8862: Fix curses cleanup with getchar is interrupted by a signal. http://hg.python.org/cpython/rev/8a08607abf32 New changeset 342ef2ed8d05 by R David Murray in branch '3.3': Merge: #8862: Fix curses

[issue17449] dev guide appears not to cover the benchmarking suite

2013-03-19 Thread Brett Cannon
Brett Cannon added the comment: No it does not, but it should. -- assignee: brett.cannon - keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17449 ___

[issue17468] Generator memory leak

2013-03-19 Thread Anssi Kääriäinen
Anssi Kääriäinen added the comment: I am trying to read the code, and it seems objects of type generator are uncollectable if the code of the generator has a block of other type than SETUP_LOOP. I can see how try-finally for example in the generator would cause problems - the finally might

[issue8862] curses.wrapper does not restore terminal if curses.getkey() gets KeyboardInterrupt

2013-03-19 Thread R. David Murray
R. David Murray added the comment: Committed. We couldn't think of a way to write a test, so I committed it without one. Thanks July and Marc. -- nosy: +r.david.murray resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.3, Python 3.4

[issue17445] Handle bytes comparisons in difflib.Differ

2013-03-19 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: +patch Added file: http://bugs.python.org/file29486/6dedcdbe7cd5.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17445 ___

[issue17486] datetime.timezone returns the wrong tzname()

2013-03-19 Thread Lennart Regebro
New submission from Lennart Regebro: When calling tzname() on a timezone object it will return UTC + the offset. from datetime import timezone, timedelta, datetime tz = timezone(timedelta(hours=3)) dt = datetime(2013, 3, 14, 12, 30, tzinfo=tz) dt.tzname() 'UTC+03:00' But this breaks

[issue17477] update the bsddb module do build with db 5.x versions

2013-03-19 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: Removed file: http://bugs.python.org/file29475/bsddb.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17477 ___

[issue17477] update the bsddb module do build with db 5.x versions

2013-03-19 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: Added file: http://bugs.python.org/file29487/bsddb.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17477 ___

[issue17471] Patch for Additional Test Coverage for urllib.error

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 33f02ccb5301 by Senthil Kumaran in branch '3.2': #17471 - Improve urllib2 test coverage. Patch contributed by Daniel Wozniak http://hg.python.org/cpython/rev/33f02ccb5301 New changeset 4e59a7fc69c6 by Senthil Kumaran in branch '3.3': #17471 - merge

[issue17471] Patch for Additional Test Coverage for urllib.error

2013-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Daniel - I could not really get the need for this check. + msg = str(err) + str(err.code) in msg and err.msg in msg The other one was really useful and probably covered the reasonstr. Thanks for the patch. -- resolution: - fixed stage: -

  1   2   >