[issue1055] argument parsing in datetime_strptime

2007-08-29 Thread Martin v. Löwis
New submission from Martin v. Löwis: In r57374, the ParseTuple string for datetime_strptime was changed from ss:datetime to uu:datetime, without adjusting the output arguments. It's not clear to me what the rationale of this change was; it is incorrect as u outputs Py_UNICODE, not char.

[issue1055] argument parsing in datetime_strptime

2007-08-29 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue1055] argument parsing in datetime_strptime

2007-08-29 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- nosy: -gvanrossum __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue1056] test_cmd_line starts python without -E

2007-08-29 Thread Thomas Wouters
New submission from Thomas Wouters: test_cmd_line tests various things by spawning sys.executable. Unfortunately it does so without passing the -E argument (which 'make test' does do) so environment variables like PYTHONHOME and PYTHONPATH can cause the test to fail. -- assignee: ncoghla

[issue1617699] slice-object support for ctypes Pointer/Array

2007-08-29 Thread Thomas Wouters
Thomas Wouters added the comment: Added tests (by duplicating any slicing operations in the test suite with extended slice syntax, to force the use of slice-objects ;) _ Tracker <[EMAIL PROTECTED]>

[issue1617699] slice-object support for ctypes Pointer/Array

2007-08-29 Thread Thomas Wouters
Changes by Thomas Wouters: _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/opt

[issue708374] add offset to mmap

2007-08-29 Thread Huang Peng
Huang Peng added the comment: I updated the patch for trunk (r57652). In this patch, find, move and flush methods use offset in mmap buffer instead of offset in file. It also fix a bug in test_mmap.py and modified mmap document. Please review it. Tracker <[EM

[issue1057] Incorrect URL with webbrowser and firefox under Gnome

2007-08-29 Thread Aaron Bingham
New submission from Aaron Bingham: Under Gnome, Firefox will open the wrong URL when launched by webbrowser. For example after running the following interactive session: [EMAIL PROTECTED]:~> python Python 2.5.1 (r251:54863, Jun 6 2007, 13:42:30) [GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] o

[issue1057] Incorrect URL with webbrowser and firefox under Gnome

2007-08-29 Thread Georg Brandl
Georg Brandl added the comment: The current code in the 2.5 branch uses shlex.split to postprocess the command line returned by gconftool too, so this should be already fixed. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed __ Tr

[issue1058] Code Example for 'property' bug

2007-08-29 Thread Kenneth Love
New submission from Kenneth Love: The code example for 'property' in the online documentation appears to have several syntax errors. In the class C, the functions getx, setx, and delx all refer to '_x', but __init__ assigns '__x'. In other words, single underscores were used where double unders

[issue1058] Code Example for 'property' bug

2007-08-29 Thread Georg Brandl
Georg Brandl added the comment: Kenneth Love schrieb: > New submission from Kenneth Love: > > The code example for 'property' in the online documentation appears to > have several syntax errors. > > In the class C, the functions getx, setx, and delx all refer to '_x', > but __init__ assigns '__

[issue1049] socket.socket.getsockname() has inconsistent UNIX/Windows behavior

2007-08-29 Thread Martin v. Löwis
Martin v. Löwis added the comment: I think it is neither possible nor "good" to produce a uniform result. Python traditionally exposes APIs "as-is", providing the system actually has an API with the same name. It never tries to hide differing system behaviors in the Python wrapper; if systems var

[issue1055] argument parsing in datetime_strptime

2007-08-29 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue1040] Unicode problem with TZ

2007-08-29 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- assignee: -> loewis __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue1040] Unicode problem with TZ

2007-08-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I have a patch for this, which uses MBCS conversion instead of relying on the default utf-8 (here and several other places). Tested on a French version of winXP. Which leads me to the question: should Windows use MBCS encoding by default when converting be

[issue1040] Unicode problem with TZ

2007-08-29 Thread Thomas Heller
Thomas Heller added the comment: IMO the very best would be to avoid as many conversions as possible by using the wide apis on Windows. Not for _tzname maybe, but for env vars, sys.argv, sys.path, and so on. Not that I would have time to work on that... __ Track

[issue1029] py3k: io.StringIO.getvalue() returns \r\n

2007-08-29 Thread Guido van Rossum
Guido van Rossum added the comment: I'ev fixed this slightly differently, by simply changing the *default* of the newline argument to StringIO to be "\n". This is a good default; but I see no reason to prevent users from messing with it if they have a need. -- nosy: +gvanrossum resoluti

[issue1047] py3k: corrections for test_subprocess on windows

2007-08-29 Thread Guido van Rossum
Guido van Rossum added the comment: Committed revision 57669. I have no way to test this so you'll have to watch the buildbot. However, I didn't include the patch to _fileio.c that prevents closing fds 0, 1, 2; I think that's the wrong thing to do and if it causes problems it needs to be address

[issue1048] py3k: correction for test_float on Windows

2007-08-29 Thread Guido van Rossum
Guido van Rossum added the comment: Committed revision 57670. You will have to watch the buildbots to see if this worked. -- nosy: +gvanrossum resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1050] py3k: correction for test_marshal on Windows

2007-08-29 Thread Guido van Rossum
Guido van Rossum added the comment: Committed revision 57672. You'll have to watch the buildbots. -- nosy: +gvanrossum resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1037] Ill-coded identifier crashes python when coding spec is utf-8

2007-08-29 Thread Guido van Rossum
Guido van Rossum added the comment: r57674. I'm not sure this is the right fix though... -- nosy: +gvanrossum resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1016] [PATCH] Updated fix for string to unicode fixes in time and datetime

2007-08-29 Thread Guido van Rossum
Guido van Rossum added the comment: The issue in datetimemodule.c was already fixed. The fix to timemodule.c is wrong -- when there are non-ASCII characters in the unicode string, the length of the UTF-8 conversion is not equal to that of the original Unicode string. -- nosy: +gvanrossu

[issue1009] Implementation of PEP 3101, Advanced String Formatting

2007-08-29 Thread Guido van Rossum
Changes by Guido van Rossum: -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing l

[issue1059] *args and **kwargs in function definitions

2007-08-29 Thread Lars Gustäbel
New submission from Lars Gustäbel: For example in tarfile.rst and logging.rst there are function definitions using *args and/or **kwargs like: .. function:: debug(msg[, *args[, **kwargs]]) The * and ** should be escaped IMO, so that they are not mistaken as reStructuredText markup, which confus

[issue1019] Cleanup pass on _curses and _curses_panel

2007-08-29 Thread Guido van Rossum
Guido van Rossum added the comment: I tried to run the various demos in Demo/curses/ with the new version. They all work except for xmas.py. Before your patch, they all ran. So I cannot apply this yet. (No time to look into it further, alas.) -- nosy: +gvanrossum _

[issue1022] use bytes for code objects

2007-08-29 Thread Guido van Rossum
Guido van Rossum added the comment: I'll defer thinking about this until post-a1. -- nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> __ ___ Pyt

[issue1023] [PATCH] Unicode fixes in floatobject and moduleobject

2007-08-29 Thread Guido van Rossum
Guido van Rossum added the comment: Is this still relevant? The patch fails applying with quit a bit of fireworks: patching file moduleobject.c Hunk #1 FAILED at 66. Hunk #2 succeeded at 86 (offset -5 lines). Hunk #3 FAILED at 115. Hunk #4 FAILED at 128. 3 out of 4 hunks FAILED -- saving rejects

[issue1038] [py3k] pdb does not work in python 3000

2007-08-29 Thread Guido van Rossum
Guido van Rossum added the comment: Why are you using _runscript(), which is an internal routine? I've had a fair amount of success with other invocations, like pdb.run(). -- nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]>

[issue1039] Asssertion in Windows debug build

2007-08-29 Thread Guido van Rossum
Guido van Rossum added the comment: If it works for you, can you submit it? -- assignee: -> theller nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1041] io.py problems on Windows

2007-08-29 Thread Guido van Rossum
Guido van Rossum added the comment: I'm guessing this is fixed now that that patch is submitted. -- nosy: +gvanrossum resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1055] argument parsing in datetime_strptime

2007-08-29 Thread Guido van Rossum
Guido van Rossum added the comment: Should be fixed by r57665. I'm guessing we went a little too fast with this change. -- nosy: +gvanrossum resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1617699] slice-object support for ctypes Pointer/Array

2007-08-29 Thread Thomas Wouters
Changes by Thomas Wouters: _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/opt

[issue1023] [PATCH] Unicode fixes in floatobject and moduleobject

2007-08-29 Thread Ero Carrera
Ero Carrera added the comment: Just took a look. Seems it was fixed in some other patch hence the fireworks __ Tracker <[EMAIL PROTECTED]> __ ___ Python-

[issue1023] [PATCH] Unicode fixes in floatobject and moduleobject

2007-08-29 Thread Guido van Rossum
Changes by Guido van Rossum: -- resolution: -> duplicate status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing

[issue1060] zipfile cannot handle files larger than 2GB (inside archive)

2007-08-29 Thread Kevin Ar18
New submission from Kevin Ar18: Summary: If you have a zip file that contains a file inside of it greater than 2GB, then the zipfile module is unable to read that file. Steps to Reproduce: 1. Create a zip file several GB in size with a file inside of it that is over 2GB in size. 2. Attempt to re

[issue1052] SSL patch for Windows buildbots problem

2007-08-29 Thread Bill Janssen
Bill Janssen added the comment: Checked in. -- assignee: nnorwitz -> janssen resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1583946] SSL "issuer" and "server" names cannot be parsed

2007-08-29 Thread Bill Janssen
Bill Janssen added the comment: Actually, looking at it further, I'm not sure that it is fixed by the new SSL code. If in fact the issuer or subject field can contain multiple name-value pairs with the same name, the dictionary-based approach currently used won't work. We'll need more of an

[issue783188] support for server side transactions in _ssl

2007-08-29 Thread Bill Janssen
Bill Janssen added the comment: I'll take on providing the server example. -- assignee: akuchling -> janssen Tracker <[EMAIL PROTECTED]> ___

[issue889813] making the version of SSL configurable when creating sockets

2007-08-29 Thread Bill Janssen
Bill Janssen added the comment: Fixed with 2.6 SSL support. -- resolution: -> fixed status: open -> closed Tracker <[EMAIL PROTECTED]>

[issue1027394] socket.ssl should explain that it is a 2/3 connection

2007-08-29 Thread Bill Janssen
Bill Janssen added the comment: Fixed with the 2.6 SSL work. -- resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> _

[issue1114345] Add SSL certificate validation

2007-08-29 Thread Bill Janssen
Bill Janssen added the comment: Fixed in 2.6. -- resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ ___ Pyt

[issue1678077] improve telnetlib.Telnet so option negotiation becomes easie

2007-08-29 Thread Guido van Rossum
Changes by Guido van Rossum: -- versions: +Python 3.0 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1683368] object.__init__ shouldn't allow args/kwds

2007-08-29 Thread Guido van Rossum
Changes by Guido van Rossum: -- versions: +Python 3.0 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1677872] Efficient reverse line iterator

2007-08-29 Thread Guido van Rossum
Changes by Guido van Rossum: -- title: Efficient reverse line iterator -> Efficient reverse line iterator versions: +Python 3.0 _ Tracker <[EMAIL PROTECTED]> _

[issue1720390] Remove backslash escapes from tokenize.c.

2007-08-29 Thread Guido van Rossum
Changes by Guido van Rossum: -- versions: +Python 3.0 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1752184] PyHeapTypeObject fix

2007-08-29 Thread Guido van Rossum
Changes by Guido van Rossum: -- versions: +Python 3.0 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1762972] 'exec' does not accept what 'open' returns

2007-08-29 Thread Guido van Rossum
Changes by Guido van Rossum: -- versions: +Python 3.0 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1774369] Unify __builtins__ -> __builtin__

2007-08-29 Thread Guido van Rossum
Changes by Guido van Rossum: -- versions: +Python 3.0 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1771260] Errors in site.py not reported properly

2007-08-29 Thread Guido van Rossum
Changes by Guido van Rossum: -- versions: +Python 3.0 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1753395] struni: assertion in Windows debug build

2007-08-29 Thread Guido van Rossum
Changes by Guido van Rossum: -- versions: +Python 3.0 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1766304] improve xrange.__contains__

2007-08-29 Thread Guido van Rossum
Changes by Guido van Rossum: -- versions: +Python 3.0 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1038] [py3k] pdb does not work in python 3000

2007-08-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: I was running it by typing "./python Lib/pdb.py Lib/test_foo.py" __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-li

[issue504152] rfc822 long header continuation broken

2007-08-29 Thread Skip Montanaro
Skip Montanaro added the comment: Is this still an issue? No activity since 2003-11. -- nosy: +skip.montanaro Tracker <[EMAIL PROTECTED]> _

[issue857888] Modules/Setup needs a suppress flag?

2007-08-29 Thread Skip Montanaro
Skip Montanaro added the comment: That's what the comment character is for. Closing since there's already a good way to achieve the desired behavior and because Modules/Setup is generally not the primary way to build extensions anymore. -- assignee: -> skip.montanaro nosy: +skip.montana

[issue1035] bytes buffer API needs to support PyBUF_LOCKDATA

2007-08-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: I sent an initial patch to the mailing list. Its too late to be ready for 3.0a1; I'll fix it up next week. -- assignee: -> gregory.p.smith __ Tracker <[EMAIL PROTECTED]>

[issue504152] rfc822 long header continuation broken

2007-08-29 Thread Guido van Rossum
Changes by Guido van Rossum: -- versions: +Python 2.4, Python 2.5, Python 2.6, Python 3.0 Tracker <[EMAIL PROTECTED]> ___ Python-bug

[issue1057] Incorrect URL with webbrowser and firefox under Gnome

2007-08-29 Thread Senthil
Senthil added the comment: I am on Fedora Core 3, gnome 2.6 and I am unable to reproduce this issue. Could this be a Ubuntu configuration bug. Like adding " quotes after %s for the firefox command? -- nosy: +orsenthil __ Tracker <[EMAIL PROTECTED]>

[issue1057] Incorrect URL with webbrowser and firefox under Gnome

2007-08-29 Thread Senthil
Senthil added the comment: Okay. I found the status later. It was fixed then with Python 2.6 which I am using. __ Tracker <[EMAIL PROTECTED]> __ ___ Pyth

[issue1189216] zipfile module and 2G boundary

2007-08-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: i'll take care of this. -- assignee: -> gregory.p.smith nosy: +gregory.p.smith _ Tracker <[EMAIL PROTECTED]> _ _

[issue1060] zipfile cannot handle files larger than 2GB (inside archive)

2007-08-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: i'll take care of it. any more info in the interim will be appreciated. -- assignee: -> gregory.p.smith nosy: +gregory.p.smith __ Tracker <[EMAIL PROTECTED]>

[issue1003] zipfile password fails validation

2007-08-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: can you provide a test zip file demonstrating the problem? -- assignee: -> gregory.p.smith nosy: +gregory.p.smith type: crash -> behavior __ Tracker <[EMAIL PROTECTED]> __

[issue1114345] Add SSL certificate validation

2007-08-29 Thread vila-sf
vila-sf added the comment: > "Bill" == Bill Janssen <[EMAIL PROTECTED]> writes: Bill> Bill Janssen added the comment: Bill> Fixed in 2.6. Bill> -- Bill> resolution: -> fixed Bill> status: