[issue8960] 2.6 README

2010-06-11 Thread Georg Brandl
Georg Brandl added the comment: Fixed in 2.7 r81933, 2.6 r81934. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue7463] PyDateTime_IMPORT() causes compiler warnings

2010-06-11 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue8904] quick example how to fix docs

2010-06-11 Thread Georg Brandl
Georg Brandl added the comment: Hmm, I thought the Doc/README covered this? -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-b

[issue8968] token type constants are not documented

2010-06-11 Thread Georg Brandl
Georg Brandl added the comment: Five comments: * I would list them all in one directive, like this: .. data:: FOO BAR BAZ which makes the display more compact. * There is no description in that directive. Best move part of the description above them in it. * NL and

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

2010-06-11 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Mark, reassigning this to you for commit review. -- assignee: belopolsky -> mark.dickinson ___ Python tracker ___

[issue5207] extend strftime/strptime format for RFC3339 and RFC2822

2010-06-11 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: %O is used by POSIX spec to indicate alternative locale format. Gnu date uses %:z %:z+hh:mm numeric timezone (e.g., -04:00) %::z +hh:mm:ss numeric time zone (e.g., -04:00:00) %:::z numeric time zone with : to ne

[issue1520662] support all of strftime(3)

2010-06-11 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file13373/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue4086] support %z format in time.strftime and _strptime?

2010-06-11 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: -> belopolsky dependencies: +No obvious and correct way to get the time zone offset nosy: +belopolsky ___ Python tracker ___ __

[issue5907] repr of time.struct_time type does not eval

2010-06-11 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: -> belopolsky nosy: +belopolsky versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___ __

[issue8968] token type constants are not documented

2010-06-11 Thread Ilya Sandler
Ilya Sandler added the comment: I'm attaching a documentation patch. Do note that there is also a bit of code-level inconsistency: a few tokens (COMMENT, NL) are defined in tokenize module which is strange and inconvenient. Should that be fixed too? (by moving token definitions into token mod

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2010-06-11 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: There is a separate issue #5288 asking to support sub-minute offsets. This is not hard, but the C code still has a few interfaces left from the time when offset was an integer # of minutes. I am +1 to fix that, but not as a part of this issue. On str

[issue8981] _struct.__version__ should be string, not bytes

2010-06-11 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : >>> import _struct >>> _struct.__version__ b'0.3' I would rather simply remove this since it is no longer exposed in struct. Yes, it does cause problems in real life code: I have applications that keep track of versions of modules that they use and ex

[issue8502] proposal: encourage xgettext rather than pygettext.py in gettext docs

2010-06-11 Thread jhg
jhg added the comment: A simple test case for the earlier changes. run pygettext.py and msgfmt.py and move the .mo file to ./locale/de/LC_MESSAGES/helloworld.mo to see that it prints the localized strings. -- Added file: http://bugs.python.org/file17640/helloworld.py ___

[issue8502] proposal: encourage xgettext rather than pygettext.py in gettext docs

2010-06-11 Thread jhg
jhg added the comment: Since the GNU tools work fine I had no reason to look into pygettext.py. Now I did it anyway... I added ngettext to the default keywords. Any function that is keyworded and supplied more than 2 keywords is treated like ngettext. Also simple constructs like _("foo" + 10*"

[issue8142] libffi update to 3.0.9

2010-06-11 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- nosy: -ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue8980] distutils.tests.test_register.RegisterTestCase.test_strict fails

2010-06-11 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file17637/distutils.patch ___ Python tracker ___ ___ Pyth

[issue8980] distutils.tests.test_register.RegisterTestCase.test_strict fails

2010-06-11 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: I noticed that register_module.raw_input also should be renamed to register_module.input. The test passes with the new patch. -- Added file: http://bugs.python.org/file17638/distutils.patch ___

[issue8980] distutils.tests.test_register.RegisterTestCase.test_strict fails

2010-06-11 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis : $ python3.2 -m distutils.tests.test_register ...E == ERROR: test_strict (__main__.RegisterTestCase) --

[issue8947] Provide as_integer_ratio() method to Decimal

2010-06-11 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Nice implementation. I wonder if the /5 loop can be eliminated by noting that /5 is *2 followed by decimal shift. (Probably not without fast decimal arithmetics.) A few documentation nits: 1. In Decimal methods there is no consistency in referring to

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

2010-06-11 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue8887] “pydoc str” works but not “ pydoc str.translate”

2010-06-11 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Note that >>> help(str.translate) Help on method_descriptor: translate(...) S.translate(table) -> str Return a copy of the string S, where all characters have been mapped .. but >>> help('str.translate') no Python documentation found for 's

[issue5845] rlcompleter should be enabled automatically

2010-06-11 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue8979] OptParse __getitem__

2010-06-11 Thread Bryan Ward
New submission from Bryan Ward : It would be convenient to be able to access the resultant options from optparse using the syntax options['some_option'] instead of options.some_option Or additionally it would be nice to have a way to produce a dictionary of the options. This would be nice t

[issue8845] Expose sqlite3 connection inTransaction as read-only in_transaction attribute

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: Same error on builder "PPC Leopard 3.x". http://www.python.org/dev/buildbot/builders/PPC%20Leopard%203.x/builds/87/steps/test/logs/stdio test_sqlite test test_sqlite failed -- Traceback (most recent call last): File "/Users/buildbot/buildarea/3.x.parc-leopa

[issue8142] libffi update to 3.0.9

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: Reopen the issue: libffi compilation fails on "x86 FreeBSD 3.x" buildbot. http://www.python.org/dev/buildbot/builders/x86%20FreeBSD%203.x/builds/349/steps/compile/logs/stdio gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -g -O0 -Wall -Wstrict-prototypes -Ibui

[issue8845] Expose sqlite3 connection inTransaction as read-only in_transaction attribute

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: Reopen the issue: the test fails on Sparc. http://www.python.org/dev/buildbot/builders/sparc%20Ubuntu%203.x/builds/222 == FAIL: CheckInTransaction (sqlite3.test.dbapi.ConnectionTests)

[issue8592] 'y' does not check for embedded NUL bytes

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: Attached patch fixes the initial problem: raise an error if the byte strings embeds a NUL-byte. -- keywords: +patch Added file: http://bugs.python.org/file17636/y_format.patch ___ Python tracker

[issue5115] Extend subprocess.kill to be able to kill process groups

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: erickt: can you fix your patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue7739] time.strftime may hung while trying to open /etc/localtime but does not release GIL

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: > I understand your last comment as wanting to keep the GIL while calling > tzset(), but release it around the strftime() call. Yes > You still want to apply your patch, right? http://sourceware.org/bugzilla/show_bug.cgi?id=4350 describes a crash. This issue

[issue8959] WINFUNCTYPE wrapped ctypes callbacks not functioning correctly in Python 2.7

2010-06-11 Thread Michael Curran
Michael Curran added the comment: Tested on Windows 7 x64, with Python 2.7 rc1 [amd64]: both examples work fine. So it seems the issue is specific to x86. -- ___ Python tracker _

[issue850997] mbcs encoding ignores errors

2010-06-11 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file17622/mbcs_errors-py3k-2.patch ___ Python tracker ___ ___ Python-bugs-li

[issue850997] mbcs encoding ignores errors

2010-06-11 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file17456/mbcs_errors-py3k.patch ___ Python tracker ___ ___ Python-bugs-list

[issue850997] mbcs encoding ignores errors

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: Update the patch (I commited the patch on tarfile module): version 3. -- Added file: http://bugs.python.org/file17635/mbcs_errors-py3k-3.patch ___ Python tracker

[issue850997] mbcs encoding ignores errors

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: Tim: are you interested in testing this patch? -- nosy: +tim.golden ___ Python tracker ___ ___ Pyt

[issue8969] Windows: use (mbcs in) strict mode to encode/decode filenames, and enable os.fsencode()

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: Patch commited as r81927 (3.2). -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue8784] tarfile/Windows: Don't use mbcs as the default encoding

2010-06-11 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue8784] tarfile/Windows: Don't use mbcs as the default encoding

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: Ok. I commited the patch to set the default encoding to utf-8 on Windows: r81925. -- ___ Python tracker ___ ___

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2010-06-11 Thread akira
akira <4kir4...@gmail.com> added the comment: Minor notes: msg107186: 1. The constructor now accepts only whole number of minutes in [-23:59, 23:59] range. rfc 3339 provides the following example: 1937-01-01T12:00:27.87+00:20 This represents the same instant of time as noon, January

[issue8951] PyArg_Parse*(): factorize code of 's' and 'z' formats, and 'u' and 'Z' formats

2010-06-11 Thread STINNER Victor
Changes by STINNER Victor : -- dependencies: +PyArg_Parse*(): "z" should not accept bytes ___ Python tracker ___ ___ Python-bugs-list m

[issue8939] Use C type names (PyUnicode etc;) in the C API docs

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: "PyUnicodeObject*" is not the best choice for the description of the function, and I don't really like "PyUnicode". Can't we use C types in the function prototype and Python types in the description? Example: --- s (PyUnicodeObject* or None) [char *] Conv

[issue8939] Use C type names (PyUnicode etc;) in the C API docs

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: I commited a first part of the patch: r81923 (3.2), r81924 (3.1). -- ___ Python tracker ___ ___ Pyth

[issue6608] asctime does not check its input

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

[issue6608] asctime does not check its input

2010-06-11 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: That's what CERT recommends. Their code can be reused as is: int validate_tm(struct tm* time) { /* * The range of valid values of the tm_sec member is [0, 60] * inclusive (to allow for leap seconds). */ if (time->tm_sec < 0 || time->tm_sec

[issue8976] subprocess module causes segmentation fault

2010-06-11 Thread Stefan Krah
Stefan Krah added the comment: > python version: 2.4.3 I'd suggest to try this with Python 2.6 or later. 2.4 and 2.5 are in security-fix only mode. -- nosy: +skrah versions: -Python 2.5 ___ Python tracker ___

[issue8977] Globalize lonely augmented assignment

2010-06-11 Thread Guido van Rossum
Guido van Rossum added the comment: Because the latter (n += 1) is more fundamental, since it uses integers (arguably the most fundamental type). This is why we've never done it before. -- ___ Python tracker

[issue8965] test_imp fails on OSX when LANG is set

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: One more patch to check sys.getfilesystemencoding() on any OS (r81920). -- ___ Python tracker ___ __

[issue8924] Error in error message in logging

2010-06-11 Thread Éric Araujo
Éric Araujo added the comment: Suggestion: To help people involved in the discussion or landing here from a Web search, you can write “fixed in rNNN” to make Roundup produce a link link this one: r81919 Thanks! -- nosy: +merwok stage: -> committed/rejected __

[issue8949] PyArg_Parse*(): "z" should not accept bytes

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: I patched readline (r81918) and locale (r81914) modules to use PyUnicode_FSConverter(). They don't use "z" format anymore to parse a filename. I checked last functions using "z" format (not "z#" or "z*", only "z") and I think that it's ok ("z" can be patched

[issue8502] proposal: encourage xgettext rather than pygettext.py in gettext docs

2010-06-11 Thread Éric Araujo
Éric Araujo added the comment: What about the more ambitious approach, fixing pygettext? -- ___ Python tracker ___ ___ Python-bugs-lis

[issue8924] Error in error message in logging

2010-06-11 Thread Vinay Sajip
Vinay Sajip added the comment: Fix checked into trunk and release26-maint. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue8502] proposal: encourage xgettext rather than pygettext.py in gettext docs

2010-06-11 Thread jhg
jhg added the comment: It looks like msgfmt.py now parses 'msgid_plural' but pygettext.py does not produce these. It is still oblivious to plurals as produced by ngettext(). My originally proposed change to the documentation was to point people to the GNU xgettext/msgfmt tools rather than the

[issue6608] asctime does not check its input

2010-06-11 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: How about checking the preconditions before calling asctime()? If the check fails, then we can raise an exception without crashing. -- ___ Python tracker ___

[issue8965] test_imp fails on OSX when LANG is set

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: I commited issue8965-test-1.diff (r81916) with a minor changes: .strip() => .rstrip() and use @unittest.skipUnless(). -- ___ Python tracker ___

[issue8977] Globalize lonely augmented assignment

2010-06-11 Thread Mark Dickinson
Mark Dickinson added the comment: True. I guess there's a mismatch either way around: currently, "A += [4]" and "A.append(4)" behave differently for (e.g.,) a list A. With the proposed change, "n += 3" and "n = n + 3" behave differently for a integer n. I'm not sure why I find the latter i

[issue8515] idle "Run Module" (F5) does not set __file__ variable

2010-06-11 Thread Tal Einat
Tal Einat added the comment: Why doesn't execfile() set __file__? I would be surprised if this is due to an oversight by the Python devs. In both execfile and IDLE's "Run Module" I can't think of a reason not to set __file__, but perhaps this was intentional? Googling a bit hasn't brought up

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2010-06-11 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Library (Lib) -Extension Modules ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2010-06-11 Thread Florent Xicluna
Florent Xicluna added the comment: something like : raise CompressionError("zlib module is not available") -- ___ Python tracker ___ ___

[issue8966] ctypes: remove implicit conversion between unicode and bytes

2010-06-11 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file17613/ctypes_tests.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue8966] ctypes: remove implicit conversion between unicode and bytes

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: Update ctypes_tests.patch against last changes: ctypes_tests-2.patch. -- Added file: http://bugs.python.org/file17634/ctypes_tests-2.patch ___ Python tracker __

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2010-06-11 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> lars.gustaebel nosy: +lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue8966] ctypes: remove implicit conversion between unicode and bytes

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: I commited ctypes_s_set.patch in Python 3.2 (r81911) because it does fix a real bug. -- ___ Python tracker ___

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: Which message do you suggest? -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue8941] utf-32be codec failing on UCS-2 python build for 32-bit value

2010-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in r81907 (trunk), r81908 (py3k), r81909 (2.6), r81910 (3.1). -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2010-06-11 Thread Florent Xicluna
New submission from Florent Xicluna : When Python is compiled without zlib support, the error message is not very helpful when trying to untar an archive. >>> tarfile.open('sample.tar.gz') tarfile.ReadError: file could not be opened successfully It happens when you run "python distribute_setup

[issue8977] Globalize lonely augmented assignment

2010-06-11 Thread Guido van Rossum
Guido van Rossum added the comment: It's not that much more evil than this: A = [] def f(x): A.append(x) print(A) # [] f(4) print(A) # [4] I've always thought this is a borderline case. -- nosy: +gvanrossum ___ Python tracker

[issue8515] idle "Run Module" (F5) does not set __file__ variable

2010-06-11 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file17632/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue8976] subprocess module causes segmentation fault

2010-06-11 Thread R. David Murray
R. David Murray added the comment: Well, without a non-proprietary way to reproduce the failure it is going to be a little hard to debug. You could try debugging it with gdb. -- nosy: +r.david.murray stage: -> unit test needed ___ Python tracker

[issue8977] Globalize lonely augmented assignment

2010-06-11 Thread Mark Dickinson
Mark Dickinson added the comment: This seems evil to me, when you consider the effect of this patch on immutable types: >>> A = 3 >>> def f(): ... A += 5 ... >>> f() >>> A 8 I find the possibility that a function can implicitly (i.e., without any 'global' declarations) mutate my global

[issue8949] PyArg_Parse*(): "z" should not accept bytes

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: > I tried to reject types different than str for "z": > most tests of the test suite fail Wait, what? No. I modified the wrong line of code :-) The whole test suite pass without any error if "z" doesn't accept bytes anymore. -- _

[issue8977] Globalize lonely augmented assignment

2010-06-11 Thread Demur Rumed
Changes by Demur Rumed : -- type: feature request -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue8977] Globalize lonely augmented assignment

2010-06-11 Thread Demur Rumed
Demur Rumed added the comment: A note on the patch, ste->ste_tmpname... lines, along with changes to Lambda_kind, were not added by me. The additional newlines prior to symtable_visit_stmt's declaration are accidental, apologies. I'll avoid patching a snapshot and then pull the old version fr

[issue8977] Globalize lonely augmented assignment

2010-06-11 Thread Demur Rumed
New submission from Demur Rumed : A=[1,2,3] def f(x): A+=x, This throws an error. The solution: state "global a". I find it odd that augmented assignment should be viewed the same as assignment in descerning local variables. This patch repairs such to maintain a as a variable of the globa

[issue8515] idle "Run Module" (F5) does not set __file__ variable

2010-06-11 Thread Bruce Frederiksen
Bruce Frederiksen added the comment: No, IDLE compiles the module (with the 'compile' built-in using the 'exec' option) and then does an 'exec' on the code (in PyShell.py). It has several lines of code that it runs before this exec to prepare the environment that the code is run in. It appears

[issue8949] PyArg_Parse*(): "z" should not accept bytes

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: Some examples of functions using "s" format: * str.encode(encoding, errors), bytes.decode(encoding, errors): both arguments have to be unicode strings * compile(source, filename, mode, ...): filename and mode have to be unicode strings * crypt.crypt(word, s

[issue8959] WINFUNCTYPE wrapped ctypes callbacks not functioning correctly in Python 2.7

2010-06-11 Thread Thomas Heller
Thomas Heller added the comment: Problem in py3k branch also. -- versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mai

[issue8959] WINFUNCTYPE wrapped ctypes callbacks not functioning correctly in Python 2.7

2010-06-11 Thread Thomas Heller
Thomas Heller added the comment: The commit that breaks the examples is revision 80761. Tested on WinXP 32 bit. Someone should test on Win 64bit too ;-). -- priority: normal -> release blocker ___ Python tracker

[issue8362] Add Misc/maintainers.rst to 2.x branch

2010-06-11 Thread Éric Araujo
Éric Araujo added the comment: We’ve agreed on that :) Thanks. -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs

[issue2892] improve cElementTree iterparse error handling

2010-06-11 Thread Fredrik Lundh
Fredrik Lundh added the comment: Note that this was fixed in upstream 1.3 (and verified by the selftests), but the fix and test was apparently lost when that code was merged into 2.7. Since 2.7 is supposed to ship with 1.3, this is a regression, not a feature request. (But 2.7 is in rc, and

[issue8362] Add Misc/maintainers.rst to 2.x branch

2010-06-11 Thread STINNER Victor
STINNER Victor added the comment: I added Misc/maintainers.rst in 2.7 (r81899). But I don't want to maintain it, so merwork, will have to send me your patches ;-) -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue2892] improve cElementTree iterparse error handling

2010-06-11 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue8976] subprocess module causes segmentation fault

2010-06-11 Thread Chris Blazick
New submission from Chris Blazick : platform: Linux x86_64 (CentOS) kernel: 2.6.18-128.1.10.el5.centos.plus python version: 2.4.3 PyQt versin: 4.7.3 subprocess is generating a segmentation fault. I am running a proprietary quicktime generating script inside my own (Qt) script using the subproc

[issue6608] asctime does not check its input

2010-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm... it's still a crash, though. I really think this should be fixed. Crashing on invalid input is bad. -- type: behavior -> crash ___ Python tracker ___

[issue3129] struct allows repeat spec. without a format specifier

2010-06-11 Thread Mark Dickinson
Mark Dickinson added the comment: On second thoughts, I think I *would* like to see this backported to 2.7. Not to the maintenance branches, though. -- ___ Python tracker ___ _

[issue6608] asctime does not check its input

2010-06-11 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Downgrading further. If anyone has interest in supplying a patch, please step in. Otherwise I plan to add a note to documentation and leave the code as is. -- priority: critical -> low title: asctime causing python to crash -> asctime does not

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2010-06-11 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I am attaching a new patch, issue5094e.diff which addresses most of Mark's comments. I left out repr() because two opinions were voiced on IRC with respect to datetime. prefix. I would like to give it some more thought even though I am leaning towards

[issue8975] Bug in cookiejar

2010-06-11 Thread Éric Araujo
Éric Araujo added the comment: Could you provide a minimal usable script? We can’t run your excerpt to reproduce the bug, and reproducing is the first step to debugging. I think we’ll also need the site address, or the cookie header, or the cookies file that provoke the bug. -- ___

[issue8362] Add Misc/maintainers.rst to 2.x branch

2010-06-11 Thread Éric Araujo
Éric Araujo added the comment: Updating the files. haypo, your move! :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue8362] Add Misc/maintainers.rst to 2.x branch

2010-06-11 Thread Éric Araujo
Changes by Éric Araujo : Added file: http://bugs.python.org/file17630/maintainers.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8362] Add Misc/maintainers.rst to 2.x branch

2010-06-11 Thread Éric Araujo
Changes by Éric Araujo : Added file: http://bugs.python.org/file17629/maintainers.rst ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8362] Add Misc/maintainers.rst to 2.x branch

2010-06-11 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file16854/maintainers.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue8362] Add Misc/maintainers.rst to 2.x branch

2010-06-11 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file16853/maintainers.rst ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue8975] Bug in cookiejar

2010-06-11 Thread Popa Claudiu
Popa Claudiu added the comment: """CHttp.__init__(self,1,proxy = shared.setts.currentGoogleProxy) self.timeout = shared.setts.cGglHttpTimeout self.proxy = globShare.currentGoogleProxy[globShare.currentGoogleIndex] if self.proxy:

[issue8971] Tkinter Litmus Test

2010-06-11 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8971] Tkinter Litmus Test

2010-06-11 Thread Éric Araujo
Changes by Éric Araujo : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue8971] Tkinter Litmus Test

2010-06-11 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok resolution: rejected -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list m

[issue8975] Bug in cookiejar

2010-06-11 Thread Éric Araujo
Éric Araujo added the comment: Thanks for your report. Can you copy the code provoking the bug? -- nosy: +merwok ___ Python tracker ___ __

[issue8975] Bug in cookiejar

2010-06-11 Thread Popa Claudiu
New submission from Popa Claudiu : Hello. This is my first report, sorry if I won't do it right. I found a bug in cookielib, which looks like this(a traceback): """C:\Python31\lib\http\cookiejar.py:1586: UserWarning: http.cookiejar bug! Traceback (most recent call last): File "C:\Python31\lib\

[issue8974] svnmerge errors in msgfmt.py

2010-06-11 Thread Éric Araujo
New submission from Éric Araujo : svnmerge for r81698 introduced incorrect print(sys.stderr, ...) calls. Attached patch fixes it. Apply with patch -p1. -- assignee: loewis components: Demos and Tools files: strange-print.diff keywords: patch messages: 107563 nosy: loewis, merwok priorit

[issue1288056] pygettext - provide comments to help translators

2010-06-11 Thread Éric Araujo
Éric Araujo added the comment: Translator comments seem to me nicer than contexts (http://bugs.python.org/issue2504), but I’m not sure which one is recommended when they overlap. I’m -1 on the same line restriction. Python style is to put comments on the previous line. The 2.x line does not

[issue4391] optparse: use proper gettext plurals forms

2010-06-11 Thread Éric Araujo
Éric Araujo added the comment: Thanks for your patch. I have some remarks: 1) please produce a patch from the top level of a Python checkout (cf. http://www.python.org/dev/patches/); 2) wrap lines under 80 characters; 3) bug with %-formatting: the singular message takes one arg, the plural two

  1   2   >