[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread Brian Quinlan
Brian Quinlan br...@sweetapp.com added the comment: Arian, This seems like such an unimportant edge case that I don't want to mess with the API just to accommodate it. If you really need to pass an fn keyword argument, use: .submit(foo, 1, 2, **{'fn': bar}) -- resolution: - wont

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10924 ___ ___

[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread Adrian Dries
Adrian Dries adr...@gmail.com added the comment: What now? Python 3.1.3 (r313:86834, Jan 17 2011, 22:33:40) [GCC 4.4.1] on linux2 Type help, copyright, credits or license for more information. def foo(f, **kw): ... pass ... foo(1, **{'f': 2}) Traceback (most recent call last): File

[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread Brian Quinlan
Brian Quinlan br...@sweetapp.com added the comment: Good point! I'd suggest functools.partial. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10918 ___

[issue10925] Document pure Python version of integer-to-float correctly-rounded conversion

2011-01-17 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: It would be helpful (perhaps to developers of alternative implementations) to give a pure Python version of correctly-rounded long-to-float conversion. Attached is such a version, as a patch to test_long in the release27-maint branch.

[issue10925] Document pure Python version of integer-to-float correctly-rounded conversion

2011-01-17 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- components: +Tests type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10925 ___

[issue1615158] POSIX capabilities support

2011-01-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1615158 ___

[issue9344] please add posix.getgrouplist()

2011-01-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9344 ___ ___

[issue10923] Python 2.7 hangs on Unicode+threading

2011-01-17 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10923 ___ ___ Python-bugs-list

[issue10921] imaplib: Internaldate2tuple() crashes, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10921 ___ ___ Python-bugs-list

[issue10926] Some Invalid Relative Imports succeed in Py 3.0 3.1 [ correctly fail in 3.2rc1]

2011-01-17 Thread Mark Summerfield
New submission from Mark Summerfield m...@qtrac.eu: I'm reporting this at Georg Brandl's suggestion. If you unpack the attached (tiny) tarball you get this directory structure: Graphics/ Graphics/Xpm.py Graphics/Vector/ Graphics/Vector/__init__.py Graphics/Vector/Svg.py Graphics/__init__.py

[issue10926] Some Invalid Relative Imports succeed in Py 3.0 3.1 [ correctly fail in 3.2rc1]

2011-01-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10926 ___ ___ Python-bugs-list

[issue10915] Make the PyGILState API compatible with multiple interpreters

2011-01-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Graham - the cases you describe are the things I was saying don't currently work in my post and wouldn't be helped by Antoine's patch. Your thoughts on how we could possibly make it work actually parallel mine (although there may be fun and

[issue10921] imaplib: Internaldate2tuple() crashes, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: docs@python - nosy: +belopolsky, r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10921 ___

[issue10921] imaplib: Internaldate2tuple() crashes, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10921 ___ ___ Python-bugs-list

[issue10914] Python sub-interpreter test

2011-01-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I like the idea of adding these tests as well. Probably worth bringing up on python-dev - folks like Tarek should definitely be able to help with alternative ways of building a test application for this. There is also always the possibility

[issue10915] Make the PyGILState API compatible with multiple interpreters

2011-01-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Graham - the cases you describe are the things I was saying don't currently work in my post and wouldn't be helped by Antoine's patch. Your thoughts on how we could possibly make it work actually parallel mine (although there may be fun and

[issue10926] Some Invalid Relative Imports succeed in Py 3.0 3.1 [ correctly fail in 3.2rc1]

2011-01-17 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10926 ___ ___ Python-bugs-list

[issue10914] Python sub-interpreter test

2011-01-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: There is also always the possibility of writing it in Python and using ctypes to get at the necessary C API calls to create subinterpreters. Well, I don't think calling Py_Initialize, Py_Finalize and Py_NewInterpreter from pure Python code is

[issue10926] Some Invalid Relative Imports succeed in Py 3.0 3.1 [ correctly fail in 3.2rc1]

2011-01-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Yeah, 7902 was a bug that tried to do an absolute import if an explicit relative import failed to find anything (i.e. it had inherited the old implicit relative import fallback, which was entirely inappropriate for the new use case). Since

[issue10927] Allow universal line endings in filecmp module

2011-01-17 Thread Geoffrey Bache
New submission from Geoffrey Bache gjb1...@users.sourceforge.net: It would be useful to compare the contents of two files while not caring what platform they were produced on, perhaps a universal_line_endings parameter to e.g. filecmp.cmp and possibly other methods. At the moment opening the

[issue10915] Make the PyGILState API compatible with multiple interpreters

2011-01-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Good point - consider that comment revised to refer to the GIL acquisition counter in the thread state struct. It may just be a matter of having ThreadState_Swap complain loudly if the gilstate_counter isn't set to a value it knows how to

[issue10923] Python 2.7 hangs on Unicode+threading

2011-01-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Please attach a simple script reproducing the perceived problem. -- components: +Library (Lib) -None nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10923

[issue10903] ZipExtFile:_update_crc fails for CRC = 0x80000000

2011-01-17 Thread arindam
arindam arindampa...@gmail.com added the comment: Attached test file a.zip. Happening with 2.7.1.3. The changes came with /python/branches/release27-maint/Lib/zipfile.py revision 83961 -- Added file: http://bugs.python.org/file20425/a.zip ___

[issue10926] Some Invalid Relative Imports succeed in Py 3.0 3.1 [ correctly fail in 3.2rc1]

2011-01-17 Thread Mark Summerfield
Mark Summerfield m...@qtrac.eu added the comment: I just installed 3.1.3 and it does indeed give the import error: Python 3.1.3 (r313:86834, Jan 17 2011, 16:29:46) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. from Graphics.Vector import * Traceback

[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Adrian's suggestions don't look to me like they fiddle with the API, but rather make the behavior match the documented API. The existing behavior is, IMO, a very surprising corner case, especially to a less experienced Python

[issue10928] Strange input processing

2011-01-17 Thread Kirill Bystrov
New submission from Kirill Bystrov kirrb...@gmail.com: I have written a simple script which evaluates some numeric expressions and faced a strange problem at some point. Some of these expressions cannot evaluate correctly. Here is an example: Python 2.7.1+ (r271:86832, Dec 24 2010, 10:03:35)

[issue10926] Some Invalid Relative Imports succeed in Py 3.0 3.1 [ correctly fail in 3.2rc1]

2011-01-17 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - relative import broken ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10926

[issue10928] Strange input processing

2011-01-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: 08 is an invalid octal literal. See http://docs.python.org/reference/lexical_analysis.html#integer-and-long-integer-literals -- nosy: +r.david.murray resolution: - invalid stage: - committed/rejected status: open - closed

[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Why is this surprising? def foo(c, c=None): ... pass ... File stdin, line 1 SyntaxError: duplicate argument 'c' in function definition In the previous examples, it finds the duplicate at run time instead of compile time due to

[issue2644] errors from msync ignored in mmap_object_dealloc

2011-01-17 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: I think this can be closed. msync() is only called in mmap.flush() and it is checked for an error. -- nosy: +rosslagerwall ___ Python tracker rep...@bugs.python.org

[issue10928] Strange input processing

2011-01-17 Thread Kirill Bystrov
Kirill Bystrov kirrb...@gmail.com added the comment: Sorry, i have really forgotten about these octals. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10928 ___

[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The reason that it is surprising is that the API is designed to allow an arbitrary function to be called, with whatever arguments and keyword arguments that function takes. The user of the API is not necessarily going to remember that

[issue10921] imaplib: Internaldate2tuple() crashes, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: 1. It crashes with KeyError. ... I assume this means it raises a KeyError when given a bytes object as an argument. Internaldate2tuple(b'INTERNALDATE 01-Jan-2000 12:00:00 +') Traceback (most recent call last):

[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Is this issue referring to something in Python's library, or a hypothetical function someone may write? If it's in the library, we can look at that case in more detail, otherwise, it's just a bad program design issue and there's

[issue10903] ZipExtFile:_update_crc fails for CRC = 0x80000000

2011-01-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Attached test file a.zip. Happening with 2.7.1.3. The changes came with /python/branches/release27-maint/Lib/zipfile.py revision 83961 I tested with 2.7.x and 3.2 (both from latest SVN) and couldn't reproduce (I used testzip() and

[issue10921] imaplib: Internaldate2tuple() crashes, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Joe Peterson j...@skyrush.com added the comment: I assume this means it raises a KeyError when given a bytes object as an argument. Yes, a KeyError is raised when arg is bytes, but passing a string also fails (raising TypeError). The latter might also be a separate bug, in that strings

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Yes, it's about the concurrent.futures 'submit' method: http://docs.python.org/dev/py3k/library/concurrent.futures.html#executor-objects I've updated the title to reflect this. There are other places in the stdlib affected by this, but

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: You forgot to add the new files to your patch. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10924 ___

[issue10927] Allow universal line endings in filecmp module

2011-01-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Duplicate of issue 6306. -- nosy: +r.david.murray resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - filecmp.cmp can not compare two files from different OS with the same content

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com added the comment: Oops, thanks. It's in there now, though for some reason I can't get this patch to apply to trunk, but I'll have to look at that later this afternoon. I wanted to get this new version up in the interim since it definitely does include the

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Sean Reifschneider
Changes by Sean Reifschneider j...@tummy.com: Removed file: http://bugs.python.org/file20422/python-underscore_crypt.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10924 ___

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread Adrian Dries
Adrian Dries adr...@gmail.com added the comment: The futures case is one example of a broader API design issue. Note also that 'self' is similarly restricted. You might think these are 'corner cases', but to me it is poor API design. There may well be a reasonable case for passing 'self' as

[issue10903] ZipExtFile:_update_crc fails for CRC = 0x80000000

2011-01-17 Thread arindam
arindam arindampa...@gmail.com added the comment: Able to get the issue with Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32 This is the latest version for 2.7.x Please try with the uploaded a.zip -- ___

[issue10903] ZipExtFile:_update_crc fails for CRC = 0x80000000

2011-01-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Able to get the issue with Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32 Ok, I tried with this exact version and I still can't reproduce. Can you explain which steps exactly are necessary to exhibit

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Name mangling applies only to attributes of classes, and so does not enter in to this issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10918

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: def submit(*args, **kwds): and picking out self and fn from *args might indeed be the most sensible solution here. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread Adrian Dries
Adrian Dries adr...@gmail.com added the comment: No, private mangling applies to any identifier in class-scope: Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15) [GCC 4.4.1] on linux2 Type help, copyright, credits or license for more information. class C: ... def f(__x): pass ... import

[issue10903] ZipExtFile:_update_crc fails for CRC = 0x80000000

2011-01-17 Thread arindam
arindam arindampa...@gmail.com added the comment: Legacy code in my module was setting zipfile.structCentralDir to 4s4B4H3l5H2L (was added to fix some issues with older version of python) was the root cause of this issue. Sorry, should have checked before filing. Thanks for your time. Sorry

[issue2644] errors from msync ignored in mmap_object_dealloc

2011-01-17 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: That was changed in r84950 from #2643. -- resolution: - out of date stage: unit test needed - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Adrian: you are correct of course, I was misremembering and did not check the docs. I prefer the other solution, though. -- ___ Python tracker rep...@bugs.python.org

[issue10917] PEP 333 link to CGI specification is broken

2011-01-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The age of core developers may surprise you. For the anecdote, I used to game and use Internet slang, and to me w00t == wut == what; I’ve never seen it used to mean “great”. -- assignee: docs@python - georg.brandl components:

[issue10929] telnetlib does not send FIN when self.close() issued

2011-01-17 Thread Joe Bennett
New submission from Joe Bennett jammer10...@ka3nam.com: Hi, am running Python 2.6.5 on Unbuntu 10.04 and am seeing no FIN when a self.close() is issued... I do see a reset issued, but it looks like some of the M$ servers do not appreciate on a reset and would like a graceful teardown... I

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com added the comment: I've made a new .patch file using diff -c rather than svn diff. This is the same code, but applies without manual intervention. -- Added file: http://bugs.python.org/file20428/python-underscore_crypt-3.patch

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Sean Reifschneider
Changes by Sean Reifschneider j...@tummy.com: Removed file: http://bugs.python.org/file20427/python-underscore_crypt-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10924 ___

[issue10923] Python 2.7 hangs on Unicode+threading

2011-01-17 Thread Piotr Maślanka
Piotr Maślanka piotr.masla...@henrietta.com.pl added the comment: I ripped some stuff from the project I'm working on, undependencing it on any my libraries. Can someone with similar conf(Win7 x86-64, Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32)

[issue8846] cgi.py bug report + fix: tailing carriage return and newline characters in multipart cgi input broken

2011-01-17 Thread Andre Wobst
Andre Wobst wob...@users.sourceforge.net added the comment: I just declare this bug to be a duplicate of #4953. Due to the recent fix r87998 of the cgi module my extended/corrected testcases attached in this bug report now pass. -- resolution: - duplicate status: open - closed

[issue10911] cgi: add more tests

2011-01-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also #8846: Andre Wobst wrote other tests. -- nosy: +wobsta ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10911 ___

[issue10929] telnetlib does not send FIN when self.close() issued

2011-01-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: telnetlib closes the socket, which in turn calls the OS level socket close function. What happens after that is up to the OS tcp/ip stack, and is not under Python's control. So if there is a bug here it isn't in Python. --

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Nicolas Dumazet
Nicolas Dumazet nicd...@gmail.com added the comment: Hello, 1) Can you please avoid putting several statements in the same line? 2) wouldnt it be better to compute only once the contents of methods()? I'm not sure that module-initialization time is okay for CPython, but at the very least you

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-01-17 Thread Garrett Cooper
Garrett Cooper yaneg...@gmail.com added the comment: Sorry -- got off-track for a while. I assume these should go into Lib/test/test_os.py ? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8746

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Joe Peterson j...@skyrush.com added the comment: Added fix for ParseFlags (another string/bytes issue) and now accept strings as args to ParseFlags and Internaldate2tuple. Also added unit tests for changes. -- assignee: - docs@python components: +Tests title: imaplib:

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-01-17 Thread Ned Deily
Ned Deily n...@acm.org added the comment: There is an existing test_lchflags in Lib/test/test_posix.py. Additional test cases should go there. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8746

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Changes by Joe Peterson j...@skyrush.com: Removed file: http://bugs.python.org/file20420/imaplib_Internaldate2tuple.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10921 ___

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Changes by Joe Peterson j...@skyrush.com: Removed file: http://bugs.python.org/file20430/imaplib_Internaldate2tuple_python32.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10921 ___

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Changes by Joe Peterson j...@skyrush.com: Added file: http://bugs.python.org/file20431/imaplib_Internaldate2tuple_python32.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10921 ___

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-01-17 Thread Garrett Cooper
Garrett Cooper yaneg...@gmail.com added the comment: On Mon, Jan 17, 2011 at 5:11 PM, Ned Deily rep...@bugs.python.org wrote: Ned Deily n...@acm.org added the comment: There is an existing test_lchflags in Lib/test/test_posix.py.  Additional test cases should go there. Ok, but again this

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Changes by Joe Peterson j...@skyrush.com: Removed file: http://bugs.python.org/file20426/imaplib_Internaldate2tuple_python27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10921 ___

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Changes by Joe Peterson j...@skyrush.com: Added file: http://bugs.python.org/file20432/imaplib_Internaldate2tuple_python27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10921 ___

[issue4892] Sending Connection-objects over multiprocessing connections fails

2011-01-17 Thread Tim Alexander
Tim Alexander dragonfyr...@gmail.com added the comment: Wanted to quickly comment here, as I'm dealing with this issue as well, that I did find a workaround for avoiding it as far back as 2.6 (and it's not don't pass a Pipe through a Pipe) multiprocessing.reduction can already do this, though

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: There are at least 3 issues here: a documentation issue, a py3k bug and at least one feature request. Given that the logistics are different for different kinds of issues, I think it would be best to split them on the

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Here is the whole method for reference... def submit(self, fn, *args, **kwargs): with self._shutdown_lock: if self._shutdown_thread: raise RuntimeError('cannot schedule new futures after

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Change... are never unpacked within submit. to... Are completely separate. It's the attempt to mix two function signatures together as one, that was/is the problem. -- ___

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Joe Peterson j...@skyrush.com added the comment: There are at least 3 issues here: a documentation issue, a py3k bug and at least one feature request. Which is a feature request? In these patches, I am attempting to fix the DST problems and regain the previous behavior in Python 2. Are you

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2011-01-17 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Backported to 2.7 in r88090 (to appear in 2.7.2). (I decided to not backport to 3.1 as some prereq backports would be needed and we do not supply a 64-bit OS X installer for 3.1.x anyway.) -- assignee: ronaldoussoren - ned.deily resolution: -

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com added the comment: Thanks for the review. Attached is a new version of the patch. 1) Done. 2) Good point, I didn't think of that. I've changed it into a class that stores the methods list, and made the module methods point to that method on an instance of

[issue4681] mmap offset should be off_t instead of ssize_t, and size calculation needs corrected

2011-01-17 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Attached is a fix to make offset use off_t. This means that mmap will work with offset 2GB on 32bit systems. It also fixes that mmap.size() returns the correct value for files 2GB on 32bit systems. The first issue of msg78055 was

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The current submit definition doesn't allow that, and pulling out self, and fn, would not be correct either. It would if they are pulled from *args. The only difference to now is that you cannot give the self and fn args as keyword args