[issue4616] tarfile does not set the creation date and time of the extracted directories
Martin v. Löwis [EMAIL PROTECTED] added the comment: I still cannot reproduce this: [EMAIL PROTECTED]:/tmp/h$ ls -l insgesamt 12 -rw-r--r-- 1 martin martin 172 10. Dez 08:40 directory.tar -rw-r--r-- 1 martin martin 1497 25. Feb 2008 pack.py -rw-r--r-- 1 martin martin 1129 10. Dez 08:58 testcase.zip [EMAIL PROTECTED]:/tmp/h$ date Mi 10. Dez 09:02:49 CET 2008 [EMAIL PROTECTED]:/tmp/h$ python pack.py unpack directory.tar Unpack done. [EMAIL PROTECTED]:/tmp/h$ ls -l insgesamt 16 drwxrwxrwx 2 martin martin 4096 10. Dez 08:38 directory -rw-r--r-- 1 martin martin 172 10. Dez 08:40 directory.tar -rw-r--r-- 1 martin martin 1497 25. Feb 2008 pack.py -rw-r--r-- 1 martin martin 1129 10. Dez 08:58 testcase.zip As you can see, directory is dated 8:38, even though the current time is 9:02. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4616 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4342] (Tkinter) Please backport these
Martin v. Löwis [EMAIL PROTECTED] added the comment: I'm skeptical about backporting r59654. Doing so might break existing applications. -- nosy: +loewis ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4342 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4342] (Tkinter) Please backport these
Martin v. Löwis [EMAIL PROTECTED] added the comment: Can you remind me what problem was fixed with r59653? I can't find the Tk tracker anymore on which this apparently was reported. If it fixes a problem with supporting Tcl 8.5, then I will also reject the request. Supporting Tcl 8.5 is a new feature, and should thus not be added to 2.5.3. Only Tcl up to 8.4 is support by Python 2.5. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4342 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4533] 3.0 file.read dreadfully slow
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: release blocker - deferred blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4533 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4532] Fails to build on QNX 6.3.2
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: release blocker - normal ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4532 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4449] AssertionError in Doc/includes/mp_benchmarks.py
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: release blocker - deferred blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4449 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4565] io write() performance very slow
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: release blocker - deferred blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4565 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4561] Optimize new io library
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: release blocker - deferred blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4561 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1717] Get rid of more refercenes to __cmp__
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: release blocker - deferred blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1717 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4604] close() seems to have limited effect
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: release blocker - deferred blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4604 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4303] [2.5 regression] ctypes fails to build on arm-linux-gnu
Martin v. Löwis [EMAIL PROTECTED] added the comment: Thomas, do you have an idea what might be causing this problem, or a proposal how to resolve it? -- nosy: +loewis ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4303 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2810] _winreg.EnumValue fails when the registry data includes multibyte unicode characters
Martin v. Löwis [EMAIL PROTECTED] added the comment: IIUC, no fix for this bug has been proposed, so the issue is no candidate for 2.5.3. -- versions: -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2810 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3924] cookielib chokes on non-integer cookie version, should ignore it instead
Martin v. Löwis [EMAIL PROTECTED] added the comment: As the patch hasn't been applied to the trunk yet, I'm rejecting it for 2.5.3. -- nosy: +loewis versions: -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3924 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4212] email.LazyImporter does not use absolute imports
Martin v. Löwis [EMAIL PROTECTED] added the comment: No patch has been proposed, so the issue is not eligible for 2.5.3. -- nosy: +loewis versions: +Python 2.6 -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4212 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4222] dis.findlinestarts is missing from dis.__all__ and from the online documentation
Martin v. Löwis [EMAIL PROTECTED] added the comment: Such a change is out of scope for maintenance releases (in any case, no resolution has been proposed, yet). -- nosy: +loewis versions: +Python 2.7 -Python 2.4, Python 2.5, Python 2.5.3, Python 2.6 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4222 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4177] Crash in MIMEText on FreeBSD
Martin v. Löwis [EMAIL PROTECTED] added the comment: IIUC, no patch has been proposed. So retargetting it to later versions. -- nosy: +loewis versions: +Python 2.7 -Python 2.5, Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4177 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4228] struct.pack('L', -1)
Martin v. Löwis [EMAIL PROTECTED] added the comment: Can you provide a fix within the next two days? Otherwise, I see little chance that this gets fixed in 2.5. -- nosy: +loewis ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4228 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4259] Update pydoc URLs
Martin v. Löwis [EMAIL PROTECTED] added the comment: The patch is fine; please apply. -- assignee: - akuchling nosy: +loewis priority: - release blocker resolution: - accepted ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4259 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4278] optparse quirks
Martin v. Löwis [EMAIL PROTECTED] added the comment: No patch proposed yet, so retargetting to trunk. -- nosy: +loewis versions: +Python 2.7 -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4278 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4071] ntpath.abspath fails for long str paths
Martin v. Löwis [EMAIL PROTECTED] added the comment: ocean-city, can you please backport this to the 2.5 branch? -- assignee: - ocean-city nosy: +loewis priority: - release blocker resolution: - accepted ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4071] ntpath.abspath fails for long str paths
Martin v. Löwis [EMAIL PROTECTED] added the comment: As a follow-up: please don't forget to add Misc/NEWS entries (both for the already-committed patch, as well as for the backport). ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4185] re module treats raw strings as normal strings
Martin v. Löwis [EMAIL PROTECTED] added the comment: IIUC, there is no proposed patch yet, so this is out of scope for 2.5.3. -- nosy: +loewis versions: -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4185 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4302] smtplib.py initialisation defect
Martin v. Löwis [EMAIL PROTECTED] added the comment: Backporting is fine with me: any volunteers? -- priority: - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4302 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2996] IDLE find in files output not formatted optimally
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2996 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4616] tarfile does not set the creation date and time of the extracted directories
Horváth István Róbert [EMAIL PROTECTED] added the comment: Sorry, I thought that by selecting component Windows from the first combo box I specify that this problem occurs on a windows machine. I run win xp sp2. As you can see in the screenshot, the unpacked directory has the current date and time. Added file: http://bugs.python.org/file12315/python_tarfile_win.JPG ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4616 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4616] tarfile does not set the creation date and time of the extracted directories
Changes by Horváth István Róbert [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file12315/python_tarfile_win.JPG ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4616 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3248] ScrolledText can't be placed in a PanedWindow
Martin v. Löwis [EMAIL PROTECTED] added the comment: What problem is solved by ScrolledText.diff that isn't already solved by scrolledtext_masterstr.diff? -- nosy: +loewis priority: - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3248 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3767] tkColorChooser may fail if no color is selected
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3767 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4616] tarfile does not set the creation date and time of the extracted directories
Changes by Horváth István Róbert [EMAIL PROTECTED]: Added file: http://bugs.python.org/file12316/python_tarfile_win.JPG ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4616 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4379] Py_SAFE_DOWNCAST in FILE_TIME_to_time_t_nsec failing
Martin v. Löwis [EMAIL PROTECTED] added the comment: IIUC, the patch relies on VS 2008. So it is not a candidate for 2.5.3. -- nosy: +loewis versions: +Python 2.6, Python 2.7 -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4379 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4328] à in ufoo raises a misleading error
Martin v. Löwis [EMAIL PROTECTED] added the comment: No patch has been proposed yet, so un-targetting for bugfix branches. -- nosy: +loewis versions: -Python 2.4, Python 2.5, Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4328 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4416] state_reset not called on 'state' before sre_search invoked
Martin v. Löwis [EMAIL PROTECTED] added the comment: Can you provide a test case demonstrating a problem? -- nosy: +loewis versions: +Python 2.7 -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4416 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4446] Distutils Metadata Documentation Missing platforms Keyword
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4446 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1533] Bug in range() function for large values
Martin v. Löwis [EMAIL PROTECTED] added the comment: This change is out of scope for 2.5.3 (plus, the desired behavior still seems to be debated) -- nosy: +loewis versions: -Python 2.5, Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1533 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4508] distutils compiler not handling spaces in path to output/src files
Martin v. Löwis [EMAIL PROTECTED] added the comment: The patch hasn't been accepted for the trunk, yet, so it is not a candidate for a 2.5 backport. -- nosy: +loewis versions: -Python 2.1.1, Python 2.1.2, Python 2.2, Python 2.2.1, Python 2.2.2, Python 2.2.3, Python 2.3, Python 2.4, Python 2.5, Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4508 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4197] Doctest module does not work with zipped packages
Martin v. Löwis [EMAIL PROTECTED] added the comment: The precise solution still seems to be debated, so this is out of scope for 2.5.3. -- nosy: +loewis versions: -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4197 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4201] Pdb cannot access source code in zipped packages.
Martin v. Löwis [EMAIL PROTECTED] added the comment: The patch hasn't been accepted for the trunk, yet, so it is out of scope for 2.5.3. Retargetting. -- nosy: +loewis versions: +Python 2.7 -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4201 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4368] A bug in ncurses.h still exists in FreeBSD 4.9 - 4.11
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4368 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4567] Registry key not set if unattended installation used
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4567 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4568] Improved optparse varargs callback example
Martin v. Löwis [EMAIL PROTECTED] added the comment: The 2.5 documentation is not in .rst, so I remove these versions. -- nosy: +loewis versions: -Python 2.5, Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4568 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4335] inspect.getsourcelines ignores last line in module
Martin v. Löwis [EMAIL PROTECTED] added the comment: The patch has not been accepted for the trunk, so backporting it to 2.5.3 is out of scope at this point. -- nosy: +loewis versions: -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4335 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4220] Builtins treated as free variables?
Martin v. Löwis [EMAIL PROTECTED] added the comment: There is no proposed patch yet, so this is out of scope for 2.5.3. -- nosy: +loewis versions: -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4220 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue416670] MatchObjects not deepcopy()able
Martin v. Löwis [EMAIL PROTECTED] added the comment: As far as I can tell, there is no proposed patch. So this is out of scope for 2.5.3. -- versions: -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue416670 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4555] Smelly exports
Martin v. Löwis [EMAIL PROTECTED] added the comment: There is no proposed patch yet, so removing 2.5.3 from the target versions. -- versions: -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4555 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4084] Decimal.max(NaN, x) gives incorrect results when x is finite and long
Martin v. Löwis [EMAIL PROTECTED] added the comment: Unless Facundo or some of the other decimal contributors reviews and applies this patch really quickly, it is out of scope for 2.5.3. -- nosy: +loewis ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4084 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue858809] Use directories from configure rather than hardcoded
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- versions: -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue858809 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1706039] Added clearerr() to clear EOF state
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: normal - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1706039 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1711800] SequenceMatcher bug with insert/delete block after replace
Martin v. Löwis [EMAIL PROTECTED] added the comment: Without a patch, this is not a candidate for 2.5.3. -- nosy: +loewis versions: +Python 2.7 -Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1711800 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1040026] os.times() is bogus
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: normal - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1040026 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1040026] os.times() is bogus
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- keywords: -easy ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1040026 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3863] 2.6rc1: test_threading hangs on FreeBSD 6.3 i386
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: high - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3863 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1868] threading.local doesn't free attrs when assigning thread exits
Martin v. Löwis [EMAIL PROTECTED] added the comment: Since no specific patch was proposed for 2.5.3, I'm untargetting it for 2.5. -- versions: -Python 2.5, Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1868 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4616] tarfile does not set the creation date and time of the extracted directories
Martin v. Löwis [EMAIL PROTECTED] added the comment: Can you debug this? Where specifically does the problem occur? -- assignee: - lars.gustaebel nosy: +lars.gustaebel ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4616 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4303] [2.5 regression] ctypes fails to build on arm-linux-gnu
Thomas Heller [EMAIL PROTECTED] added the comment: Is this really a regression? I do not think so; the libffi library included with the Python 2.5 ctypes does not support closures on the arm. See file Modules/_ctypes/libffi/src/arm/ffitarget.h, it contains '#define FFI_CLOSURES 0'. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4303 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4071] ntpath.abspath fails for long str paths
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: can you please backport this to the 2.5 branch? Sorry for clarification. Which should I backport r67154 or quick_hack_for_getfullpathname_v2.patch? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4303] [2.5 regression] ctypes fails to build on arm-linux-gnu
Martin v. Löwis [EMAIL PROTECTED] added the comment: The question is whether it used to build in 2.5.2, but doesn't build anymore now. If that's what happening, it is a regression. It seems that ffi_info moved into ctypes.h: could that have caused the breakage? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4303 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4613] Can't figure out where SyntaxError: can not delete variable 'x' referenced in nested scope us coming from in python shows no traceback
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: I think I understand. This simple code does not compile with python 3.0: def f(): e = None def g(): e try: pass except Exception as e: pass # SyntaxError here??? The reason is that since 3.0, a del e statement is generated by the compiler (see http://www.python.org/dev/peps/pep-3110/#semantic-changes) and this conflicts with the first block of the function. This issue is much more complicated than it seemed... A solution could be to generate e=None instead of del e. -- priority: - critical ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4613 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4610] Unicode case mappings are incorrect
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment: Python uses the Unicode database for the mapping and this only contains 1-1 mappings. The special cases (mostly 1-2 mappings) are not included. It would be nice to have them available as well, but I guess we'd have to write them in code rather than invent a new mapping table for them. Furthermore, there are a few cases like e.g. the Turkish i where case mappings depend on external context such as the language the code point is used in - those cases are difficult to get right. We may need to extend the .lower()/.upper()/.title() methods with an optional parameter that allow providing this extra context information to the methods. BTW: 'ß' is being phased out in German. The new writing rules encourage using 'ss' or 'SS' instead (which is not entirely correct, since 'ß' originated from 'sz' used some hundred or so years ago, but those are just details ;-). -- nosy: +lemburg ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4610 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4302] smtplib.py initialisation defect
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: I will backport this. -- assignee: - ocean-city ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4302 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4302] smtplib.py initialisation defect
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: Done. Fixed in r67686 (release25-maint). -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4302 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1711800] SequenceMatcher bug with insert/delete block after replace
Raymond Hettinger [EMAIL PROTECTED] added the comment: Tim, any comments or interest? -- assignee: - tim_one nosy: +rhettinger, tim_one ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1711800 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4616] tarfile does not set the creation date and time of the extracted directories
Lars Gustäbel [EMAIL PROTECTED] added the comment: Directory times are explicitly not set. The comment in TarFile.utime() says that it is an error on Windows to use utime on directories. I am no Windows expert, so I don't know if that is still true. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4616 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4580] slicing of memoryviews when itemsize != 1 is wrong
Nick Coghlan [EMAIL PROTECTED] added the comment: The reason memoryview's current len() implementation is wrong is because its indexing is per element in the original object, not per byte: a = array('i', range(10)) m = memoryview(a) for i in range(len(m)): ... print(m[i]) ... b'\x00\x00\x00\x00' b'\x01\x00\x00\x00' b'\x02\x00\x00\x00' b'\x03\x00\x00\x00' b'\x04\x00\x00\x00' b'\x05\x00\x00\x00' b'\x06\x00\x00\x00' b'\x07\x00\x00\x00' b'\x08\x00\x00\x00' b'\t\x00\x00\x00' Traceback (most recent call last): File stdin, line 2, in module IndexError: index out of bounds Oops. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4616] tarfile does not set the creation date and time of the extracted directories
Horváth István Róbert [EMAIL PROTECTED] added the comment: Wooow, you're fast! :-) We use Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32, so that will help us! Thank you, Robert On Wed, Dec 10, 2008 at 12:04 PM, Lars Gustäbel [EMAIL PROTECTED]wrote: Lars Gustäbel [EMAIL PROTECTED] added the comment: Apparently it is not. os.utime() was fixed for Windows in Python 2.5 (r45925), so it should be possible for tarfile to set directory times now. I will prepare a patch. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4616 ___ Added file: http://bugs.python.org/file12317/unnamed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4616 ___Wooow, you#39;re fast! :-)brbrWe use Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32, so that will help us!brbrThank you,brRobertbrbrdiv class=gmail_quoteOn Wed, Dec 10, 2008 at 12:04 PM, Lars Gustäbel span dir=ltrlt;a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/agt;/span wrote:br blockquote class=gmail_quote style=border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;div class=Ih2E3dbr Lars Gustäbel lt;a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/agt; added the comment:br br /divApparently it is not. os.utime() was fixed for Windows in Python 2.5br (r45925), so it should be possible for tarfile to set directory timesbr now. I will prepare a patch.br divdiv/divdiv class=Wj3C7cbr ___br Python tracker lt;a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/agt;br lt;a href=http://bugs.python.org/issue4616; target=_blankhttp://bugs.python.org/issue4616/agt;br ___br /div/div/blockquote/divbr ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4617] SyntaxError when free variable name is also an exception target
New submission from Amaury Forgeot d'Arc [EMAIL PROTECTED]: This issue comes from issue4613. The following code raises a SyntaxError(can not delete variable 'e' referenced in nested scope): def f(): e = None def g(): e try: pass except Exception as e: pass # SyntaxError here??? The reason is because of http://www.python.org/dev/peps/pep-3110/#semantic-changes, a del e statement is inserted. The above code is correct, and should work. I suggest that the limitation: can not delete variable referenced in nested scope could be removed. After all, the variable referenced has no value before it is set, accessing it raises either NameError(free variable referenced before assignment in enclosing scope) or UnboundLocalError(local variable referenced before assignment) The Attached patch adds a DELETE_DEREF opcode, that removes the value of a cell variable, and put it in a before assignment state. Some compiler experts should review it. Few regressions are possible, since the new opcode is emitted where a SyntaxError was previously raised. The patch could also be applied to 2.7, even if it is less critical there. Tests are to come, but I'd like other's suggestions. -- files: delete_deref.patch keywords: needs review, patch messages: 77536 nosy: amaury.forgeotdarc priority: release blocker severity: normal status: open title: SyntaxError when free variable name is also an exception target versions: Python 2.7, Python 3.0 Added file: http://bugs.python.org/file12318/delete_deref.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4617 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4580] slicing of memoryviews when itemsize != 1 is wrong
Nick Coghlan [EMAIL PROTECTED] added the comment: Regarding ndim 0 and shape=NULL, the PEP doesn't allow it. Any code that does it is already broken - we're just making it fail cleanly at the point where it is broken rather than in some obscure fashion somewhere else. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4613] Can't figure out where SyntaxError: can not delete variable 'x' referenced in nested scope us coming from in python shows no traceback
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: I filed issue4617 about the hidden del e problem. Meanwhile, you may try to change some variable names, specially the exception target (the 'e' in 'except Exception as e') -- assignee: - amaury.forgeotdarc priority: critical - normal ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4613 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4580] slicing of memoryviews when itemsize != 1 is wrong
Antoine Pitrou [EMAIL PROTECTED] added the comment: Thanks for your two messages, Nick, they make things clearer for me and I'll make the necessary modifications in the patch some time today. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4616] tarfile does not set the creation date and time of the extracted directories
Lars Gustäbel [EMAIL PROTECTED] added the comment: Apparently it is not. os.utime() was fixed for Windows in Python 2.5 (r45925), so it should be possible for tarfile to set directory times now. I will prepare a patch. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4616 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4618] print_function and unicode_literals don't work together
New submission from Jean-Paul Calderone [EMAIL PROTECTED]: Consider: [EMAIL PROTECTED]:~$ ~/Projects/python/branches/release26-maint/python Python 2.6+ (trunk:66997, Oct 23 2008, 16:02:09) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type help, copyright, credits or license for more information. def f(o): ... print type(o) ... f('foo') type 'str' from __future__ import unicode_literals f('foo') type 'unicode' from __future__ import print_function print('foo') foo from io import StringIO print('foo', file=StringIO()) Traceback (most recent call last): File stdin, line 1, in module File /home/exarkun/Projects/python/branches/release26-maint/Lib/io.py, line 1487, in write s.__class__.__name__) TypeError: can't write str to text stream StringIO().write('foo') 3 StringIO().write(b'foo') Traceback (most recent call last): File stdin, line 1, in module File /home/exarkun/Projects/python/branches/release26-maint/Lib/io.py, line 1487, in write s.__class__.__name__) TypeError: can't write str to text stream It seems the type of a literal string is `str´ when it is an argument to the print function, even with the unicode_literals future import in effect. -- components: Interpreter Core messages: 77539 nosy: exarkun severity: normal status: open title: print_function and unicode_literals don't work together versions: Python 2.6 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4618 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4618] print_function and unicode_literals don't work together
STINNER Victor [EMAIL PROTECTED] added the comment: The TypeError(can't write str to text stream) comes from the newline written by builtin_print(). Workaround: print(ufoo, end=u\n, file=StringIO()). -- nosy: +haypo ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4618 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4303] [2.5 regression] ctypes fails to build on arm-linux-gnu
Thomas Heller [EMAIL PROTECTED] added the comment: It seems that ffi_info moved into ctypes.h: could that have caused the breakage? Not sure what you mean exactly (there is no ffi_info in ctypes.h), but I assume you are referring to svn rev. 62504? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4303 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4619] Invalid Behaviour When a Default Argument is a Mutable Object
Christian Heimes [EMAIL PROTECTED] added the comment: No, it is NOT a bug. The behavior will NOT chance. I'm marking this bug as a documentation issue. -- assignee: - georg.brandl components: +Documentation -Interpreter Core nosy: +georg.brandl versions: +Python 2.6, Python 2.7, Python 3.1 -Python 2.4, Python 2.5 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4619 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4620] Memory leak with datetime used with time.strptime
New submission from BEGUE [EMAIL PROTECTED]: When I use the following line in my process (my process run these line each 10 seconds), memory size increases progressively : myDate = datetime.datetime(*(time.strptime(dateString, %Y-%m-%dT%H:%M:%S)[0:6])) the '*' operator unpacks the tuple, producing the argument list for datetime.datetime but it seems that the structure return by time.strptime is not correctly flushed in memory. -- components: None messages: 77543 nosy: sebegue severity: normal status: open title: Memory leak with datetime used with time.strptime type: resource usage versions: Python 2.5 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4620 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2734] 2to3 converts long(itude) argument to int
Reto Schüttel [EMAIL PROTECTED] added the comment: This is even worse in case of attributes (like in pyephem for the observer object): class Foo(object): def __init__(self): self.long = 1 x = Foo() print x.long 2to3 produces: --- attr.py (original) +++ attr.py (refactored) @@ -1,6 +1,6 @@ class Foo(object): def __init__(self): -self.long = 1 +self.int = 1 x = Foo() -print x.long +print(x.int) I think 2to3 shouldn't refactor any attribute names. I doubt anybody would access the type long using an attribute :). Cheers, Reto -- nosy: +retoo ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2734 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2734] 2to3 converts long(itude) argument to int
Changes by Robin Stocker [EMAIL PROTECTED]: -- nosy: +robin.stocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2734 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4619] Invalid Behaviour When a Default Argument is a Mutable Object
Grégoire Weber [EMAIL PROTECTED] added the comment: I'd like to second rhr. The current behaviour is is not according to Pythons design principle of least surprise. After 5+ years of Python experience as Zope and Plone developer I recently fell into that trap. - Just for information (Discussion thread on a Pre-PEP started Feb 14, 2007: http://mail.python.org/pipermail/python-3000/2007-February/005704.html The BDFL statement to this: http://mail.python.org/pipermail/python-3000/2007-February/005715.html -- nosy: +gregweb ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4619 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4598] IDLE not opening
Elizabeth Chang [EMAIL PROTECTED] added the comment: It is working now though so there is no error message anymore. I had to move tk and tcl Python25/Lib. When I hadn't done that, it said it was looking for tk8.4 under a series of directories and it didn't find it. When I moved tk8.4 folder to under Python25/Lib, it complained about not being able to find tcl8.4. So I found that directory under Python25/Tcl and moved it to Python25/Lib. - Elizabeth ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4598 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4580] slicing of memoryviews when itemsize != 1 is wrong
Travis Oliphant [EMAIL PROTECTED] added the comment: I will take some time in the next week to look at this issue. Thank you for bringing these bugs to my attention. I did not finish the memoryview implementation, due to other demands on my time. I appreciate the efforts of so many to pick up and understand the PEP and contribute code. I've noticed some incorrect statements being passed around, and I apologize for not providing a perspective on them. I hope there is a clear distinction between the buffer protocol and the memoryview object. The buffer protocol was thought through fairly well, but the memoryview object has not received the same attention. My mental model of the memoryview object is basically an (enhanced) NumPy array without the math support. It does not suprise me that there are a few remaining issues in the memoryview object. However, I'm confident they can be cleared up. A few changes to the code were made by others without changing the PEP. I accept responsibility for this because people were cleaning up what I should have already finished. All the help is appreciated. I will review the patches and fix the problem. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4580] slicing of memoryviews when itemsize != 1 is wrong
Travis Oliphant [EMAIL PROTECTED] added the comment: My perspective on statements made: * Memoryview object should report it's length as self-view.shape[0] unless self-view.shape is NULL (indicating in this case a 0-d array or scalar). In this case, it should raise an error. * The buffer protocol is clear about who owns the memory for shape and strides (and suboffsets). The exporter does and it is responsible for not changing them until releasebuffer is called. * It should also be clear that shape, strides, and suboffsets will be NULL in exactly two cases 1) The corresponding flag was not set indicating the consumer is not interested in shape, strides, or suboffsets 2) ndim == 0 indicating a 0-dimensional array (scalar-like). ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4619] Invalid Behaviour When a Default Argument is a Mutable Object
David W. Lambert [EMAIL PROTECTED] added the comment: Mutable function arguments and class variables are python's mechanisms to provide data persistence at these scope levels. Quite opposite of design flaw, they are necessary! Write a decorator to change the behavior where you'd like an empty mutable defaults if you're not happy with other methods already described. -- nosy: +LambertDW ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4619 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4620] Memory leak with datetime used with time.strptime
Skip Montanaro [EMAIL PROTECTED] added the comment: Can you reproduce this with a script that does nothing more than while True: myDate = datetime.datetime(*(time.strptime(2008-12-10T14:00:03, %Y-%m-%dT%H:%M:%S)[:6])) I tried with both Python 2.4.5 on Solaris and Python built from CVS (aka 2.7a0) on my Mac and see no memory growth of the processes. If there's a memory leak my guess is that it is somewhere else. -- nosy: +skip.montanaro ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4620 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4620] Memory leak with datetime used with time.strptime
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Tried it with Python 2.5.2 on WinXP, I see no memory growth either. -- nosy: +quentin.gallet-gilles ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4620 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4580] slicing of memoryviews when itemsize != 1 is wrong
Travis Oliphant [EMAIL PROTECTED] added the comment: Another comment on statements made * I don't see where array.array getbuf implementation is broken. It looks correct to me. It sets view.shape to NULL unless the consumer asked for the shape information to be reported in which case it sets it equal to a pointer to the number of elements in the array. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4580] slicing of memoryviews when itemsize != 1 is wrong
Antoine Pitrou [EMAIL PROTECTED] added the comment: * I don't see where array.array getbuf implementation is broken. It looks correct to me. It sets view.shape to NULL unless the consumer asked for the shape information to be reported in which case it sets it equal to a pointer to the number of elements in the array. What I meant by that is that array.array frequently bypasses its own resize helper and calls PyMem_Resize directly instead. This is the likely cause of #4583. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4621] zipfile returns string but expects binary
New submission from Francesco Ricciardi [EMAIL PROTECTED]: Each entry of a zip file, as read by the zipfile module, can be accessed via a ZipInfo object. The filename attribute of ZipInfo is a string. However, the read method of a ZipFile object expects a binary as argument, or at least this is what I can deduct from the following behavior: import zipfile testzip = zipfile.ZipFile('test.zip') t1 = testzip.infolist()[0] t1.filename 'tést.xml' data = testzip.read(testzip.infolist()[0]) Traceback (most recent call last): File stdin, line 1, in module File C:\Python30\lib\zipfile.py, line 843, in read return self.open(name, r, pwd).read() File C:\Python30\lib\zipfile.py, line 883, in open % (zinfo.orig_filename, fname)) zipfile.BadZipfile: File name in directory 'tést.xml' and header b't\x82st.xml' differ. The test.zip file is attached as help in reproducing this error. -- components: Library (Lib) files: test.zip messages: 77555 nosy: francescor severity: normal status: open title: zipfile returns string but expects binary type: behavior versions: Python 3.0 Added file: http://bugs.python.org/file12319/test.zip ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4621 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4617] SyntaxError when free variable name is also an exception target
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- priority: release blocker - deferred blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4617 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3166] Make conversions from long to float correctly rounded.
Mark Dickinson [EMAIL PROTECTED] added the comment: Minor cleanup of long_as_double2.patch. Added file: http://bugs.python.org/file12320/long_as_double2.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3166 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3166] Make conversions from long to float correctly rounded.
Changes by Mark Dickinson [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file12312/long_as_double2.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3166 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4303] [2.5 regression] ctypes fails to build on arm-linux-gnu
Martin v. Löwis [EMAIL PROTECTED] added the comment: That's the revision I meant, yes. It seems that ffi_info just got renamed, so I misread the change. In any case, it's (now) unclear how this did compile before, as ffi_closure was always referenced in ctypes.h... ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4303 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4303] [2.5 regression] ctypes fails to build on arm-linux-gnu
Martin v. Löwis [EMAIL PROTECTED] added the comment: Unfortunately, the ARM buildbot is down right now, so no tests can be performed. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4303 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4622] SequenceMatcher bug with long sequences
New submission from eliben [EMAIL PROTECTED]: Here's a reproduction of the error: Python 2.5.2 (r252:60911, Oct 20 2008, 09:11:31) [GCC 3.4.6 20060404 (Red Hat 3.4.6-10)] on linux2 Type help, copyright, credits or license for more information. import difflib difflib.SequenceMatcher(None, [4] + [5] * 200, [5] * 200).ratio() 0.0 ratio() should be returning close to 1.0 here, not 0. This is only a problem for sequences longer than 200. The analogous run for 100: difflib.SequenceMatcher(None, [4] + [5] * 100, [5] * 100).ratio() 0.99502487562189057 I've managed to reproduce it on Linux, Windows (AS 2.5.2) and Try Python (http://try-python.mired.org/) -- components: Library (Lib) messages: 77559 nosy: eliben severity: normal status: open title: SequenceMatcher bug with long sequences versions: Python 2.5 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4622 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4580] slicing of memoryviews when itemsize != 1 is wrong
Antoine Pitrou [EMAIL PROTECTED] added the comment: New patch addressing the above issues. You can also review it at http://codereview.appspot.com/10441 Added file: http://bugs.python.org/file12321/issue4580-2.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4580 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4622] SequenceMatcher bug with long sequences
David W. Lambert [EMAIL PROTECTED] added the comment: Python 3.0rc1+ similar. -- nosy: +LambertDW versions: +Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4622 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4185] re module treats raw strings as normal strings
Guido van Rossum [EMAIL PROTECTED] added the comment: Eh? It's just a doc bug now. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4185 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2734] 2to3 converts long(itude) argument to int
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: collinwinter - benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2734 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3999] Real segmentation fault handler
STINNER Victor [EMAIL PROTECTED] added the comment: fault.py: catch two segfaults in Python and C contexts. Added file: http://bugs.python.org/file12322/fault.py ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3999 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4617] SyntaxError when free variable name is also an exception target
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- nosy: +jhylton ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4617 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4594] Can't compile with -O3, on ARM, with gcc 3.4.4
John Stracke [EMAIL PROTECTED] added the comment: You may be right; I haven't used autoconf before, so I don't know. But I'll give it a shot. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4594 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3999] Real segmentation fault handler
Changes by Adam Olsen [EMAIL PROTECTED]: -- nosy: +Rhamphoryncus ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3999 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com