[issue18050] embedded interpreter or virtualenv fails with "ImportError: cannot import name MAXREPEAT"

2013-05-26 Thread Ned Deily
Ned Deily added the comment: After spending some time investigating this issue, I believe that potential upgrade compatibility issues have been introduced by the changes for Issue13169. How critical they are and, in particular, whether they violate our implicit promises of maintenance (point)

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-05-26 Thread Nick Coghlan
Nick Coghlan added the comment: Somewhat related, I *know* you've read type.__new__. Compared to that, enum.EnumMeta.__new__ is still pretty straightforward ;) -- ___ Python tracker ___

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-05-26 Thread Nick Coghlan
Nick Coghlan added the comment: Eli, remember that TOOWTDI stands for "There's one *obvious* way to do it" rather than "There's *only* one way to do it". The latter interpretation leads to insanely complex APIs that attempt to solve everyone's problems, while the former favours 80% solutions t

[issue2053] IDLE - standardize dialogs

2013-05-26 Thread Todd Rovito
Changes by Todd Rovito : -- nosy: +Todd.Rovito ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue15392] Create a unittest framework for IDLE

2013-05-26 Thread Todd Rovito
Todd Rovito added the comment: Patch does indeed apply and I get good results! The patch is well done and provides a nice example on how to write unit tests. +1 for making the commit from me R. David Murray you used the patch command while I used "hg import --no-commit mywork.patch" as sp

[issue5124] IDLE - pasting text doesn't delete selection

2013-05-26 Thread Todd Rovito
Todd Rovito added the comment: I haver verified Roger's patch does indeed fix the problem on Linux CentOS 6.4 with IDLE 3.4. The Linux situation is complex. Basically as I see it over the years pure X11 applications are becoming extinct and most developers either use GTK (for GNOME) or QT (f

[issue17511] Idle find function closes after each find operation

2013-05-26 Thread Todd Rovito
Todd Rovito added the comment: I was wondering does it make sense to commit this patch since it is similar to http://bugs.python.org/issue14146 then put the issue in the pending state as we wait for the TK/TCL fix? It seems more consistent to me since this issue is basically the same highligh

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-05-26 Thread Eli Bendersky
Eli Bendersky added the comment: Guido, IMHO back-doors are fine in many cases, just not this one. The way I see it, our main goal here is to collect a bunch of custom implementations of enums under a single umbrella. This is not very different from what was done with OrderedDict and namedtupl

[issue16278] os.rename documentation slightly inaccurate

2013-05-26 Thread Todd Rovito
Todd Rovito added the comment: Ping!!! I have not heard anything about this patch so I wanted to ping it to get more feedback. Thanks! -- ___ Python tracker ___ __

[issue5124] IDLE - pasting text doesn't delete selection

2013-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that the paste replace should be added as an option on linux, but without a broader survey of Linux Idle users to convince me otherwise, I have to agree that the default should stay as it is. I do not see any call to make the x11 behavior an option on

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-05-26 Thread Guido van Rossum
Guido van Rossum added the comment: Eli, what's wrong with having a backdoor? Python is literally *full* of backdoors. I have a feeling that somehow you are trying to build an Enum class that is unpythonic in its desire to enforce some kind of "ideal enum" behavior. -- _

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-05-26 Thread Eli Bendersky
Eli Bendersky added the comment: I'm not sure which promises you're referring to Nick, and to whom they were made; the only formal promise we made is PEP 435 - and it doesn't mention this extensibility. I won't argue beyond this comment, since I know I'm part of the minority opinion here. How

[issue7940] re.finditer and re.findall should support negative end positions

2013-05-26 Thread Matthew Barnett
Matthew Barnett added the comment: Like the OP, I would've expected it to handle negative indexes the way that strings do. In practice, I wouldn't normally provide negative indexes; I'd use some string or regex method to determine the search limits, and then pass them to finditer and findall,

[issue5124] IDLE - pasting text doesn't delete selection

2013-05-26 Thread Ned Deily
Ned Deily added the comment: Unfortunately, there is no one right answer to paste behavior on X11, unlike on native Windows and Mac implementations where there is essentially system-wide consistent paste behavior enforced by the underlying operating system. As the Tk Wiki points out (and the

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-05-26 Thread Nick Coghlan
Nick Coghlan added the comment: Also, we know for a fact that people plan to use the customisation features - it was making their code work that drove the current extension design. -- ___ Python tracker ___

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-05-26 Thread Nick Coghlan
Nick Coghlan added the comment: Supporting extensions was one of the things that got Ethan's version through review. So -1 on going back on our promise to support those variants. They have been reviewed and tested just as thoroughly as the rest of the design. --

[issue5124] IDLE - pasting text doesn't delete selection

2013-05-26 Thread Guilherme Simões
Guilherme Simões added the comment: I think IDLE should ignore general X11 practice. I used Linux for years and have never seen this behavior before because almost all programs behave in the Mac/Windows way. -- nosy: +Guilherme.Simões ___ Python tra

[issue1693050] \w not helpful for non-Roman scripts

2013-05-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3, Python 3.4 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue18052] IDLE 3.3.2 Windows taskbar icon regression

2013-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Restarting Windows solves the issue. If nothing else, the installer could end with 'Restart Windows for Idle icons to work correctly'. -- ___ Python tracker __

[issue706406] fix bug #685846: raw_input defers signals

2013-05-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Closing as fixed. I tested with python2.7 and 3.2, both with and without a readline module. Behavior is consistent and looks correct to me: the signal is honored (message printed after 5s), and does not stop the raw_input(), except when it raises an exc

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-05-26 Thread Eli Bendersky
Eli Bendersky added the comment: Thanks Ethan :) >From my point of view this is LGTM, as long as: * There's ReST documentation * You remove the code to support extensions and customizations not mandated by PEP 435. As I mentioned before, this seems to be a YAGNI that complicates the code need

[issue877121] configure detects incorrect compiler optimization

2013-05-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The 3.2 change r85656 removes OPT:Olimit, IMO this should not be backported. But 2.7 already has this warning fixed for icc: http://hg.python.org/cpython/rev/e7c96c1d144b/ We should do the same here. What's the correct way to detect Oracle Studio compiler

[issue9951] introduce bytes.hex method

2013-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Also #3532 -- nosy: +terry.reedy versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-

[issue923697] SAX2 'property_encoding' feature not supported

2013-05-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Mark, the "http://www.python.org/sax/properties/encoding"; is not meant to be a web page. It's like an attribute name, but fully qualified so that attributes given by different organizations don't clash. (There may be different usages of "encoding": is it

[issue592703] HTTPS does not handle pipelined requests

2013-05-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: The original report is so under-specified that it's pointless to keep it open. If you encounter an actual bug, feel free to open another issue :) -- nosy: +pitrou status: pending -> closed ___ Python tracker

[issue18056] Document importlib._bootstrap.NamespaceLoader

2013-05-26 Thread Eric V. Smith
Eric V. Smith added the comment: No reason I can think of, other than it never occurred to me to do it. -- ___ Python tracker ___ ___

[issue18058] Define is_package for NamespaceLoader

2013-05-26 Thread Eric V. Smith
Eric V. Smith added the comment: I think it's just an oversight. -- assignee: barry -> brett.cannon ___ Python tracker ___ ___ Python-

[issue592703] HTTPS does not handle pipelined requests

2013-05-26 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue592703] HTTPS does not handle pipelined requests

2013-05-26 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- resolution: -> works for me status: pending -> open ___ Python tracker ___ ___ Python-bugs-list

[issue592703] HTTPS does not handle pipelined requests

2013-05-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Tried with python2.7.3 I used http://code.activestate.com/recipes/576673-python-http-pipelining/ just replacing the initial call to HTTPConnection() by HTTPSConnection(). The example succeeeds, fetches the three pages, and I checked with strace that the

[issue18069] Subprocess picks the wrong executable on Windows

2013-05-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue18069] Subprocess picks the wrong executable on Windows

2013-05-26 Thread berdario
New submission from berdario: To reproduce: I installed 2 versions of python: python2.7 and python3.3, both in C:\ I then used the distribute-setup and get-pip script on both interpreters http://python-distribute.org/distribute_setup.py https://raw.github.com/pypa/pip/master/contrib/get-pip.py I

[issue18068] pickle + weakref.proxy(self)

2013-05-26 Thread Oleg Broytman
New submission from Oleg Broytman: Hello! I've found a problematic behaviour of pickle when it pickles (direct or indirect) weak proxies to self. I suspect pickle cannot detect reference loops with weak proxies. I managed to narrow the case to the following example: import pickle, weakref class

[issue18067] In considering the current directory for importing modules, Python does not honour the output of os.getcwd()

2013-05-26 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of issue 6386, which does contain an explanation of the behavior. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> importing yields unexpected results when initi

[issue2554] test_ioctl failed Python 2.6a2 Solaris 10 SUN C

2013-05-26 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue8112] xmlrpc.server: ServerHTMLDoc.docroutine uses (since 3.0) deprecated function "inspect.getargspec()"

2013-05-26 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18062] m68k FPU precision issue

2013-05-26 Thread mirabilos
mirabilos added the comment: Eero Tamminen dixit: >> > Now as additional data point, UAE/WinUAE/etc. would be interesting. > >I built the test with fpu_control.h header from eglibc, using >Sparemint GCC 2.9.5 (with 2010 binutils) and MiNTlib. When it's Nice ;) >I.e. it seems that WinUAE FPU e

[issue7951] Should str.format allow negative indexes when used for __getitem__ access?

2013-05-26 Thread Mark Lawrence
Mark Lawrence added the comment: Todd's patch strikes me as fine. If something more detailed is needed I think it would be better to raise a separate issue. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue7940] re.finditer and re.findall should support negative end positions

2013-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm worrying about backward compatibility. See also issue7951. -- nosy: +serhiy.storchaka ___ Python tracker ___ __

[issue1693050] \w not helpful for non-Roman scripts

2013-05-26 Thread Matthew Barnett
Matthew Barnett added the comment: I had to check what re does in Python 3.3: >>> print(len(re.match(r'\w+', 'हिन्दी').group())) 1 Regex does this: >>> print(len(regex.match(r'\w+', 'हिन्दी').group())) 6 -- ___ Python tracker

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-05-26 Thread Ethan Furman
Ethan Furman added the comment: Wow. I definitely felt like an apprentice after reading the changes. Thanks, Eli, that looks worlds better! -- ___ Python tracker ___ _

[issue18067] In considering the current directory for importing modules, Python does not honour the output of os.getcwd()

2013-05-26 Thread Shriramana Sharma
New submission from Shriramana Sharma: Hello. I first asked about this at https://groups.google.com/d/topic/comp.lang.python/ZOGwXGU_TV0/discussion and am only posting this issue due to no reply there. I am using Python 2.7.4 and Python 3.3.1 (default packages) on Kubuntu Raring. On both I ex

[issue5124] IDLE - pasting text doesn't delete selection

2013-05-26 Thread Roger Serwy
Roger Serwy added the comment: There are many X11 applications that replace the selection with pasted text. GTK and Qt widgets behave that way. Here's a brief list: gedit (GTK), gummi (GTK), kate (Qt), texmaker (Qt). Tkinter, for me, has become increasingly frustrating due to these subtle pla

[issue8191] Make arg0 required argument in os.execl* functions

2013-05-26 Thread R. David Murray
R. David Murray added the comment: Mark, just asking that question doesn't really move the issue forward. Doing some research to see if there was any discussion on python-dev, and if not summarizing the issues and starting one, would be what could move the issue forward. --

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-05-26 Thread Eli Bendersky
Eli Bendersky added the comment: I tweaked the code a bit (no functionality changes, mostly cleanups and a bit of refactoring). Figured it will be easier to just send an updated patch than another review. The diff from patch 06 can be seen via the Rietveld interface. Also, after reading the co

[issue2554] test_ioctl failed Python 2.6a2 Solaris 10 SUN C

2013-05-26 Thread Jean Brouwers
Jean Brouwers added the comment: I haven't retested that yet, but I will as soon as can. /Jean Bouwers On May 26, 2013, at 7:57 AM, Mark Lawrence wrote: > > Mark Lawrence added the comment: > > is this still a problem with 2.7 or 3.x? > > -- > nosy: +BreamoreBoy > > __

[issue17700] Update Curses HOWTO for 3.4

2013-05-26 Thread A.M. Kuchling
A.M. Kuchling added the comment: I can't make sense of unget_wch. I used this test program: import curses def main(stdscr): stdscr.addstr(0,0, "Key") stdscr.refresh() curses.ungetch(0x0149) while True: ch = stdscr.get_wch() stdscr.addstr(1,1, repr(ch)

[issue13772] listdir() doesn't work with non-trivial symlinks

2013-05-26 Thread Jason R. Coombs
Jason R. Coombs added the comment: Since there's been no additional criticism or discussion on this matter, I'll plan to commit the proposed patch to restore target directory detection. Since the functionality was removed in a bugfix release, it should be acceptable to restore it in a bugfix r

[issue18062] m68k FPU precision issue

2013-05-26 Thread mirabilos
mirabilos added the comment: Laurent Vivier dixit: > For the "etc" ;-) , in Qemu, I have: Hm, I thought qemu did not emulate an MMU? bye, //mirabilos -- [...] if maybe ext3fs wasn't a better pick, or jfs, or maybe reiserfs, oh but what about xfs, and if only i had waited until reiser4 was rea

[issue18061] m68k Python 3.3 test results

2013-05-26 Thread mirabilos
mirabilos added the comment: Serhiy Storchaka dixit: >> >Do you run tests as root? >> Yes. > >Well, this is issue17746. OK, I’ll re-run the tests as regular user (need to create one… ☺) and with all those fixes applied, then we’ll have a look again. (This will take a while.) Thanks, //mirabil

[issue17314] Stop using imp.find_module() in multiprocessing

2013-05-26 Thread Brett Cannon
Brett Cannon added the comment: In the common case of SourceLoader it will set __loader__, __package__, __file__, and __cached__. -- ___ Python tracker ___ _

[issue18066] Remove SGI-specific code from pty.py

2013-05-26 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Library (Lib) versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue18032] set methods should specify whether they consume iterators "lazily"

2013-05-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy nosy: +ezio.melotti stage: -> needs patch versions: +Python 3.3, Python 3.4 -Python 3.2 ___ Python tracker ___ _

[issue18033] Example for Profile Module shows incorrect method

2013-05-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue18042] Provide enum.unique class decorator

2013-05-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18043] No mention of `match.regs` in `re` documentation

2013-05-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Regular Expressions nosy: +ezio.melotti, mrabarnett ___ Python tracker ___ ___ Python-bugs-l

[issue18044] Email headers do not properly decode to unicode.

2013-05-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18047] Descriptors get invoked in old-style objects and classes

2013-05-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue18036] "How do I create a .pyc file?" FAQ entry is out of date

2013-05-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18034] Last two entries in the programming FAQ are out of date (import related)

2013-05-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue766910] fix one or two bugs in trace.py

2013-05-26 Thread Eli Bendersky
Eli Bendersky added the comment: Ah, no time, no time... :-/ I may get back to this in the future. Bumping to more relevant versions for now. -- versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2 ___ Python tracker

[issue18062] m68k FPU precision issue

2013-05-26 Thread mirabilos
mirabilos added the comment: Laurent Vivier dixit: > BTW, the result on a real CPU (68040) is : 68881 even ;-) > test#1 fail: 1.0E+00 > test#2 fail: 1.00040E+16 > changing FPU control word from to 0080 => 0080 > test#1 good: 1.00022E+00

[issue18062] m68k FPU precision issue

2013-05-26 Thread mirabilos
mirabilos added the comment: Mark Dickinson dixit: >If there are tests failing with the 'legacy' mode, that may just >indicate buggy tests that haven't been properly marked as depending on >the short float repr. (E.g., by decorating with I think that’s what we’re seeing here. Python 3.3.1 (def

[issue6483] Modules are not deallocated correctly if m_size = -1

2013-05-26 Thread Mark Lawrence
Mark Lawrence added the comment: Please correct me if I'm wrong but I believe this applies to all Python 3 versions. -- nosy: +BreamoreBoy versions: +Python 3.3, Python 3.4 ___ Python tracker __

[issue8508] 2to3 fixer for gettext's .ugettext

2013-05-26 Thread Mark Lawrence
Mark Lawrence added the comment: Barry, would you like to follow up on this? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bu

[issue18066] Remove SGI-specific code from pty.py

2013-05-26 Thread A.M. Kuchling
New submission from A.M. Kuchling: pty.py contains some code that tries to do 'import sgi' and then does something SGI-specific. sgimodule.c was dropped in 3.0alpha1, so this code is now useless. The attached patch removes it; I'm posting the code review largely in case someone wants to sugg

[issue967161] pty.spawn() enhancements

2013-05-26 Thread A.M. Kuchling
A.M. Kuchling added the comment: It looks like the problem on OpenIndiana with #2489 was fixed. As of May 25th, the 3.x build on OpenIndiana is a green. http://buildbot.python.org/all/builders/x86%20OpenIndiana%203.x/builds/5962 So, 2) is a misunderstanding and 1) was carried out in #2489 (des

[issue18062] m68k FPU precision issue

2013-05-26 Thread Andreas Schwab
Andreas Schwab added the comment: Thorsten Glaser writes: > root@ara3:~ # ./a.out > test#1 fail: 1.0E+00 > test#2 fail: 1.00040E+16 > changing FPU control word from to 0080 => 0080 > test#1 fail: 1.0E+00 > test#2 fail: 1.0

[issue8191] Make arg0 required argument in os.execl* functions

2013-05-26 Thread Mark Lawrence
Mark Lawrence added the comment: What conclusions were drawn on python-dev about this issue? -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue749722] isinstance and weakref proxies.

2013-05-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: Mark, this kind of message isn't useful. The general problem here is not whether it is interesting or not, it is whether it is desireable. My own take is that it would threaten to break existing code, and that making the proxy *too* transparent would be detrime

[issue2554] test_ioctl failed Python 2.6a2 Solaris 10 SUN C

2013-05-26 Thread Mark Lawrence
Mark Lawrence added the comment: is this still a problem with 2.7 or 3.x? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-

[issue8083] urllib proxy interface is too limited

2013-05-26 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang versions: +Python 3.4 -Python 2.7, Python 3.2 ___ Python tracker ___ ___ Python-bu

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

2013-05-26 Thread koobs
koobs added the comment: I'm happy to move them back upon request, or create a FreeBSD/ZFS buildslave specially for the job, just let me know. -- ___ Python tracker ___

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

2013-05-26 Thread koobs
koobs added the comment: I've moved both of the FreeBSD buildbot slaves off their ZFS-backed home directories and back to good old UFS. I want to ensure FreeBSD support continues to improve, and having slaves get noticed when they fail or regress with ongoing development is a big part of that

[issue1693050] \w not helpful for non-Roman scripts

2013-05-26 Thread Mark Lawrence
Mark Lawrence added the comment: Am I correct in saying that this must stay open as it targets the re module but as given in msg81221 is fixed in the new regex module? -- nosy: +BreamoreBoy ___ Python tracker __

[issue8238] Proxy handling

2013-05-26 Thread Mark Lawrence
Mark Lawrence added the comment: I can't even try to reproduce this as I've no corporate network as a test bed. Is this still an issue with Python 2.7 or the reworked urllib in Python 3.x? -- nosy: +BreamoreBoy ___ Python tracker

[issue8112] xmlrpc.server: ServerHTMLDoc.docroutine uses (since 3.0) deprecated function "inspect.getargspec()"

2013-05-26 Thread Mark Lawrence
Mark Lawrence added the comment: Tormen could you provide a patch for this? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bug

[issue18040] SIGINT catching regression on windows in 2.7

2013-05-26 Thread Tim Golden
Tim Golden added the comment: Correction: I see the desired behaviour in 3.3/3.4 which is where the overhaul to Ctrl-C handling on Windows was applied. I still can't see it in 2.6 or in 3.1/3.2 on Windows. The problem lies in the fact that PyOS_InterruptOccurred and PyErr_CheckSignals from sign

[issue16580] Add examples to int.to_bytes and int.from_bytes

2013-05-26 Thread Mark Dickinson
Mark Dickinson added the comment: The `from_bytes` example code looks fine to me, except that I'd probably use `enumerate` in the iteration; i.e., sum(b << 8*i for i, b in enumerate(little_ordered)) instead of sum(little_ordered[i] << i*8 for i in range(len(little_ordered))) Also, i

[issue18059] Add multibyte encoding support to pyexpat

2013-05-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file30380/pyexpat_multibyte_encodings_3.patch ___ Python tracker ___ ___ P

[issue18059] Add multibyte encoding support to pyexpat

2013-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated. Yet some tests added and yet some bugs fixed. -- Added file: http://bugs.python.org/file30381/pyexpat_multibyte_encodings_4.patch ___ Python tracker __

[issue18062] m68k FPU precision issue

2013-05-26 Thread Mark Dickinson
Mark Dickinson added the comment: It's also an option not to use dtoa.c: Python still has fallback code that uses the OS double <-> char* conversions for the case where the configuration step can't figure out how to change the FPU control word. In that case compilation should still succeed,

[issue18062] m68k FPU precision issue

2013-05-26 Thread Mark Dickinson
Mark Dickinson added the comment: > The problem with changing the FPUCW on i387 is that it changes > from 64/15 bit mantissa/exponent to 53/15 bit which is still > not the 53/11 bit of IEEE double, so you *still* get double- > rounding issues (with denormal numbers only, I guess) because > the in

[issue17746] test_shutil.TestWhich.test_non_matching_mode fails when running as root

2013-05-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18059] Add multibyte encoding support to pyexpat

2013-05-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file30380/pyexpat_multibyte_encodings_3.patch ___ Python tracker ___ ___ Pyth

[issue18059] Add multibyte encoding support to pyexpat

2013-05-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file30378/pyexpat_multibyte_encodings_2.patch ___ Python tracker ___ ___ P