[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-19 Thread Ned Deily
Ned Deily added the comment: The attached patch applies cleanly to default, 3.3, 3.2, and 2.7. It appears to prevent the Tk crash observed with ActiveTcl 8.5.12.1 with all of them and I did not observe regressions when briefly tested on OS X with older versions of Tk 8.5 or Tk 8.4 nor on Linu

[issue16282] The Python Tutorial the previous link needs updating

2012-10-19 Thread Mark Lawrence
New submission from Mark Lawrence: http://docs.python.org/tutorial/ the previous link goes to http://docs.python.org/whatsnew/2.0.html. Can we have this updated please? -- assignee: docs@python components: Documentation messages: 173311 nosy: BreamoreBoy, docs@python priority: normal s

[issue16282] The Python Tutorial the previous link needs updating

2012-10-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: This issue does not seem limited to a particular page. For example, the "Previous topic" link for the Python Standard Library part: http://docs.python.org/library/index.html is "9. Full Grammar specification", which is the last section of the following part

[issue16282] The Python Tutorial the previous link needs updating

2012-10-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: > http://docs.python.org/tutorial/ the previous link goes to > http://docs.python.org/whatsnew/2.0.html. This seems correct to me since the 'All "What's new" documents since 2.0' part of the documentation occurs immediately before the Tutorial part, and 2.0 is

[issue16282] The Python Tutorial the previous link needs updating

2012-10-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: Note that the 2.0 issue was previously reported in issue 4988 and issue 7683. The issue I described occurs because the parts on the home page are listed in an order different from their order in the table of contents: http://docs.python.org/ http://docs.pytho

[issue16283] ctypes.util.find_library does not find all DLLs anymore

2012-10-19 Thread Marcus von Appen
New submission from Marcus von Appen: ctypes.util.find_library does not seem to be able to find certain libraries in Python3.3 on Win32 platforms anymore, if the library suffix is omitted. For some reason, os.path.isfile() in ctypes.util.find_library returns False in those cases. Please try o

[issue9720] zipfile writes incorrect local file header for large files in zip64

2012-10-19 Thread Ruben Gonzalez
Changes by Ruben Gonzalez : -- nosy: +Ruben.Gonzalez ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue16279] namedtuple should compare equality with field names taken into account

2012-10-19 Thread Nick Coghlan
Nick Coghlan added the comment: So that they can be returned from an API without breaking backwards compatibility, named tuples are intentionally equivalent to the corresponding ordinary tuple: >>> from collections import namedtuple >>> Pair = namedtuple("Pair", "x y") >>> Pair(1, 2) == (1, 2)

[issue16279] namedtuple should compare equality with field names taken into account

2012-10-19 Thread Nick Coghlan
Nick Coghlan added the comment: "... returned from an API that previously returned an ordinary tuple ..." -- ___ Python tracker ___ __

[issue16284] concurrent.futures ThreadPoolExecutor keeps unnecessary references to worker functions.

2012-10-19 Thread Mark Dickinson
New submission from Mark Dickinson: The ThreadPoolExecutor unnecessarily keeps references to _WorkItem objects. With the attached patch (which lacks a test), all tests still pass, and the references are removed as soon as they're no longer needed. -- files: kill_reference.diff keyword

[issue16284] concurrent.futures ThreadPoolExecutor keeps unnecessary references to worker functions.

2012-10-19 Thread Ralf Schmitt
Changes by Ralf Schmitt : -- nosy: +schmir ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue16285] Erroneously encoding tilde to %7e in quote

2012-10-19 Thread Matteo Parrucci
New submission from Matteo Parrucci: RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt) says: For consistency, percent-encoded octets in the ranges of ALPHA (%41-%5A and %61-%7A), DIGIT (%30-%39), hyphen (%2D), period (%2E), underscore (%5F), or tilde (%7E) should not be created by URI producers and

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-19 Thread Nick Coghlan
Nick Coghlan added the comment: Interesting - the test case I wrote for this was failing on Linux as well. Same fix worked both places, though (i.e. ensuring S_IWUSR is always set on .pyc files so they can be updated properly) 2.7 update incoming, we'll see what the Windows buildbots have to s

[issue16256] permissions wrong on Mac doc dir

2012-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Oddly enough the share/doc directory is created in the postinstall script for the documentation, looking at the script again makes me think that the script could be removed other than the symlink in /Developer/Documentation and that link is not useful on mode

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-19 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, my test was buggy - the mtime wasn't reliably changing by enough, so the pyc wasn't always being rewritten. I changed it to force a big time delta by backdating the original source file. -- ___ Python tracker

[issue16270] urllib hangs when closing connection

2012-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset edeeb727df86 by Giampaolo Rodola' in branch 'default': Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager. http://hg.python.org/cpython/rev/edeeb727df86 -- nosy: +python-dev

[issue12805] Optimizations for bytes.join() et. al

2012-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I adapted a patch to the current code (now it works for bytearrays too), deleted the behavior change, left optimization only for 0- and 1-bytes separator, deleted tests (bytes.join tests already exists), wrote a benchmark and after long experiments has set a

[issue16270] urllib hangs when closing connection

2012-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2e6bcbb0ff59 by Giampaolo Rodola' in branch '3.3': Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager. http://hg.python.org/cpython/rev/2e6bcbb0ff59 -- __

[issue16270] urllib hangs when closing connection

2012-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7f0d9637a3ad by Giampaolo Rodola' in branch '3.2': Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager. http://hg.python.org/cpython/rev/7f0d9637a3ad -- __

[issue16270] urllib hangs when closing connection

2012-10-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- assignee: -> giampaolo.rodola resolution: -> fixed status: open -> closed versions: +Python 3.2 ___ Python tracker ___ ___

[issue16285] Update urllib to RFC 3986

2012-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, urllib based on RFC 2396, but RFC 3986 obsoletes RFC 2396. Updating to RFC 3986 should be new feature. For older versions can not change anything. But you always can use "safe" argument with quote(). -- components: +Library (Lib) nosy: +orsen

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 321414874b26 by Nick Coghlan in branch '2.7': Issue #6074: Restore the long-broken support for running with read-only source files on Windows http://hg.python.org/cpython/rev/321414874b26 -- nosy: +python-dev __

[issue13440] Explain the "status quo wins a stalemate" principle in the devguide

2012-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset ec52e044421d by Nick Coghlan in branch 'default': Close #13440 by linking to a couple of blog posts from the dev FAQ. Also rearrange the main page a bit to address some other concerns that came up on the tracker issue http://hg.python.org/devguide/

[issue16263] sendmsg, recvmsg, recvmsg_into et al not being detected on Solaris

2012-10-19 Thread Trent Nelson
Trent Nelson added the comment: After some investigation, I've established the following cause: 1. Our Solaris builds should add -D_XPG4_2 to CPPFLAGS. I've been manually setting this on the Solaris build slaves. This define ensures all the POSIX 95 things get picked up (like

[issue16263] sendmsg, recvmsg, recvmsg_into et al not being detected on Solaris

2012-10-19 Thread Trent Nelson
Changes by Trent Nelson : -- title: sendmsg, recvmsg,recvmsg_into et al not being detected on Solaris -> sendmsg, recvmsg, recvmsg_into et al not being detected on Solaris ___ Python tracker __

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-19 Thread Nick Coghlan
Nick Coghlan added the comment: Buildbots look happy, removing 2.7 from affected versions. -- versions: -Python 2.7 ___ Python tracker ___ ___

[issue16286] Optimize a==b and a!=b for bytes and str

2012-10-19 Thread STINNER Victor
New submission from STINNER Victor: Attached patch optimize a==b and a!=b operators for bytes and str types of Python 3.4. For str, memcmp() is now always used, instead of a loop using PyUnicode_READ() (which is slow) for kind different than 1. For bytes, compare the first but also the last by

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1856d57abfc8 by Nick Coghlan in branch '3.2': Issue #6074: Forward port Windows read-only source file fix from 2.7 http://hg.python.org/cpython/rev/1856d57abfc8 -- ___ Python tracker

[issue15963] Improve ./configure's support for 32/64-bit debug|release|profiled builds w/ vendor (non-gcc) compilers on proprietary UNIX systems (Solaris/HP-UX/AIX et al).

2012-10-19 Thread Trent Nelson
Trent Nelson added the comment: On Tue, Sep 18, 2012 at 06:40:35AM -0700, Trent Nelson wrote: > Side bar design question: on BSD/Linux/OSX w/ gcc/clang, if you're on > an amd64 platform, you'll get a 64-bit build. This isn't the case for > Solaris, HP-UX and AIX -- the default is always 32-bit.

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f6db10b7a69 by Nick Coghlan in branch '3.3': Dummy merge from 3.2, as that approach to resolving #6074 is not applicable to importlib http://hg.python.org/cpython/rev/3f6db10b7a69 -- ___ Python tracker

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-19 Thread Nick Coghlan
Nick Coghlan added the comment: OK, it should just be the two importlib based releases affected now. -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ __

[issue15745] Numerous utime ns tests fail on FreeBSD w/ ZFS

2012-10-19 Thread Trent Nelson
Trent Nelson added the comment: Larry and I just chatted about this on IRC. Summary: 1.) I was wrong about os.stat() affecting atime. I fired up a console session on Solaris to "prove" my atime observation only to find os.stat() had no impact on atime: % ./python

[issue16286] Optimize a==b and a!=b for bytes and str

2012-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Good. I would like to see similar statistics tests for any real application. -- ___ Python tracker ___ ___

[issue16287] Sporadic test_utime() failures on Solaris

2012-10-19 Thread Trent Nelson
New submission from Trent Nelson: This was initially observed in #15745, however, there's a separate problem here. The current test_utime() on Solaris sporadically (usually) fails along the following lines: > self.assertEqual(attr(st0, "st_mtime"), attr(st1, "st_mtime")) > AssertionEr

[issue16287] Sporadic test_utime() failures on Solaris

2012-10-19 Thread Trent Nelson
Changes by Trent Nelson : -- nosy: +larry, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset df83d3bbd934 by Nick Coghlan in branch '2.7': Issue #6074: Actually delete the source file in the test as intended http://hg.python.org/cpython/rev/df83d3bbd934 -- ___ Python tracker

[issue15745] Numerous utime ns tests fail on FreeBSD w/ ZFS (update: and NetBSD w/ FFS, Solaris w/ UFS)

2012-10-19 Thread Trent Nelson
Trent Nelson added the comment: On Tue, Oct 16, 2012 at 10:46:34PM -0700, Trent Nelson wrote: > > Trent Nelson added the comment: > > Thanks for the feedback Larry; yeah that patch definitely wasn't > intended to be "production quality" -- more of a proof of concept. I > agree with your points

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset bbb3459fbcb8 by Nick Coghlan in branch '3.3': Issue #6074: Apply an appropriate fix for importlib based imports http://hg.python.org/cpython/rev/bbb3459fbcb8 New changeset bedcc790c6e7 by Nick Coghlan in branch 'default': Merge fix from #6074 from 3

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8cf7f6fe4282 by Nick Coghlan in branch '3.2': Issue #6074: Actually delete the source file in the test as intended http://hg.python.org/cpython/rev/8cf7f6fe4282 -- ___ Python tracker

[issue16286] Optimize a==b and a!=b for bytes and str

2012-10-19 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-19 Thread Nick Coghlan
Nick Coghlan added the comment: For 3.3+ I ended up using a tweaked version of Eric's patch - I kept the general test structure, but used the behavioural test I had created (i.e. does updating the initially read-only source file affect a subsequent bytecode only import?), as well as the simple

[issue16261] Fix bare excepts in various places in std lib

2012-10-19 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue16255] subrocess.Popen needs /bin/sh but Android only has /system/bin/sh

2012-10-19 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16245] Update html.entities.html5 dictionary and parseentities.py

2012-10-19 Thread Éric Araujo
Éric Araujo added the comment: I say replace the code. HTML 4.01 won’t be updated. -- nosy: +eric.araujo, georg.brandl, larry ___ Python tracker ___

[issue16238] Automatically remove build directory when build options changed

2012-10-19 Thread Éric Araujo
Éric Araujo added the comment: Right, this is desirable behaviour. I thought setup.py and setup.cfg were dependencies in the files graph, meaning that if setup.py is newer than a py or so/dll file in the build dir, everything gets rebuilt. I’ll have to check that. -- stage: -> test

[issue16237] bdist_rpm SPEC files created with distutils may be distro specific

2012-10-19 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16287] Sporadic test_utime() failures on Solaris

2012-10-19 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16236] Doc/Makefile should have $PYTHON=python2

2012-10-19 Thread Éric Araujo
Éric Araujo added the comment: Yes, please don’t break many OSes for the sake of one. -- nosy: +eric.araujo ___ Python tracker ___ ___

[issue16235] Add python-config.sh for use during cross compilation.

2012-10-19 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16287] Sporadic test_utime() failures on Solaris

2012-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue16286] Optimize a==b and a!=b for bytes and str

2012-10-19 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue16166] Add PY_BYTE_ORDER macro to get endianess of platform

2012-10-19 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Instead of using macro values, I would rather define ONLY a single macro, PY_LITTLE_ENDIAN or PY_BIG_ENDIAN. Far less error prone!. It is far fool-proof "#ifdef PY_LITTLE_ENDIAN" than "#if PY_LITTLE_ENDIAN". -- __

[issue16166] Add PY_BYTE_ORDER macro to get endianess of platform

2012-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Instead of using macro values, I would rather define ONLY a single macro, > PY_LITTLE_ENDIAN or PY_BIG_ENDIAN. Time machine strikes back. #ifdef WORDS_BIGENDIAN -- ___ Python tracker

[issue16274] test_asyncore failing on Solaris 10 2.7 (nitrogen/s10)

2012-10-19 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: "hg annotate" is useful :-) Changes in 3.2 look like coming from here: """ jcea@ubuntu:~/hg/python/cpython$ hg log -r 64988 changeset: 64988:0f8c2eb89f46 user:Antoine Pitrou date:Tue Sep 28 21:23:11 2010 + summary: Issue #9090: When

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

2012-10-19 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Backport to 2.7 should be done: See Issue #16274. -- nosy: +jcea ___ Python tracker ___ ___ Python-b

[issue16274] test_asyncore failing on Solaris 10 2.7 (nitrogen/s10)

2012-10-19 Thread Trent Nelson
Changes by Trent Nelson : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-19 Thread Robert Collins
New submission from Robert Collins: TextTestRunner calls str(TestCase) directly, which makes it hard for testscenarios to rename the test cases as it parameterises them (because __str__ is a descriptor). While testscenarios could use a decorator instead, thats undesirable as the test case obje

[issue16229] Demo *redemo.py* lacking in Windows installation

2012-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: On my win7 3.3.0 install, I have Tools/scripts and a couple of other subdirs but no Tools/demo directory. -- nosy: +terry.reedy ___ Python tracker

[issue16233] IDLE: conceptual problems with *Class browser*

2012-10-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +serwy, terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue16243] Add example for inspect module doc

2012-10-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: Regression in inspect module -> Add example for inspect module doc ___ Python tracker ___ ___ Py

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-19 Thread Robert Collins
Robert Collins added the comment: Or anther way this could be done would be to make TestCase.__str__ call self.id(), and then __str__ never needs to be adjusted - id() or shortDescription are the only things to tweak. -- ___ Python tracker

[issue16248] Security bug in tkinter allows for untrusted, arbitrary code execution.

2012-10-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy -Want to Delete This Account ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-19 Thread R. David Murray
R. David Murray added the comment: By "descriptor" I think you really mean it is a special method (ie: looked up on the class only, not on an instance). A descriptor is something else. This is a feature request and could only be implemented in 3.4. Assuming I'm understanding what you are ask

[issue2350] 'exceptions' import fixer

2012-10-19 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 -Python 2.6 ___ Python tracker ___ __

[issue15379] Charmap decoding of no-BMP characters

2012-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The 2.7 patch is just a backport of 3.2 patch (including the last Antoine's fix). Please look and commit. -- ___ Python tracker ___

[issue14850] The inconsistency of codecs.charmap_decode

2012-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Does anyone have objections against the idea or the implementation of the patch? Please review. -- ___ Python tracker ___ __

[issue16218] Python launcher does not support non ascii characters

2012-10-19 Thread Gertjan Klein
Changes by Gertjan Klein : -- nosy: +gklein ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-19 Thread Eric Snow
Eric Snow added the comment: Sounds good. Thanks for getting this done, Nick. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue16195] Difficult or impossible to figure out how garbage collector and weak references should interact for user-defined extension types

2012-10-19 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16218] Python launcher does not support non ascii characters

2012-10-19 Thread Tim Golden
Tim Golden added the comment: Confirming that this doesn't happen on 2.7 py -2 £.py succeeds py -3 £.py gives: python: failed to set __main__.__loader__ -- ___ Python tracker

[issue15872] shutil.rmtree(..., ignore_errors=True) doesn't ignore all errors

2012-10-19 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Alexander, looks as you changes in r87736 was not backported to 2.7. -- components: +Extension Modules -Library (Lib) nosy: +belopolsky stage: -> needs patch ___ Python tracker

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-19 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue15522] impove 27 percent performance on stringpbject.c( by prefetch and loop optimization)

2012-10-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue16255] subrocess.Popen needs /bin/sh but Android only has /system/bin/sh

2012-10-19 Thread Andrew Svetlov
Andrew Svetlov added the comment: Is there some document describing procedure for building/installing/running_tests at Android device? I have Samsung Galaxy Tab and would to work on the issue. But my android experience is limited to installing Scripting Layer for Android from Google Play and r

[issue16255] subrocess.Popen needs /bin/sh but Android only has /system/bin/sh

2012-10-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: > It seems simple enough for us to make the default configurable This seems good to do in any case (as opposed to having the string be "hard-coded"), and we can test it independently of Android. There is a recently added test in the 3.x branches that can be m

[issue16255] subrocess.Popen needs /bin/sh but Android only has /system/bin/sh

2012-10-19 Thread Ben Rousch
Ben Rousch added the comment: > Is there some document describing procedure for > building/installing/running_tests at Android device? I'm using the android-python27 project, but you can also reproduce it under SL4A: Start SL4A Menu -> View -> Interpreters Python 2.6.2 or Python 3 >>> from s

[issue14850] The inconsistency of codecs.charmap_decode

2012-10-19 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12805] Optimizations for bytes.join() et. al

2012-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't understand the point of this optimization. It looks rather cryptic and very specific. Can you elaborate? -- ___ Python tracker ___

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-19 Thread Robert Collins
Robert Collins added the comment: They aren't descriptors? They certainly aren't normal methods: >>> class foo(object): ... def __str__(self): return "foo" ... >>> f = foo() >>> f.__str__ = lambda: "bar" >>> str(f) 'foo' I *thought* the mechanism by which they can only be replaced by altering

[issue1283110] Give __len__() advice for "don't know"

2012-10-19 Thread Todd Rovito
Changes by Todd Rovito : Removed file: http://bugs.python.org/file27605/DataModel__len__.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue1283110] Give __len__() advice for "don't know"

2012-10-19 Thread Todd Rovito
Todd Rovito added the comment: Changed the file name so it is clear that this patch goes with version 3.4. -- Added file: http://bugs.python.org/file27624/RightClickContextMenuUpdatedFor3point4.patch ___ Python tracker

[issue1283110] Give __len__() advice for "don't know"

2012-10-19 Thread Todd Rovito
Changes by Todd Rovito : Removed file: http://bugs.python.org/file27624/RightClickContextMenuUpdatedFor3point4.patch ___ Python tracker ___ ___

[issue1283110] Give __len__() advice for "don't know"

2012-10-19 Thread Todd Rovito
Todd Rovito added the comment: Used the right patch file name this time... -- Added file: http://bugs.python.org/file27625/DataModel__len__3point4.patch ___ Python tracker ___

[issue1283110] Give __len__() advice for "don't know"

2012-10-19 Thread Todd Rovito
Todd Rovito added the comment: This patch is for Python 2.7. -- versions: +Python 2.7 Added file: http://bugs.python.org/file27626/DataModel__len__2point7.patch ___ Python tracker

[issue10405] IDLE breakpoint facility undocumented

2012-10-19 Thread Todd Rovito
Todd Rovito added the comment: Nick, I agree some documentation is better than none. But somebody could do better I am not sure how to debug in IDLE. I have taken your file and created a 2.7 patch. -- keywords: +patch type: -> enhancement versions: -Python 3.1, Python 3.2 Added f

[issue10405] IDLE breakpoint facility undocumented

2012-10-19 Thread Todd Rovito
Changes by Todd Rovito : Removed file: http://bugs.python.org/file27627/IDLEBreakPointDocumentation2point7.patch ___ Python tracker ___ ___ P

[issue10405] IDLE breakpoint facility undocumented

2012-10-19 Thread Todd Rovito
Todd Rovito added the comment: This patch works for both Python 3.4 and Python 2.7, it is a very simple patch. -- versions: +Python 3.4 Added file: http://bugs.python.org/file27628/IDLEBreakPointDocumentation.patch ___ Python tracker

[issue16286] Optimize a==b and a!=b for bytes and str

2012-10-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: something to include in your statistics is the lengths of the already hashed data being compared. i expect there to be a minimum length before this optimization is useful. -- nosy: +gregory.p.smith ___ Python trac

[issue16278] os.rename documentation slightly inaccurate

2012-10-19 Thread Todd Rovito
Changes by Todd Rovito : -- nosy: +Todd.Rovito ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth