[issue8453] build_installer.py breaks bzip compilation

2010-04-20 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8453 ___

[issue8453] build_installer.py breaks bzip compilation

2010-04-20 Thread David Bolen
David Bolen db3l@gmail.com added the comment: The buildbot user's shell is also bash, so not entirely sure yet why it's behaving differently in my environment. I had completely forgotten about bash having a default path. I do agree that explicitly setting a minimal path is a good idea.

[issue8453] build_installer.py breaks bzip compilation

2010-04-20 Thread Ned Deily
Ned Deily n...@acm.org added the comment: +1. Thanks, all. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8453 ___ ___ Python-bugs-list mailing

[issue8437] test_gdb: gdb.Frame has no attribute function

2010-04-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I'm not sure I understand the issue that this patch is supposed to fix It should fix all test_gdb errors :-) in any case, I can report that it doesn't fix *this* issue. I'm still getting the very same failures after applying

[issue8460] Set a timeout in test_urllib2net

2010-04-20 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Committed revision 80236 in the trunk. The build-bots should not hang now. Shall merge to other branches too. -- assignee: - orsenthil resolution: - accepted ___ Python tracker

[issue8464] tarfile creates tarballs with execute permissions set

2010-04-20 Thread Lars Gustäbel
Lars Gustäbel l...@gustaebel.de added the comment: 0666 is the right mode and the patch is correct. @Tarek: Why does shutil.make_archive() use mode w|... instead of w:...? IMHO that is not necessary, because it works on regular files only. -- ___

[issue8190] Add a PyPI XML-RPC client module

2010-04-20 Thread Alexandre Conrad
Changes by Alexandre Conrad alexandre.con...@gmail.com: -- nosy: +aconrad ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8190 ___ ___

[issue6547] shutil.copytree fails on dangling symlinks

2010-04-20 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: So, here's what I am planing to do after a little thought: When a dangling symlink occurs and symlinks=false, copytree() will just emit a warning, unless the onerror option (new option) is set to a callable. In that case it will receive the

[issue6547] shutil.copytree fails on dangling symlinks

2010-04-20 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6547 ___ ___ Python-bugs-list mailing list

[issue8424] Test assumptions for test_itimer_virtual and test_itimer_prof

2010-04-20 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Committed fix (with the freebsd6 skips intact) in r80238, r80239, r80240 and r80241. David, is it intentional that py3k doesn't have the freebsd6 fixes? -- assignee: - skrah resolution: - accepted status: open - pending

[issue8095] test_urllib2 crashes on OS X 10.3 attempting to retrieve network proxy configuration

2010-04-20 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I've committed my proposed fix in r80243 (trunk) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8095 ___

[issue6547] shutil.copytree fails on dangling symlinks

2010-04-20 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Added in r80244. This new option willl be available in the next 3.2 release. Until 3.2 is released, what you can do is catch the errors and re-raise the ones that are not due to dangling symlinks: (not tested) from shutil import copytree,

[issue7969] shutil.copytree error handling non-standard and partially broken

2010-04-20 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I agree with all your points. The copystat error can be fixed right away and applied for 2.6 to 3.x For other points, I'll change the way the Error works but this will require an heavy deprecation process. In the meantime I can document

[issue4489] shutil.rmtree is vulnerable to a symlink attack

2010-04-20 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Mart, I took over the maintenance of shutil, if you are interested in contributing a bullet-proof version of rmtree, please drop a line at python-ideas, and let's see what we can do in a new function maybe. I'll be happy to review and

[issue8466] typo in tp_name of cStringIO

2010-04-20 Thread Anthon van der Neut
New submission from Anthon van der Neut ant...@mnt.org: if you execute the following code from cStringIO import StringIO x = StringIO() x.get_value() you will see that the AttributeError line has a typo it displays 'cStringIO.StringO' instead of 'cStringIO.StringIO' this error is in line

[issue1355826] shutil.move() does not preserve ownership

2010-04-20 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: That's because there's no simple, portable way to copy all metadata. If you need to copy all of them you will need to use OS-specific APIs -- assignee: - tarek nosy: +tarek resolution: - wont fix status: open - closed

[issue8460] Set a timeout in test_urllib2net

2010-04-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Don't you port the fix to py3k? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8460 ___

[issue1145257] shutil.copystat() may fail...

2010-04-20 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- assignee: - tarek nosy: +tarek resolution: - accepted versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python 3.0 ___ Python tracker rep...@bugs.python.org

[issue1666318] shutil.copytree doesn't preserve directory permissions

2010-04-20 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- assignee: - tarek nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1666318 ___ ___

[issue8460] Set a timeout in test_urllib2net

2010-04-20 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Yes, definitely it needs to be ported. I realized that, py3k was in a bad shape at moment. File Lib/test/test_urllib2net.py, line 151, in _test_urls import logging File /home/senthil/python/py3k/Lib/logging/__init__.py, line 43, in

[issue8466] typo in tp_name of cStringIO

2010-04-20 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: From issue 8121: That name is actually correct. cStringIO features two different types, depending on whether you call cStringIO.StringIO() with or without an argument. One is called StringI, the other StringO. -- nosy: +eric.smith

[issue8460] Set a timeout in test_urllib2net

2010-04-20 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: make distclean erased the problem. :) merged to py3k in r80256 and release31-maint in r80257. Had merged to release26-maint in r80237 -- resolution: accepted - fixed stage: - committed/rejected status: open - closed

[issue8242] Support surrogates in import ; install Python in a non-ASCII directory

2010-04-20 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- dependencies: +utf8, backslashreplace and surrogates ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8242 ___

[issue8424] Test assumptions for test_itimer_virtual and test_itimer_prof

2010-04-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Stefan, you move too fast! I was going to review that second patch, honest! I'm not 100% sure (David can probably confirm), but I think your sys.stdout.write should be a sys.stderr.write. -- status: pending - open

[issue8467] subprocess: surrogates of the error message (Python implementation on non-Windows)

2010-04-20 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: On a non-Windows OS where _posixsubprocess is missing (subprocess uses the pure Python implementation), if the child fails with a Python exception and the exception message contains a surrogate character, message.encode() fails

[issue8467] subprocess: surrogates of the error message (Python implementation on non-Windows)

2010-04-20 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- components: +Unicode ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8467 ___ ___

[issue8242] Support surrogates in import ; install Python in a non-ASCII directory

2010-04-20 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- dependencies: +subprocess: surrogates of the error message (Python implementation on non-Windows) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8242

[issue8242] Support surrogates in import ; install Python in a non-ASCII directory

2010-04-20 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- dependencies: +bz2: support surrogates in filename, and bytes/bytearray filename ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8242

[issue8242] Improve support of PEP 383 (surrogates) in Python3: meta-issue

2010-04-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I haven't reviewed the patch in detail yet, but it seems to me that it fixes independent issues. Right. First I only wanted to fix import machinery, but then I fixed a lot of indenpendent issues to test the patch on import. All

[issue8469] struct - please make sizes explicit

2010-04-20 Thread Mads Kiilerich
New submission from Mads Kiilerich m...@kiilerich.com: The struct module is often used (at least by me) to implement protocols and binary formats. That makes the exact sizes (number of bits/bytes) of the different types very important. Please add the sizes to for example the table on

[issue6483] Modules are not deallocated correctly if m_size = -1

2010-04-20 Thread Julian Andres Klode
Julian Andres Klode j...@jak-linux.org added the comment: This bug still exists in Python 3.1.2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6483 ___

[issue8424] Test assumptions for test_itimer_virtual and test_itimer_prof

2010-04-20 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: The Tiger buildbot triggers the message in build #31: test_signal test_itimer_virtual: timeout: likely cause: machine too slow or load too high. But build #23 is ok. -- ___ Python tracker

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-20 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: Does Ubuntu use a small stack size? it's 8192 on all architectures. -- nosy: +doko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7332 ___

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-20 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: I'm told it's 10240 on Fedora 12, x86 and x86_64 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7332 ___

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Allocate more than 16 bytes on the stack is never a good idea. Eg. Linux does never resize the size automatically, and the only way to catch allocatation failed error is to handle the SIGSEGV signal... Remove buf allocated on the

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: A 16KB stack buffer is tiny compared to a 8MB stack. I'm not sure removing that buffer would really fix the problems. Perhaps other threads get a smaller stack? -- ___ Python tracker

[issue8451] syslog.syslog('msg') logs message with ident python.

2010-04-20 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: A couple of points: Didn't we decide that instead of using: openlog(ident[, logopt[, facility]]) we'd use: openlog(ident, logopt=None, facility=None) (or whatever the defaults are)? I can't find a reference, but the argument was that it's

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: What's the value of MAXPATHLEN and PATH_MAX on those systems? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7332 ___

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-20 Thread Charles-Francois Natali
Charles-Francois Natali neolo...@free.fr added the comment: The problem is highlighted with recursive imports: a module which imports another module, which imports another module, etc. PyMarshal_ReadLastObjectFromFile is not the only function to use stack-allocated buffers, there are also

[issue6600] MemoryError in AiX 64-bit - PyMem_MALLOC fails in open/fdopen

2010-04-20 Thread Charles-Francois Natali
Charles-Francois Natali neolo...@free.fr added the comment: It really looks like a broken compiler: if you want to convince yourself, perform a disassembly of the crashing code. I'd suggest to close this one. -- nosy: +neologix ___ Python tracker

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The problem is highlighted with recursive imports: a module which imports another module, which imports another module, etc. PyMarshal_ReadLastObjectFromFile is not the only function to use stack-allocated buffers, there are also

[issue8124] mywrite() ignores PyFile_WriteString() errors

2010-04-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Another solution: disable call to PyErr_CheckSignals() in mywrite(). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8124 ___

[issue8469] struct - please make sizes explicit

2010-04-20 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: It is very easy to generate the size table programmatically: for c in xcbB?hHiIlLqQfdspP: ... print(c, struct.calcsize(c)) ... x 1 c 1 b 1 B 1 ? 1 h 2 H 2 i 4 I 4 l 8 L 8 q 8 Q 8 f 4 d 8 s 1 p 1 P 8 However, all

[issue8395] shutil.copytree() add a copy_func parameter.

2010-04-20 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I have just added this feature yesterday, see #1540112. Thanks! -- resolution: - duplicate status: open - closed superseder: - Allow choice of copy function in shutil.copytree ___ Python tracker

[issue6547] shutil.copytree fails on dangling symlinks

2010-04-20 Thread Timothee Besset
Timothee Besset tt...@idsoftware.com added the comment: Good stuff. Didn't occur to me that the operation could have successfully completed before raising the exception -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6547

[issue6547] shutil.copytree fails on dangling symlinks

2010-04-20 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Thanks for your work on Quake btw ;) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6547 ___

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-20 Thread resc
resc thomat...@gmail.com added the comment: Hi, I'm working on reproducing this again, but it's always been a very sporadic bug, and I haven't gotten a bingo yet. - return the result of ulimit -s on their box 8192 - return the result of ltrace -e pthread_attr_setstacksize command used to start

[issue6547] shutil.copytree fails on dangling symlinks

2010-04-20 Thread Timothee Besset
Timothee Besset tt...@idsoftware.com added the comment: My pleasure! We do use a lot of python. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6547 ___

[issue7150] datetime operations spanning MINYEAR give bad results

2010-04-20 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: My patch includes unit tests and I tested it on Mac OS X. Anand, what kind of testing do you have in mind? -- versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-20 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: PATH_MAX/MAXPATHLEN is 4096 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7332 ___ ___

[issue8469] struct - please make sizes explicit

2010-04-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: As Alexander says, *all* the sizes except those for bytes are platform-dependent: there are platforms where sizeof(short) isn't 2, for example, or where sizeof(int) isn't 4. It would be possible to add the 'standard' sizes to that table

[issue8295] add unpack_archive to shutil

2010-04-20 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- resolution: - accepted versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8295 ___

[issue8469] struct - please make sizes explicit

2010-04-20 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: On Tue, Apr 20, 2010 at 10:30 AM, Mark Dickinson rep...@bugs.python.org wrote: .. It would be possible to add the 'standard' sizes to that table (i.e. the sizes that you get when using '', '', etc.);  would that be

[issue8453] build_installer.py breaks bzip compilation

2010-04-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I don't think bash itself has a default path, I think the default path is set by the system bash profile, and is therefore system dependant. I could be wrong, though. -- nosy: +r.david.murray

[issue8424] Test assumptions for test_itimer_virtual and test_itimer_prof

2010-04-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The only reason the freebsd6 skips aren't in py3k is that I wanted to make sure they worked first, and then I was on vacation and haven't gotten to the merge yet. If you want to merge your patch before I get to it, feel free to merge

[issue8451] syslog.syslog('msg') logs message with ident python.

2010-04-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The argument documentation style change was made for py3k. The old convention is still used in the 2.x docs. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org

[issue1083] Confusing error message when dividing timedelta using /

2010-04-20 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: This is certainly not a bug, so I don't think targeting 2.7 is appropriate. I have explained in a comment on issue2706 (see msg75917) why I believe true division of timedelta by int should not be supported. In short, true

[issue8470] Let cmd.cmd.intro be unicode friendly

2010-04-20 Thread phep
New submission from phep patrice.pil...@teletopie.net: Since cmd.cmdloop() says: # ... self.stdout.write(str(self.intro)+\n) # one cannot use unicode characters in cmd.cmd.intro, for example the copyright (©) character (u'\xa9'). TIA -- messages: 103726 nosy: phep severity:

[issue8465] Backreferences vs. escapes: a silent failure solved

2010-04-20 Thread Aaron Sherman
Aaron Sherman a...@ajs.com added the comment: Matthew, thank you for replying. I still think the primary issue is the potential for confusion between single digit escapes and backreferences, and the ease with which they could be addressed, but to cover what you said: Quote: the normal way to

[issue8471] Unicode returns in doctest can make subsequent tests fail

2010-04-20 Thread Lennart Regebro
New submission from Lennart Regebro rege...@gmail.com: If we return unicode, SpoofOut's buf variable becomes automagically converted to unicode. This means all subsequent output becomes converted to unicode, and if the output contains non-ascii characters that fails. That means that

[issue5243] Missing dependency in distutils build

2010-04-20 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: +Distutils2 -Distutils versions: +Python 2.5, Python 3.1, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5243 ___

[issue8274] test_run failing

2010-04-20 Thread Alexandre Conrad
Alexandre Conrad alexandre.con...@gmail.com added the comment: worksforme: test_run (distutils2.tests.test_build_clib.BuildCLibTestCase) ... ok Python 2.6.2 on Ubuntu 9.04 -- nosy: +aconrad ___ Python tracker rep...@bugs.python.org

[issue5302] Allow package_data globs match directories

2010-04-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Hello Tarek, could you briefly explain the arguments that convinced you? If MANIFEST.in is removed, perhaps we could use convention instead of configuration to categorize files, like what DistutilsExtra does:

[issue8437] test_gdb: gdb.Frame has no attribute function

2010-04-20 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- nosy: +doko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8437 ___ ___ Python-bugs-list mailing list

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2010-04-20 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: I am +1 for adding these features and I have only one comment on the code: It is documented in time.strptime() documentation that The default values used to fill in any missing data when more accurate values cannot be

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2010-04-20 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: BTW, it does not bother me that date.strptime() seems a bit odd, given that it cannot accept a time part. To me time in strptime means time specification that may include date, time or even just month. If parsed

[issue8472] itertools.filterfalse() function missing

2010-04-20 Thread Alexander Myodov
New submission from Alexander Myodov amyo...@gmail.com: The documentation (eg at http://docs.python.org/release/2.6.5/library/functions.html#filter) tells that there should be an itertools.filterfalse() function complementary to builtin filter() function, that returns the list of elements

[issue4079] new urllib2.Request 'timeout' attribute needs to have a default

2010-04-20 Thread Facundo Batista
Facundo Batista facu...@taniquetil.com.ar added the comment: I'm ok with the proposed changes from Sidnei (yes, a patch is needed). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4079 ___

[issue8473] doctest fails if you have inconsistent lineendings

2010-04-20 Thread Lennart Regebro
New submission from Lennart Regebro rege...@gmail.com: If the doctest file has both Windows and unix lineendings you get an error. Yeah, I know, it's not a serious bug, but it's also easy to fix. Attached patch with test. Seems to not be an issue on Python 3. -- components: Extension

[issue8472] itertools.filterfalse() function missing

2010-04-20 Thread Alexander Myodov
Changes by Alexander Myodov amyo...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8472 ___ ___ Python-bugs-list

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-04-20 Thread Andres Moreira
Changes by Andres Moreira elkpich...@gmail.com: -- nosy: +andrix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7946 ___ ___ Python-bugs-list

[issue8472] itertools.filterfalse() function missing

2010-04-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: That line has been added first on py3k where the function is called 'itertools.filterfalse' and then ported to 2.x. Most likely the 'i' has been forgotten. A new filterfalse function can't be added to 2.7 because it's already in beta. I

[issue8437] test_gdb: gdb.Frame has no attribute function

2010-04-20 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file16997/add-conditions-for-gdb.Frame.select-to-trunk.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8437

[issue8437] test_gdb: gdb.Frame has no attribute function

2010-04-20 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file16998/test_gdb-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8437 ___

[issue4843] make distutils use shutil

2010-04-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This has been done in Distutils2, see http://hg.python.org/distutils2/rev/18dc3dba4075 and http://hg.python.org/distutils2/rev/98b70f92bf0a Changing component and closing the bug, please reopen if I’m wrong :) Regards -- resolution:

[issue8472] itertools.filterfalse() function missing

2010-04-20 Thread Alexander Myodov
Alexander Myodov amyo...@gmail.com added the comment: In this case, I'd suggest to rephrase it to See :func:`itertools.ifilterfalse` for the complementary function that returns the iterator over the elements of *iterable* for which *function* returns false., or even remove this line at all

[issue8474] Duplicate tests in email test suite

2010-04-20 Thread Shashwat Anand
New submission from Shashwat Anand anand.shash...@gmail.com: In trunk/Lib/email/test/test_email.py, test_default_cte() is repeated twice, one being the subset of other. Attached patch resolve the duplicity. -- components: Library (Lib) files: test_email.patch keywords: patch messages:

[issue3132] implement PEP 3118 struct changes

2010-04-20 Thread Noufal
Changes by Noufal nou...@nibrahim.net.in: -- nosy: +noufal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3132 ___ ___ Python-bugs-list mailing

[issue8472] itertools.filterfalse() function missing

2010-04-20 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Suggestion for Py2.x: See :func:`itertools.ifilter` and :func:`itertools.ifilterfalse` for iterator versions of this function, including a variation that filters for elements where the *function* returns *False*).

[issue8092] utf8, backslashreplace and surrogates

2010-04-20 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8092 ___ ___ Python-bugs-list mailing

[issue8092] utf8, backslashreplace and surrogates

2010-04-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: New version without the hardcoded limit: don't use goto encodeUCS4;, chain if to limit indentation depth: it only costs one copy of the UCS4 (5 lines are duplicated). The buffer is now reallocated each time a surrogate escape is

[issue8437] test_gdb: gdb.Frame has no attribute function

2010-04-20 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I'm attaching the full output. It's the same as the one in the original report (msg103442) still. -- Added file: http://bugs.python.org/file17011/test_gdb.txt ___ Python tracker

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2010-04-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Bill, I think we should move forward with this. Do you agree that removing the timeout dance is the right solution? -- nosy: +pitrou priority: - high versions: +Python 2.7 ___ Python tracker

[issue3597] Allow application developers to select ciphers, and default to strong in ssl lib

2010-04-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I had never seen this issue but committed almost exactly the same feature in r80151. The parameters is named ciphers rather than cipher_list and allows you to override the allowed ciphers when creating an SSL object. It will be available in

[issue8393] subprocess: support undecodable current working directory on POSIX OS

2010-04-20 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Amaury, I fail to see how the error you get on Windows is related to this issue. AFAICT, neither the issue nor the patch affects Windows at all. Closing the issue as fixed. If you think there is also an issue on Windows, please submit a

[issue8394] ctypes.dlopen() doesn't support surrogates

2010-04-20 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Amaury, I'm closing this for the same reason I explained in msg103745 -- nosy: +loewis resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with success result.

2010-04-20 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Confirmed on FreeBSD-6.4/py3k. Threading causes the problem, the skip works here, too. -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8263

[issue5639] Support TLS SNI extension in ssl module

2010-04-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Too late for 2.7 now, but looks like a good idea. -- nosy: +pitrou priority: - normal stage: - patch review versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org

[issue3596] Provide a way to disable SSLv2 (or better yet, disable by default)

2010-04-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The new ciphers argument in trunk and py3k should do the trick, shouldn't it? Do note that starting with OpenSSL 1.0.0, SSLv2 is disabled by default when using the SSLv23 client method (you can re-enable it by specifying ALL for the cipher

[issue7927] SSL socket is not closed properly

2010-04-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Probably a duplicate of issue5238. -- nosy: +pitrou resolution: - duplicate status: open - closed superseder: - ssl makefile never closes socket ___ Python tracker rep...@bugs.python.org

[issue5238] ssl makefile never closes socket

2010-04-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +giampaolo.rodola versions: +Python 3.2 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5238 ___

[issue8109] Support for TLS Server Name Indication extension

2010-04-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Duplicate of issue5639. -- nosy: +pitrou resolution: - duplicate status: open - closed superseder: - Support TLS SNI extension in ssl module ___ Python tracker rep...@bugs.python.org

[issue1926] NNTPS support in nntplib

2010-04-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Removed file: http://bugs.python.org/file9298/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1926 ___ ___

[issue1926] NNTPS support in nntplib

2010-04-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Removed file: http://bugs.python.org/file9309/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1926 ___ ___

[issue8461] PythonLauncher universal build fails due to missing -arch and -sysroot

2010-04-20 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I've fixed this issue in all branches and can now do clean builds. BTW. Builds with the 10.4u SDK on OSX fail at the moment for 2.7 and 3.2, that's due to issue 7724, I've attached a patch to that issue that should fix it (for the

[issue4470] smtplib SMTP_SSL not working.

2010-04-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4470 ___

[issue7724] setup.py ignores SDK root on OSX

2010-04-20 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The attached patch (for the trunk) fixes this issue on my machine. The patch also fixes issue 8444. I wouldn't mind some review of the patch, it does affect core bits of setup.py. -- keywords: +needs review stage: needs patch -

[issue2987] RFC2732 support for urlparse (IPv6 addresses)

2010-04-20 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: I added an additional invalid test which David pointed out and made changes to invalid url checking code. I moved it more higher level. - The reason for doing this is, invalid url test code (which is very specific for '[' enclosed ']'

[issue8444] openssl version detection doesn't work properly when using OSX SDK

2010-04-20 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I've attached a patch that fixes this issue to issue 7724. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8444 ___

[issue4870] ssl module is missing SSL_OP_NO_SSLv2

2010-04-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: accepted - versions: +Python 3.2 -Python 2.6, Python 2.7, Python 3.0, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4870

  1   2   >