[issue10236] Sporadic failures of test_ssl

2010-10-29 Thread Stephen Hansen
New submission from Stephen Hansen me+pyt...@ixokai.io: Another sporadic failure I've noticed since setting up my buildbot; test_ssl keeps going down. This one I have a hard time analyzing with the tests output, but the latest is: http://www.python.org/dev/buildbot/all/builders/x86%20Snow

[issue10236] Sporadic failures of test_ssl

2010-10-29 Thread Stephen Hansen
Changes by Stephen Hansen me+pyt...@ixokai.io: -- components: +Library (Lib), Tests type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10236

[issue10116] Sporadic failures in test_urllibnet

2010-10-28 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: New patch, sans trailing whitespace. Ahem. -- Added file: http://bugs.python.org/file19398/issue10116-nowhitespace.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10116

[issue10116] Sporadic failures in test_urllibnet

2010-10-28 Thread Stephen Hansen
Changes by Stephen Hansen me+pyt...@ixokai.io: Removed file: http://bugs.python.org/file19390/issue10116.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10116

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-27 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: You may not care about backwards compatibility, but introducing a breaking change in 3.2 for mere style-conformity is not OK, IMO. If the patcher insists on it being a breaking change, it should be rejected. FWIW, this casing

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-27 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: Considering I do use zipfiles a lot, I slightly care about this (at least, eventually)-- I'm attaching a new patch, with doc and test changes as well (and the compatibility alias). What convinced me was looking at test_zipfile

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-27 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: Oh: and I tested it against branches/py3k in the head, it applies cleanly and builds, and test_zipfile runs without error. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue10116] Sporadic failures in test_urllibnet

2010-10-27 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: The attached patch wraps all the calls to the internet in support.transient_internet; I ran it against 3.x and it passed, and then I ran it for quite awhile with the -F option, and encountered one event that I believe would previously had

[issue10154] locale.normalize strips - from UTF-8, which fails on Mac

2010-10-21 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: Mark, the locals() right before if encoding: (line 399) are: locale.normalize(en_US.UTF-8) {'code': 'en_US.ISO8859-1', 'langname': 'en_US', 'encoding': 'UTF8', 'norm_encoding': 'utf_8', 'defenc': 'ISO8859-1', 'localename': 'en_US.UTF-8

[issue10092] calendar does not restore locale properly

2010-10-20 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: I can't be entirely sure, because a) I have never even glanced at the calendar module, and b) my locale-fu is very weak, but my buildbot has consistently failed on this test since this commit

[issue10154] locale.normalize strips - from UTF-8, which fails on Mac

2010-10-20 Thread Stephen Hansen
New submission from Stephen Hansen me+pyt...@ixokai.io: In the course of investigating issue10092, Georg discovered that the behavior of locale.normalize() on Mac is bad. Basically, en_US.UTF-8 is how the correct locale string should be spelled on the Mac. If you drop the dash, it fails

[issue5117] os.path.relpath problem with root directory

2010-10-18 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: FYI, this fix broke some buildbots: http://www.python.org/dev/buildbot/all/builders/x86%20Snow%20Leopard%202.7/builds/50 for instance. Gentoo too. -- nosy: +ixokai ___ Python tracker rep

[issue10116] Sporadic failures in test_urllibnet

2010-10-17 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: I'll run the test in -F mode for a few hours to see if it comes up or not: but its hard for me to say one way or the other if anything has fixed or not fixed it, as the failure only came up every once in awhile. But I'll look

[issue10116] Sporadic failures in test_urllibnet

2010-10-17 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: Okay, at -r85630 on branches/py3k, I ran: ./python.exe -m test.regrtest -uall -F test_urllibnet And after 158 retries, got the same error I had before: test test_urllibnet failed -- Traceback (most recent call last): File /Users

[issue10116] Sporadic failures in test_urllibnet

2010-10-15 Thread Stephen Hansen
New submission from Stephen Hansen me+pyt...@ixokai.io: Ever since running the snow leopard buildslave, I've had sporadic failures in test_urllibnet. At first I thought it was just a net glitch on my machine or something, as immediately re-running the tests made it go away: but this most

[issue8445] buildbot: test_ttk_guionly failures (test_traversal, test_tab_identifiers, test_identify, test_heading_callback)

2010-10-09 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: For the record, everything (2.7, 3.1, and 3.x) runs this test successfully now. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8445

[issue9873] urllib.parse: Allow bytes in some APIs that use string literals internally

2010-10-08 Thread Stephen J. Turnbull
Changes by Stephen J. Turnbull step...@xemacs.org: -- nosy: +sjt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9873 ___ ___ Python-bugs-list

[issue4388] test_cmd_line fails on MacOS X

2010-10-08 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: FWIW, this still happens on the latest of /branches/py3k, when LANG does not match up to the enforced fs encoding-- which for me happened when I ran the buildslave under launchd. I was finally able to reproduce it, and after doing so

[issue9992] Command line arguments are not correctly decodedif locale and fileystem encodings aredifferent

2010-10-08 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: This issue seems to be the cause of issue4388 -- and cmdline_encoding-2.patch fixes it, fwiw. -- nosy: +ixokai ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9992

[issue8445] buildbot: test_ttk_guionly failures (test_traversal, test_tab_identifiers, test_identify, test_heading_callback)

2010-10-08 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: I'm still getting this error on the release27-maint branch on my Snow Leopard slave, and the issue8445.diff fixes it: will this fix be backported? I tested issue8445.diff and it applies cleanly, and fixes the issue. -- nosy

[issue8445] buildbot: test_ttk_guionly failures (test_traversal, test_tab_identifiers, test_identify, test_heading_callback)

2010-10-08 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: BTW, release31-maint appears to have the same issue, its fouling up that build on my slave too. I tried applying the ttk3k.patch but it didn't apply cleanly, and I'm completely ignorant of TK so can't really figure out what's different

[issue6792] Distutils-based installer does not detect 64bit versions of Python

2010-03-04 Thread Stephen White
Stephen White stephen-python@randomstuff.org.uk added the comment: 32bit apps can query the 64bit registry, using the appropriate security and access rights options such as KEY_WOW64_64KEY (0x0100). Similarly KEY_WOW64_32KEY can be used for 64bit apps to read/write the 32bit registry

[issue6761] Class calling

2009-08-24 Thread Stephen Fairchild
Stephen Fairchild signupaddr...@bethere.co.uk added the comment: On further reading it seems my objections only apply to new style classes. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6761

[issue6761] Class calling

2009-08-22 Thread Stephen Fairchild
New submission from Stephen Fairchild signupaddr...@bethere.co.uk: From: http://docs.python.org/reference/datamodel.html#the-standard-type-hierarchy Class instances Class instances are described below. Class instances are callable only when the class has a __call__() method; x(arguments

[issue6315] locale._build_localename(locale.getdefaultlocale()) returns 'C.mac-roman'

2009-06-20 Thread Stephen J. Turnbull
New submission from Stephen J. Turnbull step...@xemacs.org: Which causes the locale machinery to spit exceptions, and the program to die, usually (eg, hg). This manifests naturally on an Intel Mac, Mac OS X 10.5.7, but the problem behavior is in _build_localename. When called

[issue6188] Error Evaluating float(x) ** float(y)

2009-06-03 Thread Stephen Paul Chappell
New submission from Stephen Paul Chappell noctis.skyto...@gmail.com: This is what I get while the interactive interpreter (IDLE 3.0.1) on the platform Python 3.0.1 (r301:69561, Feb 13 2009, 20:04:18) [MSC v.1500 32 bit (Intel)] on win32 a = -6.276479035564047 b = -5.7974497499584849 a ** b

[issue5832] os.path.walk fails to descend into a directory whose name ends with a space

2009-04-24 Thread Stephen Gilbert
New submission from Stephen Gilbert linux...@gmail.com: I just ran into this using os.path.walk. I noticed it wouldn't find files inside a particular directory. In debugging, I found that the name of the directory was 'BBDO Atlanta ' os.path.walk would find the directory, but wouldn't enter

[issue5464] msgfmt.py does not work with plural form

2009-03-09 Thread Stephen George
New submission from Stephen George steve_...@optusnet.com.au: It seems that C:\Python26\Tools\i18n\msgfmt.py does not work with PO files that use plural form. Get the following error. ERRORTraceback (most recent call last): File C:\Python26\Tools\i18n\msgfmt.py, line 203, in module

[issue5252] 2to3 should detect and delete import of removed statvfs module

2009-02-14 Thread Stephen J. Turnbull
Stephen J. Turnbull step...@xemacs.org added the comment: Benjamin Peterson writes: Hmm. 2to3 doesn't currently mess with the stat module and os.stat the more common function. Also the new interface (attributes on the objects returned) has been around since 2.2. So what? You *can't

[issue5261] with lock fails on multiprocessing

2009-02-14 Thread Stephen Lynch
New submission from Stephen Lynch stepheng.ly...@gmail.com: the following code gives a system error under python 2.6.1 import multiprocessing with multiprocessing.Lock(): pass SystemError: ..\Python\getargs.c:1413: bad argument to internal function -- components: Library (Lib

[issue5252] 2to3 should detect and delete import of removed statvfs module

2009-02-13 Thread Stephen J. Turnbull
New submission from Stephen J. Turnbull step...@xemacs.org: It should also try to convert stuff like from statvfs import F_BAVAIL, F_FRSIZE status = os.statvfs(directory) available = status[F_BAVAIL]/((1024*1024)/status[F_FRSIZE] -- components: 2to3 (2.x to 3.0 conversion tool

[issue2899] Fixers find, rfind, etc in 'string' module

2009-02-13 Thread Stephen J. Turnbull
Stephen J. Turnbull step...@xemacs.org added the comment: Maybe 2to3 could get a --pedantic or even an --annoying option? I agree that it should be noisy about removed features even if actually fixing this kind of thing would be hard to do reliably. -- nosy: +sjt

[issue5183] wsgiref.simple_server not working

2009-02-07 Thread Stephen Day
New submission from Stephen Day stephen.h@gmail.com: The attached application doesn't work. I think the value of self.headers (see line 114) has a blank line at the end that it did not in Python 2.5 Here is the error message that occurs when it gets a request (http://127.0.0.1:8080

[issue5183] wsgiref.simple_server not working

2009-02-07 Thread Stephen Day
Stephen Day stephen.h@gmail.com added the comment: This seems to be fixed already (see Issue4718). Next time I'll search more... ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5183

[issue3841] IDLE: quirky behavior when displaying strings longer than 4093 characters

2008-09-17 Thread Stephen McInerney
Stephen McInerney [EMAIL PROTECTED] added the comment: Other people have reported it does NOT occur with either: Win XP / Python 2.5 / Idle 1.2 Mac OS X 10.5.4 / Python 2.5.2 / IDLE 1.2.2 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3841

[issue3841] IDLE: quirky behavior when displaying strings longer than 4093 characters

2008-09-12 Thread Stephen McInerney
Stephen McInerney [EMAIL PROTECTED] added the comment: (I previously attached testcase with the web form, but it doesn't seem to work. So I'm pasting it here:) # Generate a length-4094 string. # IDLE will not display this unless your cursor is inside the string. # If you delete characters so

[issue3841] IDLE: quirky behavior when displaying strings longer than 4093 characters

2008-09-12 Thread Stephen McInerney
Stephen McInerney [EMAIL PROTECTED] added the comment: This may well be Windows-only or maybe even Windows Vista-only. I don't have ready access to other OS installs so could someone who does please try to repro? ___ Python tracker [EMAIL PROTECTED] http

[issue3841] IDLE: quirky behavior when displaying strings longer than 4093 characters

2008-09-11 Thread Stephen McInerney
New submission from Stephen McInerney [EMAIL PROTECTED]: IDLE exhibits quirky behavior when displaying strings longer than 4093 characters Python versions: believed to be all. I found this on Python 2.5 / IDLE 1.2.2 OS: Windows Vista; let me know if it repros on others. Testcase attached has

[issue3394] zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix

2008-07-17 Thread Stephen Warren
New submission from Stephen Warren [EMAIL PROTECTED]: Run the following Python script, on Unix/Linux: == import zipfile z = zipfile.ZipFile('zipbad.zip', 'w') z.writestr('filebad.txt', 'Some content') z.close() z = zipfile.ZipFile('zipgood.zip', 'w') zi = zipfile.ZipInfo('filegood.txt

[issue3394] zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix

2008-07-17 Thread Stephen Warren
Stephen Warren [EMAIL PROTECTED] added the comment: Oops. Forgot to set type field. -- type: - behavior ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3394

[issue3394] zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix

2008-07-17 Thread Stephen Warren
Stephen Warren [EMAIL PROTECTED] added the comment: I'd probably argue for at least 066016, if not 066616, since group permissions are pretty typically set, but even 066616 would be OK, since the umask on extraction would take away any permissions the extracting user didn't want. But, as long

[issue3157] sqlite3 minor documentation issues

2008-06-20 Thread Stephen Lewis
New submission from Stephen Lewis [EMAIL PROTECTED]: The documentation for several methods in the sqlite3 library seems to be at odds with the function names: sqlite3.Cursor.fetchone -- Fetches several rows from the resultset. sqlite3.Cursor.fetchmany -- Fetches all rows from the resultset

[issue1923] meaningful whitespace can be lost in rfc822_escape

2008-01-28 Thread Stephen Emslie
Stephen Emslie added the comment: Here's that keeps the whitespace in tact, along with a simple test. This doesn't patch docs as the existing documentation_ already describes the long string as multiple lines of plain text in reStructuredText format, which is what this fixes. .. _documentation

[issue1923] meaningful whitespace can be lost in rfc822_escape

2008-01-24 Thread Stephen Emslie
New submission from Stephen Emslie: distutils.util.rfc822_escape strips each line of its whitespace before indenting, but this can mean losing meaningful whitespace, such as in reStructuredText. distutils uses rfc822_escape to escape fields in metadata, such as PKG-INFO. This unfortunately

[issue1301] Bad assertion in _tkinter.c

2008-01-03 Thread Stephen P. Schaefer
Stephen P. Schaefer added the comment: I'm not sure of the scope of the block to which you're referring. As patched, the code returns a Tcl_Obj representing 0 length unicode string, which appears to me to be the correct behavior, and works for the applications I use (originally developed

[issue1301] Bad assertion in _tkinter.c

2008-01-03 Thread Stephen P. Schaefer
Stephen P. Schaefer added the comment: It looks good to me (to the extent that means anything). I'm doing an rpmbuild now with your patch applied to the Fedora 7 .src.rpm, and I'll start using the result on my workstation ASAP. __ Tracker [EMAIL PROTECTED] http

[issue1301] Bad assertion in _tkinter.c

2008-01-03 Thread Stephen P. Schaefer
Stephen P. Schaefer added the comment: Mr. van Rossum's patch, applied to the Fedora 7 .src.rpm, is working for me. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1301

[issue1301] Bad assertion in _tkinter.c

2007-10-18 Thread Stephen P. Schaefer
New submission from Stephen P. Schaefer: The following fails with python 2.5 as built by Fedora 7: t2.py: import sys, Tkinter Tkinter.Button(text=u).pack( ) Tkinter.mainloop( ) $ python t2.py python: ./Modules/_tkinter.c:941: AsObj: Assertion `size size * sizeof(Tcl_UniChar)' failed. Aborted

[issue1704287] UnicodeError in compileall if make install is run before make.

2007-09-21 Thread Stephen Warren
Stephen Warren added the comment: The attached patch should solve the problem by adding appropriate dependencies to the libinstall target. I have tested: ./configure; make install but not yet: ./configure; make all install ./configure; make all; make install Note: I introduced a new

[issue1704287] UnicodeError in compileall if make install is run before make.

2007-09-21 Thread Stephen Warren
Stephen Warren added the comment: Now, I have also tested: ./configure; make all install ./configure; make all; make install The install piece of each of the above doesn't seem to accidentally duplicate any of the building work, so the patch seems to check out OK - no negative side-effects

[issue1578269] Add os.link() and os.symlink() support for Windows

2007-09-21 Thread Stephen Warren
Stephen Warren added the comment: Hmm. I just tested Accurev - whatever it does, it works for files too. That said, it could be making hard-links, which I guess could be different. Additionally, the sysinternals junction utility doesn't find any junction points when probing the link files

[issue1578269] Add os.link() and os.symlink() support for Windows

2007-09-21 Thread Stephen Warren
Stephen Warren added the comment: It seems that Accurev uses junction points for directories, and hard-links for files. That's probably a little to disparate to implement in Python? Also, I tried sysinternals' junction.exe and whilst it allows one to create junction points that point at files

[issue1578269] Add os.link() and os.symlink() support for Windows

2007-09-20 Thread Stephen Warren
Stephen Warren added the comment: I'd say that junction points were a great way to expose this feature under Win32 - after all, isn't it specifically what they were designed for? Incidentally, at least one other application uses them for exactly this purpose; a commercial source control tool

[issue1704287] must run make before make install

2007-09-20 Thread Stephen Warren
Stephen Warren added the comment: I can confirm this happens for me too, also on CentOS 5, with SVN 2.5 HEAD as of now. It seems that this problem occurs, whilst running the first compileall command for the libinstall target: Compiling /somewhere/lib/python2.5/test/test_multibytecodec.py

<    1   2   3