[issue8994] pydoc does not support non-ascii docstrings

2010-06-14 Thread Torsten Landschoff
New submission from Torsten Landschoff t.landsch...@gmx.net: With the attached file doc.py I see the following behaviour: tors...@ddhp3:~$ pydoc doc Traceback (most recent call last): File /usr/bin/pydoc, line 5, in module pydoc.cli() File /usr/lib/python2.6/pydoc.py, line 2309, in cli

[issue8995] Performance issue with multiprocessing queue (3.1 VS 2.6)

2010-06-14 Thread Bob
New submission from Bob for_elis...@yahoo.fr: Hi, I've found a strange performance issue when comparing queue.queue and multiprocessing.queue in python 2.6 and 3.1 My program creates a queue, and do 1 million put and get operations on either a small data or a big array. My code: (This is

[issue8995] Performance issue with multiprocessing queue (3.1 VS 2.6)

2010-06-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - jnoller nosy: +jnoller versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8995 ___

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

2010-06-14 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I (reluctantly) agree it's surprising that {0[-1]}.format(args) fails. And I suppose that if it were allowed then it would also make sense to consider {-1}.format(*args) as well, in order to preserve the equivalence between

[issue7936] sys.argv contains only scriptname

2010-06-14 Thread Sworddragon
Sworddragon sworddrag...@aol.com added the comment: I have set now the key to E:\Python31\python.exe %%1 %%* and it works. So Windows XP need double % too. The installer of the next version should consider this. -- ___ Python tracker

[issue7936] sys.argv contains only scriptname

2010-06-14 Thread Sworddragon
Sworddragon sworddrag...@aol.com added the comment: I made a mistake in the last post. After I have set the value, Python 2 was active and I forgot to set it to Python 3 back. This solution doesn't work. Well, I can't edit or delete the post. --

[issue8989] email.utils.make_msgid: specify domain

2010-06-14 Thread Adrian von Bidder
Adrian von Bidder avbid...@fortytwo.ch added the comment: Thanks for the positive feedback. I'll try to do the diff against top of tree and the unit test soon-ish. Use case: * In my specific case, I'm writing a sort of cross between mailing list and blog system and I'd like to use a static

[issue7936] sys.argv contains only scriptname

2010-06-14 Thread Sworddragon
Sworddragon sworddrag...@aol.com added the comment: Now I found the real solution (and don't forgot to set it to Python 3 back). I have searched in the registry for python.exe to look how Python 2 is doing this. I sawed a key that looks dissimilar to the others before. It is the key

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

2010-06-14 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Addressing just the last part of Mark's message right now: The PEP goes on to say: Implementation note: The implementation of this proposal is not required to enforce the rule about a simple or dotted name being a valid Python

[issue7936] sys.argv contains only scriptname

2010-06-14 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: So the real question is is: how does that key get that invalid value? I can't reproduce the problem. I believe that key you mention is an alias for HKEY_CURRENT_USER\Software\Classes\Applications\python.exe\shell\open\command, which doesn't

[issue8988] import + coding = failure (3.1.2/win32)

2010-06-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: This bug is maybe related to #8611? Can you try with py3k (python 3.2)? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8988

[issue7936] sys.argv contains only scriptname

2010-06-14 Thread Sworddragon
Sworddragon sworddrag...@aol.com added the comment: I have now uninstalled Python 2 and 3 and installed them new. First Python 2 with only register extension and compile files to bytecode. After this I have made the same with Python 3. In the Open with menu was now python registered which was

[issue8995] Performance issue with multiprocessing queue (3.1 VS 2.6)

2010-06-14 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: No - I don't know of anything which would trigger this in 3.1 off the top of my head. The performance degradation is pretty worrisome -- ___ Python tracker rep...@bugs.python.org

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2010-06-14 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: issue5904g.diff looks good to me. A very nice piece of work! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5094 ___

[issue5094] datetime lacks concrete tzinfo implementation for UTC

2010-06-14 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Committed in r81981. I'll open a separate documentation issue to update Doc/includes/tzinfo-examples.py and improve TZ related documentation. -- stage: patch review - committed/rejected status: open - closed

[issue2397] Backport 3.0 struct module changes to 2.6

2010-06-14 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: It's too late to backport any new features to 2.x. -- nosy: +mark.dickinson resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org

[issue3163] module struct support for ssize_t and size_t

2010-06-14 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: - mark.dickinson nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3163 ___

[issue1749662] New byte packing format for the struct module

2010-06-14 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: - mark.dickinson nosy: +mark.dickinson versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1749662

[issue2981] confusing action of struct.pack and struct.unpack with fmt 'p'

2010-06-14 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2981 ___ ___ Python-bugs-list

[issue2263] struct.pack() + numpy int raises SystemError

2010-06-14 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2263 ___ ___ Python-bugs-list

[issue2981] confusing action of struct.pack and struct.unpack with fmt 'p'

2010-06-14 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I think you're misunderstanding how the 'p' format works. Otherwise, why people should use format 'p'? Either when you struct.pack or struct.unpack you have to know the size of string at first, why not turn to format 's'? No; you don't

[issue8996] Add a default role to allow writing bare `len` instead of :func:`len`

2010-06-14 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: Following a discussion on IRC: birkenfeld I would even prefer having more of just `object` instead of :func:`object` or :class:`object` I think it would be feasible to write a reST role that would use inspect or pydoc to find the type. It

[issue1749662] New byte packing format for the struct module

2010-06-14 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Is this still of interest to anyone? What's the motivation for this particular choice (bigendian byteorder, native size, native alignment), out of all the various other choices that aren't currently implemented? PEP 3118 also proposes the

[issue3163] module struct support for ssize_t and size_t

2010-06-14 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3163 ___ ___

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

2010-06-14 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: Re: msg107776. If it looks like an integer (ie, can be converted to an integer by 'int') then it's positional, otherwise it's a key. An optimisation is to perform a quick check upfront to see whether it starts like an integer.

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

2010-06-14 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Matthew: would that include allowing whitespace, then? int('\t\n+56') 56 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7951 ___

[issue7475] codecs missing: base64 bz2 hex zlib hex_codec ...

2010-06-14 Thread sorin
sorin sorin.sbar...@gmail.com added the comment: I would like to know what happened with hex_codec and what is the new py3 for this. Also, it would be really helpful to see DeprecationWarnings for all these codecs in py2x and include a note in py3 changelist. The official python

[issue8996] Add a default role to allow writing bare `len` instead of :func:`len`

2010-06-14 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The type doesn't matter anyway, no need to find it by questionable means. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8996

[issue8993] Small typo in docs for PySys_SetArgv

2010-06-14 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r81984. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8993

[issue6641] datetime.strptime doesn't support %z format ?

2010-06-14 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: With issue5094 patch now committed, I am replacing issue6641.diff with a new version that does not include issue5094. -- title: strptime doesn't support %z format ? - datetime.strptime doesn't support %z format ?

[issue6641] datetime.strptime doesn't support %z format ?

2010-06-14 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Removed file: http://bugs.python.org/file17590/issue6641.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6641 ___

[issue8958] 2.7rc1 tarfile.py: `bltn_open(targetpath, wb)` - IOError: Is a directory

2010-06-14 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: I am curious as to why this should still fail as the OSX filesystem is case sensitive. Finder has no problems with extrating this particular tarball. Do you think this is a (separate) bug, or is this by design (why?)? If this is

[issue3163] module struct support for ssize_t and size_t

2010-06-14 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: To avoid clashing with PEP 3118, we could use 'n' and 'N' instead of 'z' and 'Z'. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3163

[issue3163] module struct support for ssize_t and size_t

2010-06-14 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: The proposed addition seems reasonable to me, for native packing and unpacking. For standard mode packing and unpacking, I don't see the point; we'd have to pick a standard size, which would almost certainly be either 4 or 8, and so would

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

2010-06-14 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: That's a good question. :-) Possibly just an optional sign followed by one or more digits. Another possibility that occurs to me is for it to default to positional if it looks like an integer, but allow quoting to force it to be a

[issue6280] calendar.timegm() belongs in time module, next to time.gmtime()

2010-06-14 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: The issue6280-calendar.diff patch looks good to me. -- assignee: mark.dickinson - belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6280

[issue8958] 2.7rc1 tarfile.py: `bltn_open(targetpath, wb)` - IOError: Is a directory

2010-06-14 Thread Lars Gustäbel
Lars Gustäbel l...@gustaebel.de added the comment: a) The point is: the operation simply wouldn't fail on a case-sensitive filesystem. There is no platform-specific or otherwise special code in TarFile.makefile(). It simply tries to extract the file and the filesystem layer says no, because

[issue6280] calendar.timegm() belongs in time module, next to time.gmtime()

2010-06-14 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Committed issue6280-calendar.diff in r81988. I believe tests should be merged in 2.7. Any objections? As for the original RFE, I think it should be rejected. I believe users should be encouraged to use datetime

[issue8958] 2.7rc1 tarfile.py: `bltn_open(targetpath, wb)` - IOError: Is a directory

2010-06-14 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: On 2010-06-14, at 10:43 AM, Lars Gustäbel wrote: Lars Gustäbel l...@gustaebel.de added the comment: a) The point is: the operation simply wouldn't fail on a case-sensitive filesystem. There is no platform-specific or otherwise

[issue8989] email.utils.make_msgid: specify domain

2010-06-14 Thread Adrian von Bidder
Adrian von Bidder avbid...@fortytwo.ch added the comment: I'm sure several of you have worked with the Python source code before and know by heart how to run the testsuite. In other words: I admit that I've only written the code and have not tried it. Given how trivial the patch is, I have

[issue8838] Remove codecs.readbuffer_encode() and codecs.charbuffer_encode()

2010-06-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: This issue was about removing codecs.readbuffer_encode() and codecs.charbuffer_encode(). codecs.charbuffer_encode() was removed, but codecs.readbuffer_encode() explained that it should be kept. So I close this issue because there

[issue8838] Remove codecs.readbuffer_encode() and codecs.charbuffer_encode()

2010-06-14 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8838 ___

[issue6280] calendar.timegm() belongs in time module, next to time.gmtime()

2010-06-14 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I reverted r81988 in r81989. Some code may rely on timegm() accepting float in tm_sec. See http2time in Lib/http/cookiejar.py. It is very easy to modify implementation to accept float seconds, but old implementation

[issue8997] Write documentation for codecs.readbuffer_encode()

2010-06-14 Thread Marc-Andre Lemburg
New submission from Marc-Andre Lemburg m...@egenix.com: See #8838 for details. -- assignee: lemburg components: Documentation messages: 107809 nosy: lemburg priority: normal severity: normal status: open title: Write documentation for codecs.readbuffer_encode() versions: Python 3.2,

[issue8997] Write documentation for codecs.readbuffer_encode()

2010-06-14 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg m...@egenix.com: -- components: +Unicode ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8997 ___ ___ Python-bugs-list

[issue8857] socket.getaddrinfo needs tests

2010-06-14 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: FreeBSD/Qemu: ipv6 is ok, but this fails: == FAIL: testGetaddrinfo (__main__.GeneralModuleTests) --

[issue8997] Write documentation for codecs.readbuffer_encode()

2010-06-14 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8997 ___ ___

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

2010-06-14 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I can see the point of allowing negative indices for a consistency point, but is there really any practical problem that's currently causing people hardship that this would solve? As for the rest of it, I think it's just not worth the

[issue8850] Remove w format of PyParse_ParseTuple()

2010-06-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: New (improved) version of the patch: - Remove also w# format - Write tests for w* format -- Added file: http://bugs.python.org/file17670/remove_w_format-2.patch ___ Python tracker

[issue8998] add encryption/decryption/signature/verification routines to stdlib

2010-06-14 Thread geremy condra
New submission from geremy condra debat...@gmail.com: Python's hashlib and ssl modules currently leverage OpenSSL to provide developers with access to cryptographic hash and TLS routines, but encryption/decryption and signature/verification support are still missing. I propose the addition of

[issue8998] add encryption/decryption/signature/verification routines to stdlib

2010-06-14 Thread geremy condra
geremy condra debat...@gmail.com added the comment: apologies, forgot the link: [0] http://gitorious.org/evpy -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8998 ___

[issue8998] add encryption/decryption/signature/verification routines to stdlib

2010-06-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +exarkun, gregory.p.smith, pitrou versions: +Python 3.2 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8998 ___

[issue8918] distutils test failure on solaris: IOError: [Errno 2] No such file or directory: '_configtest.i'

2010-06-14 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: -bash-3.00$ cat _configtest.c // xxx -bash-3.00$ - This is how the C compiler is invoked: $ cc -E -o _configtest.i _configtest.c # 1 _configtest.c #ident acomp: Sun C 5.9 SunOS_i386

[issue8998] add encryption/decryption/signature/verification routines to stdlib

2010-06-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Assuming you are willing to contribute evpy (and have the rights to do so, i.e. all of the code is truly yours): what's the user acceptance of the code? In particular, what do authors of competing OpenSSL wrappers (like M2Crypto) or other

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2010-06-14 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Thanks for the patch, Éric. I will get to it when I can. -- assignee: - brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8912 ___

[issue8998] add encryption/decryption/signature/verification routines to stdlib

2010-06-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +heikki ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8998 ___ ___ Python-bugs-list mailing

[issue8998] add encryption/decryption/signature/verification routines to stdlib

2010-06-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: and have the rights to do so, i.e. all of the code is truly yours Is it really required, or is a non-copyleft liberal license (MIT-like or BSD-like) enough? -- ___ Python tracker

[issue5094] datetime lacks concrete tzinfo implementation for UTC

2010-06-14 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Thanks for sticking with this, Alexander. I realized I was a slight pain to deal with on this one. =) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5094

[issue8991] PyArg_Parse*() functions: reject discontinious buffers

2010-06-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Write a patch. test_getargs2.py has now tests for many byte and unicode formats and so it can validate the patch. -- keywords: +patch Added file: http://bugs.python.org/file17671/reject_discontigious.patch

[issue8998] add encryption/decryption/signature/verification routines to stdlib

2010-06-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: and have the rights to do so, i.e. all of the code is truly yours Is it really required, or is a non-copyleft liberal license (MIT-like or BSD-like) enough? The contributor would have to sign a contributor agreement, giving the PSF the

[issue8998] add encryption/decryption/signature/verification routines to stdlib

2010-06-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The contributor would have to sign a contributor agreement, giving the PSF the right to relicense under the PSF license (or anything they please to relicense under). If the contributor only has a BSD license (from his contributors), he has

[issue8998] add crypto routines to stdlib

2010-06-14 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- title: add encryption/decryption/signature/verification routinesto stdlib - add crypto routines to stdlib ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8998

[issue8998] add encryption/decryption/signature/verification routines to stdlib

2010-06-14 Thread geremy condra
geremy condra debat...@gmail.com added the comment: On Mon, Jun 14, 2010 at 3:09 PM, Martin v. Löwis rep...@bugs.python.org wrote: Martin v. Löwis mar...@v.loewis.de added the comment: Assuming you are willing to contribute evpy (and have the rights to do so, i.e. all of the code is truly

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2010-06-14 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I may add that although there is no formal test of any kind, I added tabs in two places in one .c file and in one place in another place, and it correctly reported two files. It’s a small function mostly copied from the one above; the only part

[issue3297] Python interpreter uses Unicode surrogate pairs only before the pyc is created

2010-06-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: We are too close from the final 2.7 release, it's too late to backport. As I wrote, this feature is not important and there are many workaround, so we don't need to backport to 3.1. Close the issue: use Python 3.2 if you want a

[issue8850] Remove w format of PyParse_ParseTuple()

2010-06-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also #8926. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8850 ___ ___

[issue4769] b64decode should accept strings or bytes

2010-06-14 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- versions: +Python 3.2 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4769 ___

[issue8998] add crypto routines to stdlib

2010-06-14 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8998 ___ ___ Python-bugs-list mailing

[issue8998] add crypto routines to stdlib

2010-06-14 Thread geremy condra
geremy condra debat...@gmail.com added the comment: On Mon, Jun 14, 2010 at 3:37 PM, Martin v. Löwis rep...@bugs.python.org wrote: Martin v. Löwis mar...@v.loewis.de added the comment: Evpy and M2Crypto have very different goals. M2Crypto seeks to be a complete wrapper for OpenSSL, which we

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2010-06-14 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Éric, It will be helpful if your code could also check for lines longer than 79 characters. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8912

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2010-06-14 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: .. and trailing white space. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8912 ___

[issue4352] imp.find_module() fails with a UnicodeDecodeError when called with non-ASCII search paths

2010-06-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: About the mbcs encoding: issue #850997 proposes to make it more strict. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4352

[issue8998] add crypto routines to stdlib

2010-06-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Le lundi 14 juin 2010 à 22:48 +, geremy condra a écrit : I have no idea, and as I said earlier in the mailing list, I'm willing to contribute the code, make changes as requested, and maintain it- but I have no interest in or skill with

[issue8647] PyUnicode_GetMax is undocumented

2010-06-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Can you write a patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8647 ___

[issue8646] PyUnicode_EncodeDecimal is undocumented

2010-06-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Can you write a patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8646 ___

[issue8645] PyUnicode_AsEncodedObject is undocumented

2010-06-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Can you write a patch? See also #8646. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8645 ___

[issue8203] IDLE about dialog credits raises UnicodeDecodeError

2010-06-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: ping myself: i have to apply the patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8203 ___

[issue6543] traceback presented in wrong encoding

2010-06-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The patch changes the prototype of _Py_DisplaySourceLine() function. Is it possible that a third party module uses this function? Should we keep backward compatibility with third pary modules using the private C API? --

[issue5220] os.makedirs' mode argument has bad default value

2010-06-14 Thread Sindre Myren
Sindre Myren smyr...@gmail.com added the comment: I don't understand what you mean when you say how umask works in relation to Python. How it works in relation to Python isn't different from how it works for any other Unix program. Consider, for example, the unix man page for 'open'. This

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-06-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Bug related to this issue: #8124, PySys_WriteStdout() and PySys_WriteStderr() ignore signal handlers errors. ... Leave this issue open until #8124 is fixed. I fixed both issues, so it's time to close this one. --

[issue5220] os.makedirs' mode argument has bad default value

2010-06-14 Thread Sindre Myren
Sindre Myren smyr...@gmail.com added the comment: *Sorry.. A bit quick there. The line os.mkdir('test4') should have been: os.mkdir('test4', 0777) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5220

[issue5220] os.makedirs' mode argument has bad default value

2010-06-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I (as a programmer) have never seen the specific code for python's mkdir function, And I have no way to know whether I should presume that mkdir in python works the same way as the gnu command or not. Unless it is documented that is. You

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2010-06-14 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Replacing VCS hooks, are we? :) Updated and attached. Ideas for other feature requests: - Printing the name of files with issues; - Fail-fast mode or full report. -- Added file: http://bugs.python.org/file17672/patchcheck-pep7.diff

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2010-06-14 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file17663/check-tabs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8912 ___

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2010-06-14 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file17664/check-tabs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8912 ___

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

2010-06-14 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: Your original: {0[-1]}.format('fox') is a worse gotcha than: {-1}.format('fox') because you're much less likely to want to do the latter. It's one of those things that it would be nice to have fixed, or we could just add

[issue8998] add crypto routines to stdlib

2010-06-14 Thread Mike Crute
Changes by Mike Crute mcr...@gmail.com: -- nosy: +mcrute ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8998 ___ ___ Python-bugs-list mailing list

[issue8998] add crypto routines to stdlib

2010-06-14 Thread geremy condra
geremy condra debat...@gmail.com added the comment: On Mon, Jun 14, 2010 at 6:51 PM, Antoine Pitrou rep...@bugs.python.org wrote: Antoine Pitrou pit...@free.fr added the comment: Le lundi 14 juin 2010 à 22:48 +, geremy condra a écrit : I have no idea, and as I said earlier in the