[issue18062] m68k FPU precision issue

2013-05-25 Thread Stefan Krah

Stefan Krah added the comment:

I forgot to comment on this:

 fixing this in general would allow keeping the FPUCW on i387 unchanged too.

Actually dtoa.c (which is used on i387) explicitly requires to change
the control word.


Looking at the test results, it seems to me that a couple of tests
could be skipped if PY_NO_SHORT_FLOAT_REPR is defined, i.e.the
failures are fully expected.

Not sure about the lgamma etc. failures though, perhaps that's
an emulator bug.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18062
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18061] m68k Python 3.3 test results

2013-05-25 Thread mirabilos

mirabilos added the comment:

Serhiy Storchaka dixit:

About test_shutil failure. What filesystem are used?

/dev/root on / type ext3 
(rw,noatime,errors=remount-ro,user_xattr,acl,barrier=1,nodelalloc,data=ordered)

Do you run tests as root?

Yes.

Is m68k big-endian?

Yes: ILP32 big-endian, 2-byte aligned.

bye,
//mirabilos
-- 
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18061
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18062] m68k FPU precision issue

2013-05-25 Thread mirabilos

mirabilos added the comment:

mirabilos dixit:

mirabilos added the comment:

Yes, that’s precisely what’s not working on the most widespread
emulator, at the very least. (I have working code for that, in
three(!) variants, but it just ignores those requests to change
precision.)

Here’s the Python testcase made into a standalone test:

-BEGIN cutting here may damage your screen surface-
#include stdio.h
#include stdlib.h
#include math.h
#ifndef __MirBSD__
#include fpu_control.h
#endif

void runtests(void);

void
runtests(void)
{
volatile double x, y, z;

/* 1./(1-2**-53) - 1+2**-52 (correct), 1.0 (double rounding) */
x = 0.99989; /* 1-2**-53 */
y = 1./x;
printf(test#1 %s: %.17E\n, (y == 1.) ? fail : good, y);
/* 1e16+2.9 - 1e16+2. (correct), 1e16+4. (double rounding) */
x = 1e16;
y = 2.9;
z = x + y;
printf(test#2 %s: %.17E\n, z == 1e16+4. ? fail : good, z);
}

int
main(void) {
#ifdef _FPU_SETCW
fpu_control_t cwold, cwnew, cwgot;
#endif

runtests();
#if (defined(__i386__) || defined(__m68k__))  defined(_FPU_SETCW)
_FPU_GETCW(cwold);
#ifdef __i386__
cwnew = 0x127f;
#else
cwnew = _FPU_RC_NEAREST | _FPU_DOUBLE;
#endif
_FPU_SETCW(cwnew);
_FPU_GETCW(cwgot);
printf(changing FPU control word from %08X to %08X = %08X\n,
cwold, cwnew, cwgot);
runtests();
#endif

return (0);
}
-END cutting here may damage your screen surface-

Here’s the result of running it on the latest ARAnyM, which
did get MPFR-based FPU emulation bugfixes, but apparently
still ignores any FPUCW changes (or, at least the ones relating
to precision):

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.00040E+16

bye,
//mirabilos
-- 
  Using Lynx is like wearing a really good pair of shades: cuts out
   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL.
 -- Henry Nelson, March 1999

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18062
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18062] m68k FPU precision issue

2013-05-25 Thread mirabilos

mirabilos added the comment:

Stefan Krah dixit:

 fixing this in general would allow keeping the FPUCW on i387 unchanged too.

Actually dtoa.c (which is used on i387) explicitly requires to change
the control word.

Right. By fixing the “older” code, i386 is not required to change
the FPUCW any more and can use it too.

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 internal precision is still higher.

And on m68k we simply cannot afford to change the FPUCW because
that will cause runtime failures on some implementations.

Looking at the test results, it seems to me that a couple of tests
could be skipped if PY_NO_SHORT_FLOAT_REPR is defined, i.e.the
failures are fully expected.

Ah okay.

Not sure about the lgamma etc. failures though, perhaps that's
an emulator bug.

If I can get self-contained test cases (preferably in C because
that makes it easier for others to test), I can ask people who
run real bare-metal Atari or Amiga to test them.

Or you can ask on debian-...@lists.debian.org for testers.

I guess a python2.6 runnable testcase would be okay, even for
those running an a bit older “base system”. (I admit mine is
not really up to date either, just the build chroots, because
of the post-release unfreeze upload peak and related transitions.)

bye,
//mirabilos
-- 
“It is inappropriate to require that a time represented as
 seconds since the Epoch precisely represent the number of
 seconds between the referenced time and the Epoch.”
-- IEEE Std 1003.1b-1993 (POSIX) Section B.2.2.2

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18062
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-05-25 Thread Brett Cannon

Brett Cannon added the comment:

Catching the AttributeError is in case a loader is used that doesn't define 
init_module_attrs(). Since it will be new to Python 3.4 I can't guarantee that 
it will exist (in case someone doesn't subclass the proper ABC).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17314
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18055] Stop using imp in IDLE

2013-05-25 Thread Brett Cannon

Brett Cannon added the comment:

If you would prefer to keep using imp in IDLE to make management across 
versions easier I'm fine with that, just understand my goal is to deprecate imp 
in Python 3.4 (but won't remove it until Python 4 so people can write Python 
2/3 compatible code, much like you with IDLE). So if you're okay with using a 
deprecated module then this change is strictly not necessary and I can just 
silence any deprecation warning in the code instead when the deprecation comes 
about.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18055
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-05-25 Thread Eli Bendersky

Eli Bendersky added the comment:

Ethan, just a reminder to write that documentation...

It's basically a stripped down version of PEP 435 (leave all the philosophy and 
history out), with a few concrete reference sections explaining the API 
precisely.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17947
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18065] set __path__ = [] for frozen packages

2013-05-25 Thread Brett Cannon

New submission from Brett Cannon:

If you import the frozen __phello__ package, you will notice that 
__phello__.__path__ == ['__phello__']. While that seems innocuous, that could 
potentially lead to incorrect results if there just so happens to be a 
directory named __phello__ which contains a file that isn't a frozen submodule 
(i.e. FrozenImporter can't find the submodule but PathFinder can find a file 
that happens to match the module's name).

So for that reason I want to simply set __path__ = [] for frozen packages. The 
language reference for import states setting __path__ to anything makes a 
module a package and that it just needs to be an iterable that only returns 
strings (http://docs.python.org/3.4/reference/import.html#packages), so an 
empty list works. Plus __package__ contains the same information so there is no 
lost data by doing this.

Can anyone think of a good reason not to do this? I can't see why someone would 
be relying upon this for any reason since the existence of __path__ itself is 
enough to determine something is a package.

--
assignee: brett.cannon
components: Interpreter Core
messages: 190034
nosy: brett.cannon
priority: normal
severity: normal
stage: test needed
status: open
title: set __path__ = [] for frozen packages
type: behavior
versions: Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18065
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue706263] print raises exception when no console available

2013-05-25 Thread Mark Lawrence

Mark Lawrence added the comment:

Is it really worth leaving this open?  There's no consensus after ten years and 
it only impacts on Python 2.7.  Mark Hammond made his view plain in msg15198, 
which is supported by the fact that a type has yet to be allocated.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue706263
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-05-25 Thread Richard Oudkerk

Richard Oudkerk added the comment:

The unit tests pass with the patch already (if we don't delete the import imp 
line).

What attributes will be set by init_module_attrs()?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17314
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18055] Stop using imp in IDLE

2013-05-25 Thread Roger Serwy

Roger Serwy added the comment:

@Brett, I agree that IDLE should not be using deprecated modules. I don't know 
all the ins and outs of the import machinery of Python, so I'll defer to your 
expertise in that area. :-) 

@Terry, I have never used this IDLE feature before, so I don't know all it's 
corner cases or expected behavior.

The patch works when opening os but fails with sys. Without the patch, a 
dialog box appears saying No source for module sys. With the patch, I get 
not a source-based module and then another dialog loader does not support 
get_filename, and then this exception raises:

Exception in Tkinter callback
Traceback (most recent call last):
  File /home/python/python/3.4/Lib/tkinter/__init__.py, line 1475, in __call__
return self.func(*args)
  File /home/python/python/3.4/Lib/idlelib/EditorWindow.py, line 680, in 
open_module
self.flist.open(file_path)
UnboundLocalError: local variable 'file_path' referenced before assignment

Serhiy's review comments on the patch about adding return in those three 
places does fix that problem.

Attached is a revision to include Serhiy's suggestions.

--
Added file: http://bugs.python.org/file30376/imp_remove_rev1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18055
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue706406] fix bug #685846: raw_input defers signals

2013-05-25 Thread Mark Lawrence

Mark Lawrence added the comment:

Bump this as IIRC other issues discussing SIGINT handling have been processed 
recently.

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue706406
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue749722] isinstance and weakref proxies.

2013-05-25 Thread Mark Lawrence

Mark Lawrence added the comment:

Good to see that people are really interested in this :(

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue749722
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-05-25 Thread Mark Lawrence

Mark Lawrence added the comment:

Just a gentle bump.

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue766910
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-05-25 Thread Matthew Barnett

Matthew Barnett added the comment:

I've attached a patch.

--
keywords: +patch
Added file: http://bugs.python.org/file30377/issue7940.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7940
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue814253] Grouprefs in lookbehind assertions

2013-05-25 Thread Mark Lawrence

Mark Lawrence added the comment:

Can this be closed as a result of work done via #2636 or must it remain open?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue814253
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16832] Expose cache validity checking support in ABCMeta

2013-05-25 Thread Nick Coghlan

Nick Coghlan added the comment:

The reason I switched from suggesting an attribute/property to a module level 
function is because we don't really support properties for process global 
state. That's why sys has so many getters in it - to make them properties, you 
would have to add a class object to act as a holder for the property.

In this case, we appear to have a singleton that could hold the property 
(ABCMeta), which is why my original suggestion was to use an ABCMeta attribute. 
However, what I realised yesterday is that because ABCMeta is a type subclass, 
it means the only way to make the attribute a property in the future would be 
to add a metametaclass to hold the property definition.

Once I realised that... if the implementation is hard to explain, it's a bad 
idea tipped me over the edge into preferring a simple module level getter 
function that supported exactly the use cases we care about :)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16832
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue814253] Grouprefs in lookbehind assertions

2013-05-25 Thread Matthew Barnett

Matthew Barnett added the comment:

Issue #2636 resulted in the regex module, which supports variable-length 
look-behinds.

I don't know how much work it would take even to put a limited fixed-length 
look-behind fix for this into the re module, so I'm afraid the issue must 
remain open.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue814253
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue821862] ftplib: Strict RFC 959 (telnet in command channel)

2013-05-25 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
versions: +Python 2.7, Python 3.3, Python 3.4 -Python 2.6, Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue821862
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue877121] configure detects incorrect compiler optimization

2013-05-25 Thread Mark Lawrence

Mark Lawrence added the comment:

Who is best placed to backport the fix?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue877121
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17658] pythonw.exe crashes on opening IDLE

2013-05-25 Thread Roger Serwy

Roger Serwy added the comment:

I'm closing this issue due since it's root problem is a misconfigured 
environment variable.

--
resolution:  - works for me
status: pending - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17658
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17658] pythonw.exe crashes on opening IDLE

2013-05-25 Thread Roger Serwy

Roger Serwy added the comment:

s/it's/its

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17658
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue923697] SAX2 'property_encoding' feature not supported

2013-05-25 Thread Mark Lawrence

Mark Lawrence added the comment:

This is still an issue so the sax handler module property_encoding attribute be 
set to what URL?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue923697
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue967161] pty.spawn() enhancements

2013-05-25 Thread Mark Lawrence

Mark Lawrence added the comment:

So #2489 broke at least one buildbot and this has to stay open for an 
enhancement request.  Frankly it all confuses the hell out of me, could someone 
please explain in words of one syllable or less, thanks.

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue967161
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16832] Expose cache validity checking support in ABCMeta

2013-05-25 Thread Éric Araujo

Éric Araujo added the comment:

About future-proofing: do we want to document that the token is an opaque 
integer (as is done now) or just an opaque object that supports equality 
comparisons?

--
nosy: +eric.araujo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16832
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue940286] pydoc.Helper.help() ignores input/output init parameters

2013-05-25 Thread Mark Lawrence

Mark Lawrence added the comment:

One commit already so presumably not too much effort needed to close this one.

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue940286
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-05-25 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +eric.araujo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18047
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-05-25 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
nosy: +BreamoreBoy, roger.serwy, terry.reedy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5124
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7776] httplib.py: ._tunnel() broken

2013-05-25 Thread Mark Lawrence

Mark Lawrence added the comment:

Cameron could you provide a patch for this?

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7776
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7803] setup hangs on disk space requirements

2013-05-25 Thread Mark Lawrence

Mark Lawrence added the comment:

In 12 years of installing Python on Windows I've never seen this problem.  
Unless others have seen this and/or it's reproducible I'd suggest this is 
closed.

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7803
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5664] 2to3 wont convert Cookie.Cookie properly

2013-05-25 Thread Mark Lawrence

Mark Lawrence added the comment:

I'm assuming msg98615 is correct so this can be closed.

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5664
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7442] _localemodule.c: str2uni() with different LC_NUMERIC and LC_CTYPE

2013-05-25 Thread Mark Lawrence

Mark Lawrence added the comment:

Could we have a patch review please.  Also note that #5905 has been closed.

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7442
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18055] Stop using imp in IDLE

2013-05-25 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Brett, you misunderstood somethings. I want to apply now to 3.3 and 3.4. This 
is the right time now that 3.2 final maintenance is out. (In any case, we are 
no longer patching it. 2.7 gets improvements on a 'reasonable best effort' 
basis.) It is also clearer and can be easily 'translated' into the skeleton of 
a testcase.

Roger, ditto. But the intent is clear to me.

On my Windows, trying to load 'sys' does bring up the 'source' message box, but 
without 'return', it next triggers the 'loader' message. A bad name gets all 
three boxes. Anyway, another example of why to test on more than one OS 
(assuming you did not use Windows).

Another change: I think not a source-based module should be 'not a 
Python-coded module'. The intent of the feature is to open any python-coded 
module that can be imported. C-coded modules are also, ultimately, source-based.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18055
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18064] IDLE: add current directory to open_module

2013-05-25 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Code also suggests that this function should be elsewhere, such as in 
iobinding. This should be in the same place as regular open, wherever that is, 
since it is an alternative open.

Document should be upgraded a bit: Load module opens Python-coded modules on 
sys.path in an editor window. The default name is the currently selected text, 
if any.

Tests should be added with this issue. This is the smallest dialog, and the 
structure of the revised code (#18055) gives a skeleton for a testcase: 
test_python_module (window open), test_builtin_module (Exception), 
test_bad_path (different Exception), and maybe even test_bad loader. We should 
look at tkinter tests for simulating name entry and click.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18064
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6871] decimal.py: more format issues

2013-05-25 Thread Mark Lawrence

Mark Lawrence added the comment:

If I'm reading this correctly only issue 2 is outstanding.  Opinions please 
gentlemen.

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6871
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18055] Stop using imp in IDLE

2013-05-25 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Roger, sorry, I did not read your message completely. When I open from the 
console intepreter, I also get the traceback; same behavior.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18055
___
___
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

2013-05-25 Thread Renato Silva

Renato Silva added the comment:

 In context it should be clear that the statement  in gcc 4.x it
 produces an error preventing build refers to Cygwin's gcc and not
 MinGW's. Which gcc are you referring to?

If it refers to Cygwin only, sorry then. However, didn't folks said in 
MinGW thread that they didn't touch anything about such flag there? If 
so, then how can it have been removed later in 4.5 or 4.6 instead of 
4.0 like in Cygwin?

 Yes gcc 4.6 would fail because it won't accept the -mno-cygwin option.
 That does not mean that any other MinGW gcc ever *required* the
 -mno-cygwin option for anything.

Again, I was not saying it was required *for MinGW*, but *for building 
Pidgin*. Note that I'm not saying either that their use of such option 
was ever meaningful in the build process (in fact, they have removed 
such flag while still using 4.4, indicating that it was really useless).

 Yes but that particular error message is coming from Cygwin's gcc not
 MinGW. As stated by the Pidgin dev in that message the OP does not
 know which compiler they are using:
 http://pidgin.im/pipermail/support/2011-December/011159.html

We actually cannot confirm whether the GCC was from Cygwin, MSYS or Pidgin 
build box (the correct), and which version. It could be from Cygwin, but still 
my point stands, that the Pidgin developer does confirm that GCC 4.4 from MinGW 
*does* accept that flag.

--

___
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



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

2013-05-25 Thread Terry J. Reedy

Terry J. Reedy added the comment:

On Win7, I get the replacement behavior. I get the same in Notepad and Firefox, 
so this may be standard Windows behavior. What is standard in other linex and 
mac apps? If the tk difference is a standard platform difference, I might think 
we should leave it alone.

--
nosy: +Todd.Rovito
stage:  - test needed
type:  - behavior
versions: +Python 2.7, Python 3.3, Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5124
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16832] Expose cache validity checking support in ABCMeta

2013-05-25 Thread Nick Coghlan

Nick Coghlan added the comment:

The latter is probably better (it should just need a slight tweak to
the wording in the docs and docstring)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16832
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-05-25 Thread Todd Rovito

Todd Rovito added the comment:

What is standard in other linex and mac apps?
-On Mac OS X 10.8.3 TextEdit I get the replacement behavior
-On Linux CentOS 6.4 gedit I get the replacement behavior
-On IDLE under the latest 3.4 pull I get the replacement behavior with Max OS X 
10.8.3
-On IDLE under the latest 3.4 pull I get the eggsspam behavior with Linux 
CentOS 6.4 as Weeble described in the original bug report

So from my perspective Linux is behaving differently than Windows and Mac OS X.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5124
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18059] Add multibyte encoding support to pyexpat

2013-05-25 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Patch updated. Fixed an error in the encodings generator and added additional 
compatibility check for 8-bit encodings in PyUnknownEncodingHandler().

Feel free to bikesheed the encodings generator.

--
Added file: http://bugs.python.org/file30378/pyexpat_multibyte_encodings_2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18059
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18059] Add multibyte encoding support to pyexpat

2013-05-25 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


Removed file: http://bugs.python.org/file30373/pyexpat_multibyte_encodings.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18059
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18059] Add multibyte encoding support to pyexpat

2013-05-25 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


Removed file: http://bugs.python.org/file30368/expat_encodings.py

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18059
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18059] Add multibyte encoding support to pyexpat

2013-05-25 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
stage:  - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18059
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



<    1   2