[issue13300] IDLE 3.3 Restart Shell command fails

2011-11-05 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue13300] IDLE 3.3 Restart Shell command fails

2011-11-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset ce483d696c06 by Ned Deily in branch 'default': Issue #13300: Fix IDLE Restart Shell command failure introduced by http://hg.python.org/cpython/rev/ce483d696c06 -- nosy: +python-dev ___ Python tracker

[issue8087] Unupdated source file in traceback

2011-11-05 Thread Oleg Oshmyan
Oleg Oshmyan added the comment: I just want to note that the code might be edited not only while it is running it in the interactive interpreter but also while it is running as a standalone script. In this case the script naturally would not know to reload its own code nor allow the user to d

[issue10287] NNTP authentication should check capabilities

2011-11-05 Thread Nathan Clayton
Nathan Clayton added the comment: By always sending capabilities at connection, some servers immediately throw an error. I've modified the class initialization to include an optional parameter to indicate if this should be disabled. -- keywords: +patch nosy: +Nathan.Clayton Added file

[issue13352] tutorial section 9.3.3 documentation problem

2011-11-05 Thread Eli Bendersky
Changes by Eli Bendersky : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue13352] tutorial section 9.3.3 documentation problem

2011-11-05 Thread Eli Bendersky
Eli Bendersky added the comment: Yep, I agree, Ori. The paragraph immediately preceding the code sample says: "Data attributes need not be declared; like local variables, they spring into existence when they are first assigned to [...] the following piece of code will print the value 16,

[issue13352] tutorial section 9.3.3 documentation problem

2011-11-05 Thread Ori Livneh
Ori Livneh added the comment: That's exactly the point: in Python, data attributes don't need to be declared in the class definition. -- nosy: +ori.livneh ___ Python tracker __

[issue13353] documentation problem in logging.handlers.TimedRotatingFileHandler for 2.7

2011-11-05 Thread Eli Bendersky
New submission from Eli Bendersky : User (Yoann Roman) report on docs@ maillist: The docs for logging.handlers.TimedRotatingFileHandler in Python 2.7 say that the "utc" keyword argument was added in 2.7: http://docs.python.org/library/logging.handlers.html#timedrotatingfilehandler This i

[issue13352] tutorial section 9.3.3 documentation problem

2011-11-05 Thread Eli Bendersky
New submission from Eli Bendersky : User report on the docs@ list: - http://docs.python.org/tutorial/classes.html#instance-objects I think the "counter" attribute is mentioned for the first time in the example code, not "in Instance of MyClass created above", i.e. class MyClass does not co

[issue13309] test_time fails: time data 'LMT' does not match format '%Z'

2011-11-05 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue10570] curses.tigetstr() returns bytes, but curses.tparm() expects a string

2011-11-05 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: The entry in Misc/NEWS mentions the change in curses.tigetstr(), but actually curses.tparm() has been changed. Please fix that entry to avoid confusion. (curses.tigetstr() still expects a unicode string and returns a bytes string.) ---

[issue13328] pdb shows code from wrong module

2011-11-05 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10977] Concrete object C API considered harmful to subclasses of builtin types

2011-11-05 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13229] Add shutil.filter_walk

2011-11-05 Thread Nick Coghlan
Nick Coghlan added the comment: Initial version available at: https://bitbucket.org/ncoghlan/iterwalk/src I'll get it published to PyPI once the test suite is in a slightly better state (no filesystem based tests as yet). -- ___ Python tracker

[issue10364] IDLE: make .py default added extension on save

2011-11-05 Thread Ned Deily
Changes by Ned Deily : -- nosy: +Kaleb702 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue13347] .py extension not auto added

2011-11-05 Thread Ned Deily
Ned Deily added the comment: A request for this change in behavior is already being tracked by Issue10364. -- nosy: +ned.deily resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> IDLE: make .py default added extension on save _

[issue13351] Strange time complexity when creating nested lists

2011-11-05 Thread Jonas LM
Jonas LM added the comment: Confirmed that this was caused by the garbage collector, as pitrou suspected. Thanks! -- resolution: -> works for me status: open -> closed ___ Python tracker

[issue13229] Add shutil.filter_walk

2011-11-05 Thread Nick Coghlan
Nick Coghlan added the comment: That's one of the nicer attempts I've seen at an object-oriented path library, but I have a core problem with OOP path APIs, and it relates to the Unicode encoding/decoding problem: the ultimate purpose of path objects is almost always to either pass them to th

[issue13229] Add shutil.filter_walk

2011-11-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Nick, perhaps you want to have a look at http://hg.python.org/features/pathlib/ (it doesn't have a filter_walk equivalent but it could grow one :-)) -- nosy: +pitrou ___ Python tracker

[issue13351] Strange time complexity when creating nested lists

2011-11-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: It's because of the cyclic garbage collector. If you call gc.disable() at the beginning of your benchmark, you'll see that runtimes get more similar in both cases. You can also use tuples instead of lists as much as possible, it will reduce pressure on the GC

[issue13229] Add shutil.filter_walk

2011-11-05 Thread Nick Coghlan
Nick Coghlan added the comment: This needs more thought - pypi package coming soon :) -- ___ Python tracker ___ ___ Python-bugs-list

[issue13229] Add shutil.filter_walk

2011-11-05 Thread Nick Coghlan
Nick Coghlan added the comment: I should probably update that posted recipe to my latest version (which adds "excluded_files" and "excluded_dirs" parameters). However, since I've been dealing with remote filesystems where os.listdir() and os.stat() calls from the local machine aren't possible

[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.5" during configure

2011-11-05 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13351] Strange time complexity when creating nested lists

2011-11-05 Thread R. David Murray
R. David Murray added the comment: In the case of 'lists' an object is being allocated each time through the inner loop. In the case of simple_lists, no such allocation is being done. Your timing issues are probably related to the memory allocation behavior of your system. -- nosy:

[issue13351] Strange time complexity when creating nested lists

2011-11-05 Thread Jonas LM
New submission from Jonas LM : Consider the following snippets: def lists(n): start_time = time.time() lists = [None]*n for i in xrange(n): lists[i] = [None]*n for j in xrange(n): lists[i][j] = [] print time.time() - start_time def sim

[issue13193] test_packaging and test_distutils failures

2011-11-05 Thread Vinay Sajip
Vinay Sajip added the comment: > How strange. I've had no problem reproducing the failures; they've > occurred every time I've run test_packaging since the bug was opened > (on both Ubuntu and Windows). And the Windows buildbots seem to be > failing consistently as well... On a given machine,

[issue13342] input() builtin always uses "strict" error handler

2011-11-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed. I hope the test won't disturb the buildbots. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue13342] input() builtin always uses "strict" error handler

2011-11-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 421c8e291221 by Antoine Pitrou in branch '3.2': Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicode http://hg.python.org/cpython/rev/421c8e291221 New changeset 992ba03d60a8 by Antoine Pitrou in branch 'default': Issue #13342:

[issue13309] test_time fails: time data 'LMT' does not match format '%Z'

2011-11-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: I also get this error on Mageia. If this can't be fixed, the test should be skipped or removed. -- nosy: +pitrou ___ Python tracker ___ __

[issue13317] building with 2to3 generates wrong import paths because build_ext is run after build_py

2011-11-05 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue13316] build_py_2to3 does not convert when there was an error in the last run

2011-11-05 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue13340] list.index does not accept None as start or stop

2011-11-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: str.index does accept None, though -- nosy: +amaury.forgeotdarc ___ Python tracker ___ ___ Py

[issue13340] list.index does not accept None as start or stop

2011-11-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: The API in 2.7 shouldn't be changed. The error message can be fixed though. Also, it is not clear that the API should change even in 3.3. The list.index() method is not required to accept None. It is not different than other APIs that use PyArg_ParseTupl

[issue13193] test_packaging and test_distutils failures

2011-11-05 Thread Nadeem Vawda
Nadeem Vawda added the comment: How strange. I've had no problem reproducing the failures; they've occurred every time I've run test_packaging since the bug was opened (on both Ubuntu and Windows). And the Windows buildbots seem to be failing consistently as well... --

[issue13193] test_packaging and test_distutils failures

2011-11-05 Thread Vinay Sajip
Vinay Sajip added the comment: > FTR, I haven't checked this on Ubuntu 32-bit. It's rather odd for the > failure to be architecture-dependent. Are these two machines running > different versions of Ubuntu, perhaps? They are (Ubuntu Natty 32-bit failing, Ubuntu Oneiric 64-bit passing). However,

[issue13340] list.index does not accept None as start or stop

2011-11-05 Thread Petri Lehtinen
Petri Lehtinen added the comment: > 2) It probably should have been done in _PyEval_SliceIndex(). I saw that other code used the same approach as I used in the fix. The comment above _PyEval_SliceIndex() suggests it's used in other contexts too. It seems that 2.7 uses it to implement the SLICE

[issue13340] list.index does not accept None as start or stop

2011-11-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think this "fix" was too hastily committed. 1) It was an API change. 2) It probably should have been done in _PyEval_SliceIndex(). Be careful. Don't rush to commit. Especially for backports. -- status: closed -> open _

[issue13193] test_packaging and test_distutils failures

2011-11-05 Thread Vinay Sajip
Vinay Sajip added the comment: >[citation needed].  First, mutable objects with a global name (let’s not use > "variable" for Python) are not unconditionally evil; see sys.path and > sys.modules for example.  Second, how concretely would you change that > implementation?  We need shared caches f

[issue13340] list.index does not accept None as start or stop

2011-11-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: The relevant code is in _PyEval_SliceIndex() in Python/ceval.c. -- nosy: +rhettinger ___ Python tracker ___

[issue13340] list.index does not accept None as start or stop

2011-11-05 Thread Petri Lehtinen
Petri Lehtinen added the comment: Committed a fix for both list and tuple. I considered this a bug fix rather than a new feature based on discussion in #11828, especially msg133532, and applied the fix to 2.7 and 3.2, too. -- ___ Python tracker

[issue13350] Use PyUnicode_FromFomat instead of PyUnicode_Format for fixed formats

2011-11-05 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc : A code simplification suggested by a comment in issue13349: Replace most usages of PyUnicode_Format (a.k.a. str.__mod__) by PyUnicode_FromFormat, which is easier to use from C: no need to build a tuple, and the format accept both C strings (%s) and Pyth

[issue13340] list.index does not accept None as start or stop

2011-11-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f0eda4daac7 by Petri Lehtinen in branch '2.7': Accept None as start and stop parameters for list.index() and tuple.index() http://hg.python.org/cpython/rev/0f0eda4daac7 New changeset 5c1fcaf3cf1c by Petri Lehtinen in branch '3.2': Accept None as s

[issue7980] time.strptime not thread safe

2011-11-05 Thread Zsolt Kendi
Zsolt Kendi added the comment: I recognize the same problem problem at linux with 4 core 64 processor. The python version is 2.6.5 . Looks like occured randomly but maybe this is depend from thread sequence. -- nosy: +kzsolt ___ Python tracker

[issue13349] Uninformal error message in index() and remove() functions

2011-11-05 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- components: +Extension Modules, Interpreter Core type: -> behavior versions: +Python 3.3 ___ Python tracker ___ __

[issue13349] Uninformal error message in index() and remove() functions

2011-11-05 Thread Petri Lehtinen
New submission from Petri Lehtinen : For example: >>> (1, 2, 3).index(4) Traceback (most recent call last): File "", line 1, in ValueError: tuple.index(x): x not in tuple The "x not in tuple" error message should be replaced with "4 is not in tuple". list.index() already does this (see #725

[issue13340] list.index does not accept None as start or stop

2011-11-05 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue13340] list.index does not accept None as start or stop

2011-11-05 Thread Petri Lehtinen
Petri Lehtinen added the comment: The same issue exists for tuples: >>> (1, 2, 3).index(2, None) Traceback (most recent call last): File "", line 1, in TypeError: slice indices must be integers or None or have an __index__ method -- components: +Interpreter Core nosy: +petri.lehtine

[issue12163] str.count

2011-11-05 Thread Petri Lehtinen
Petri Lehtinen added the comment: This already seems fixed on 2.7, 3.2 and 3.3: >>> ''.find('', None) 0 -- nosy: +petri.lehtinen resolution: -> out of date status: open -> closed versions: -Python 3.1 ___ Python tracker

[issue13204] sys.flags.__new__ crashes

2011-11-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Why would we want to prevent users from creating new instances of FlagsType? -- nosy: +amaury.forgeotdarc ___ Python tracker ___

[issue10977] Concrete object C API considered harmful to subclasses of builtin types

2011-11-05 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13326] make clean failed on OpenBSD

2011-11-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41ab1dfaf1d4 by Petri Lehtinen in branch '3.2': Remove __pycache__ directories correctly on OpenBSD http://hg.python.org/cpython/rev/41ab1dfaf1d4 New changeset f853a2cbd68b by Petri Lehtinen in branch 'default': Remove __pycache__ directories corre

[issue13338] Not all enumerations used in _Py_ANNOTATE_MEMORY_ORDER

2011-11-05 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: +petri.lehtinen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue13338] Not all enumerations used in _Py_ANNOTATE_MEMORY_ORDER

2011-11-05 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue9896] Introspectable range objects

2011-11-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4643be424293 by Benjamin Peterson in branch 'default': add introspection to range objects (closes #9896) http://hg.python.org/cpython/rev/4643be424293 -- nosy: +python-dev resolution: -> fixed stage: patch review -> committed/rejected stat

[issue13204] sys.flags.__new__ crashes

2011-11-05 Thread Ezio Melotti
Ezio Melotti added the comment: That's probably true, but IMHO it's not a valid reason to keep the buggy behavior. -- ___ Python tracker ___ ___

[issue13347] .py extension not auto added

2011-11-05 Thread Kaleb702
Changes by Kaleb702 : -- versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12392] pthread_kill() doesn't work on the main thread on FreeBSD6

2011-11-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8ea34a74f118 by Éric Araujo in branch '2.7': Add missing versionadded (fixes #12392) http://hg.python.org/cpython/rev/8ea34a74f118 -- ___ Python tracker _

[issue13193] test_packaging and test_distutils failures

2011-11-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4eee9dd61147 by Éric Araujo in branch 'default': Try to fix buildbot failures from #13193 http://hg.python.org/cpython/rev/4eee9dd61147 -- nosy: +python-dev ___ Python tracker

[issue13204] sys.flags.__new__ crashes

2011-11-05 Thread Éric Araujo
Éric Araujo added the comment: Because the class of sys.flags is an implementation detail. Most people won’t try to instantiate it, IMO. -- ___ Python tracker ___

[issue13193] test_packaging and test_distutils failures

2011-11-05 Thread Éric Araujo
Éric Araujo added the comment: I’ll open another reports for the possible bug in _generate_cache and for review of the other tests calling get_distribution. > Test test_install and test_command_install_data interference cache I’ve added checks in regrtest to make sure that each tests clears th

[issue13193] test_packaging and test_distutils failures

2011-11-05 Thread Éric Araujo
Éric Araujo added the comment: Thanks, I’ll add the disable_cache call. Westley: I’ve installed Arch. Is there a command I can run to get zlib, openssl, gcc, make and all that, similar to “aptitude build-dep python3.2”? -- ___ Python tracker

[issue13292] missing versionadded for bytearray

2011-11-05 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: docs@python -> eric.araujo nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13290] get vars for object with __slots__

2011-11-05 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue13290] get vars for object with __slots__

2011-11-05 Thread Éric Araujo
Éric Araujo added the comment: > You should attach diffs (context diffs, I believe) Nope, these are hard to read :) The universal diff format is the unified one. That’s also what Mercurial uses (see the devguide for more info on contributing). -- nosy: +eric.araujo

[issue9896] Introspectable range objects

2011-11-05 Thread Éric Araujo
Éric Araujo added the comment: I think this is ready for commit. -- nosy: +smarnach ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13200] Add start, stop and step attributes to range objects

2011-11-05 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> duplicate stage: patch review -> committed/rejected status: open -> closed superseder: -> Introspectable range objects ___ Python tracker ___

[issue13200] Add start, stop and step attributes to range objects

2011-11-05 Thread Éric Araujo
Éric Araujo added the comment: The other bug is older and has more discussion, I’m closing this one as duplicate. -- ___ Python tracker ___

[issue13229] Add shutil.filter_walk

2011-11-05 Thread Éric Araujo
Éric Araujo added the comment: s/and /and #13033/ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue13229] Add shutil.filter_walk

2011-11-05 Thread Éric Araujo
Éric Araujo added the comment: During the discussion about adding a chowntree function to shutil (http://mail.python.org/pipermail/python-dev/2011-May/111661.html and ), Victor suggested this: > I don't like the idea of a recursive flag. I would prefer a "map-like" > function to "apply" a >

[issue13204] sys.flags.__new__ crashes

2011-11-05 Thread Ezio Melotti
Ezio Melotti added the comment: Why not? -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13033] Add shutil.chowntree

2011-11-05 Thread Éric Araujo
Éric Araujo added the comment: Tigger: Could you provide a patch for Python 3.3? (more info at http://docs.python.org/devguide/) -- ___ Python tracker ___ _

[issue13033] Add shutil.chowntree

2011-11-05 Thread Éric Araujo
Éric Araujo added the comment: See also #13229. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue13204] sys.flags.__new__ crashes

2011-11-05 Thread Éric Araujo
Éric Araujo added the comment: I’m not sure it is useful to fix this bug. -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bug

[issue13193] test_packaging and test_distutils failures

2011-11-05 Thread Roumen Petrov
Roumen Petrov added the comment: Test test_install and test_command_install_data interference cache . Adding clear_cache as clean up routine will resolve reported issue with Spamlib. The patch is trivial. Also one of the test set clear_cache as cleanup. Most important is why packaging use gl

[issue13345] Invisible Files in Windows 7

2011-11-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: Most likely, you are using a 32-bit Python on a 64-bit Windows. 32-bit programs can't access c:\windows\system32, as that will contain the 64-bit DLLs. Instead, access is redirected to c:\windows\syswow64. Please confirm whether or not this is the case here

[issue13193] test_packaging and test_distutils failures

2011-11-05 Thread Nadeem Vawda
Nadeem Vawda added the comment: > I added the packaging.database.clear_cache() at the end of setUp(); that > works, too. That fixes the InstallDataTestCase failure for me as well (on both Ubuntu 11.10 64-bit and Windows 7 64-bit). > I get the opposite failure to Nadeem as far as > InstallDat

[issue13193] test_packaging and test_distutils failures

2011-11-05 Thread Vinay Sajip
Vinay Sajip added the comment: I looked in packaging/test, and noticed that database.get_distribution is called from test_depgraph, test_xmlrpc and test_database. These may also need looking over to see if cache invalidation needs to happen. -- ___

[issue7777] Support needed for AF_RDS family

2011-11-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Oops, sorry. I wonder if it would be possible to test the address returned by recvfrom(). Same for the flags and ancillary data in recvmsg(). -- ___ Python tracker ___

[issue13193] test_packaging and test_distutils failures

2011-11-05 Thread Vinay Sajip
Vinay Sajip added the comment: I added the packaging.database.clear_cache() at the end of setUp(); that works, too. Gotta love global variables - not! ;-) -- ___ Python tracker __

[issue13193] test_packaging and test_distutils failures

2011-11-05 Thread Vinay Sajip
Vinay Sajip added the comment: I get the opposite failure to Nadeem as far as InstallDataTestCase.test_resources: it works on Ubuntu 64-bit, but fails on 32-bit. Digging into it a bit further, I find that _generate_cache in Lib/packaging/database.py returns prematurely in the failing case, be

[issue13348] test_unicode_file fails: shutil.copy2 says "same file"

2011-11-05 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue13309] test_time fails: time data 'LMT' does not match format '%Z'

2011-11-05 Thread Vinay Sajip
Vinay Sajip added the comment: It's not just Gentoo. I get this error repeatably on Ubuntu Oneiric 64- bit and Linux Mint Katya 64-bit, though not on the 32-bit variants. -- nosy: +vinay.sajip ___ Python tracker

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

2011-11-05 Thread Charles-François Natali
Charles-François Natali added the comment: > FYI, I have a pathlib experiment in > http://hg.python.org/features/pathlib/, with an optional openat-based > accessor. Interesting: I used to think that the current API for dealing with paths was a little too basic and terse. Concerning this issue

[issue13348] test_unicode_file fails: shutil.copy2 says "same file"

2011-11-05 Thread Florent Xicluna
New submission from Florent Xicluna : I stopped on this error on buildbot x86 Tiger 3.2. It looks strange. test_single_files (test.test_unicode_file.TestUnicodeFiles) ... ERROR == ERROR: test_single_files (test.test_unicode_fil

[issue12856] tempfile PRNG reuse between parent and child process

2011-11-05 Thread Charles-François Natali
Charles-François Natali added the comment: The patch looks good to me. Note that the whole kill(pid, SIGKILL) looks overkill to me... -- nosy: +neologix ___ Python tracker ___ _

[issue7777] Support needed for AF_RDS family

2011-11-05 Thread Charles-François Natali
Charles-François Natali added the comment: So, what do you think of the new patch? -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue3067] setlocale error message is confusing

2011-11-05 Thread Petri Lehtinen
Petri Lehtinen added the comment: I decided to restructure the documentation of setlocale() a bit and I think it's better now overall. It includes Terry's suggestions. I think this issue can now be closed. Thanks for the report and patches! -- status: open -> closed _

[issue3067] setlocale error message is confusing

2011-11-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 34c9465f5023 by Petri Lehtinen in branch '2.7': Issue #3067: Enhance the documentation and docstring of locale.setlocale() http://hg.python.org/cpython/rev/34c9465f5023 New changeset 98806dd03506 by Petri Lehtinen in branch '3.2': Issue #3067: Enha

[issue13254] maildir.items() broken

2011-11-05 Thread Petri Lehtinen
Petri Lehtinen added the comment: In the absence of any complaints, I went on and committed the fix. Thanks for reporting the issue! -- assignee: r.david.murray -> ___ Python tracker

[issue13254] maildir.items() broken

2011-11-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5f27a9f67a34 by Petri Lehtinen in branch '3.2': Fix Maildir initialization so that maildir contents are read correctly. http://hg.python.org/cpython/rev/5f27a9f67a34 New changeset 91a0f6879173 by Petri Lehtinen in branch 'default': Fix Maildir init

[issue13347] .py extension not auto added

2011-11-05 Thread Kaleb702
New submission from Kaleb702 : Python IDLE does not auto add the .py extension when saving a file. -- components: IDLE messages: 147072 nosy: Kaleb702 priority: normal severity: normal status: open title: .py extension not auto added ___ Python tracke

[issue13322] buffered read() and write() does not raise BlockingIOError

2011-11-05 Thread Charles-François Natali
Charles-François Natali added the comment: > write() is a bit simpler, since BlockingIOError has > a "characters_written" attribute which is meant to inform you of the > partial success: we can just reuse that. That said, BlockingIOError > could grow a "partial_read" attribute containing the

[issue3067] setlocale error message is confusing

2011-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, parentheses would be better. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue3067] setlocale error message is confusing

2011-11-05 Thread Petri Lehtinen
Petri Lehtinen added the comment: > If *locale* is specified, it may be a None, a string, or an iterable of two > strings, language code and encoding. String pairs are converted to a single > string using the locale aliasing engine. What about the possible None value then? Do you think that m