[issue1274] doctest fails to run file based tests with 8bit paths

2007-10-12 Thread Mike Taylor

New submission from Mike Taylor:

In our builds the included patch fixes this issue.

Patch by Brian Kirsch, tested at OSAF on Python 2.5.1

--
nosy: +bear

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1274>
__

bug_3740_1.patch
Description: Binary data
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1274] doctest fails to run file based tests with 8bit paths

2007-10-12 Thread Mike Taylor

Changes by Mike Taylor:


--
components: Tests
severity: major
status: open
title: doctest fails to run file based tests with 8bit paths
type: behavior
versions: Python 2.5

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1274>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1274] doctest fails to run file based tests with 8bit paths

2008-03-17 Thread Mike Taylor

Mike Taylor <[EMAIL PROTECTED]> added the comment:

Hi,

it was running on FC4 with UTF-32 support and was using the Japanese locale.

The bug is reproducible using any doctest that is stored in a mixed
character path.  where it is in the Chandler tree is not easily pulled
apart but if you really need it I can work up a small subset.

On Mon, Mar 17, 2008 at 4:41 PM, Ilan Schnell <[EMAIL PROTECTED]> wrote:
>
>  Ilan Schnell <[EMAIL PROTECTED]> added the comment:
>
>  Bug is most likely platform specific.  Can someone suggest how this
>  should be handled on multiple platforms?
>
>  Mike, can you report on which platform you encountered the bug on?
>  Can you provide a script that reproduces the bug?
>
>  On Mac OS 10.4, Python 2.5 I could not create a file:
>  >>> f=open('\xed', 'w')
>  Traceback (most recent call last):
>   File "", line 1, in 
>  IOError: invalid mode: w
>
>  I will submit this as a separate bug because the error
>  message sould say 'invalid file name' instead of 'invalid mode'.
>
>  --
>  assignee:  -> tim_one
>  nosy: +ilan, tim_one
>  priority:  -> low
>  versions: +Python 2.6
>
>
>
>  __
>  Tracker <[EMAIL PROTECTED]>
>  <http://bugs.python.org/issue1274>
>  __
>

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1274>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1274] doctest fails to run file based tests with 8bit paths

2008-03-17 Thread Mike Taylor

Mike Taylor <[EMAIL PROTECTED]> added the comment:

Not in the system PATH but in the path where the file is stored:

Here is the original traceback from the bug report for Chandler:

Traceback (most recent call last):
  File
"/Development/osaf/chandler_石田リチャード/chandler/release/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2107, in runTest
test, out=new.write, clear_globs=False)
  File
"/Development/osaf/chandler_石田リチャード/chandler/release/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 1345, in run
return self.__run(test, compileflags, out)
  File
"/Development/osaf/chandler_石田リチャード/chandler/release/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 1236, in __run
got += _exception_traceback(exc_info)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 70:
ordinal not in range(128)

On Mon, Mar 17, 2008 at 10:40 PM, Sean Reifschneider
<[EMAIL PROTECTED]> wrote:
>
>  Sean Reifschneider <[EMAIL PROTECTED]> added the comment:
>
>  This may be fixed already, or a bug in FC4.  Or perhaps you could
>  provide more information on how the bug is invoked.  I was able to
>  successfully execute a doctest with "\xee" in the path on an F8 box:
>
>  Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11)
>  [GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2
>
>  Also: Please do not quote text in the reply.
>  Type "help", "copyright", "credits" or "license" for more information.
>  >>> import doctest
>  >>> doctest.testfile('foo\xeebar/test.txt')
>  (0, 1)
>  >>>
>  guin:pytest$ cat fo*/test.txt
>  The ``example`` module
>  ==
>
>  Using ``print``
>  ---
>
>  This is a test example.
>
>>>> print 'Hello world!'
>Hello world!
>
>  --
>  nosy: +jafo
>
>
>
>  __
>  Tracker <[EMAIL PROTECTED]>
>  <http://bugs.python.org/issue1274>
>  __
>

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1274>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1274] doctest fails to run file based tests with 8bit paths

2010-07-31 Thread Mike Taylor

Mike Taylor  added the comment:

wow - that is some old bug history ;)

I'm surprised the patch is even close to being valid

On Sat, Jul 31, 2010 at 21:47, Dan Buch  wrote:
>
> Dan Buch  added the comment:
>
> @haypo - I'm not in favor of using the attached bug_3740_1.patch but instead 
> adding a test to assert that unicode file paths are now handled correctly.  I 
> can't remove @bear's original patch myself, though, so ... not sure what to 
> do about that :)
>
> --
>
> ___
> Python tracker 
> <http://bugs.python.org/issue1274>
> ___
>

--

___
Python tracker 
<http://bugs.python.org/issue1274>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2016-01-11 Thread Mike Taylor

Mike Taylor added the comment:

I can reproduce on Chrome and Firefox Nightly --

Carol, if I'd like to write a patch where would I do that? I see 
https://github.com/python/pythondotorg, but am not sure that's the right repo. 
Thanks!

--
nosy: +Mike Taylor

___
Python tracker 
<http://bugs.python.org/issue24712>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2016-02-11 Thread Mike Taylor

Mike Taylor added the comment:

Great, thanks Ezio! Will take a stab now.

--

___
Python tracker 
<http://bugs.python.org/issue24712>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2016-05-20 Thread Mike Taylor

Mike Taylor added the comment:

OK, so uh, somehow a few months escaped me before I could get to this. >_>

(I've also just signed the Contributor Agreement with the PSF)

--
keywords: +patch
Added file: http://bugs.python.org/file42917/docs-sidebar.patch

___
Python tracker 
<http://bugs.python.org/issue24712>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2016-05-20 Thread Mike Taylor

Mike Taylor added the comment:

The bug for Chrome to ship support of position: sticky is here: 
https://bugs.chromium.org/p/chromium/issues/detail?id=231752 -- it's in active 
development.

But this patch fixes the jerky sidebar in Firefox as well.

--

___
Python tracker 
<http://bugs.python.org/issue24712>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com