Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16398
___
___
Python-bugs-list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16398
___
___
Python-bugs-list mailing list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8401
___
hideaki added the comment:
I think this is the default behavior of readline module.
the default word delimiters for completion contains dash(-). so completion
breaks at dash.
import readline
readline.get_completer_delims()
' \t\n`~!@#$%^*()-=+[{]}\\|;:\',/?'
In contrast, the default
Stefan Behnel added the comment:
Well, it's not like the setup was all that difficult. 1) Install the latest
github master of Cython (they provide one-click archives that pip can install
for you), 2) change into the CPython stdlib directory and run the script I
attached, 3) execute import os
Changes by Stefan Behnel sco...@users.sourceforge.net:
Added file: http://bugs.python.org/file27865/cystdlibbug.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16392
___
Ezio Melotti added the comment:
The new exception should also be documented, and a versionadded and
Doc/whatsnew/3.4.rst entry added.
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6584
Éric Araujo added the comment:
I think I get it: Python sets custom delimiters that include '-' because for
the Python REPL, it’s not possible to have one identifier with a dash, so it’s
considered a delimiter and when you press tab, a new completion is started.
For a custom REPL however,
Guillaume P added the comment:
Here is a proposed patch to the documentation.
--
keywords: +patch
nosy: +guillaumep
Added file: http://bugs.python.org/file27866/13424.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13424
Ezio Melotti added the comment:
I don't think it's necessary to check for UnboundLocalError/NameError in the
tests.
--
nosy: +ezio.melotti
priority: normal - high
stage: - patch review
type: - behavior
___
Python tracker rep...@bugs.python.org
Éric Araujo added the comment:
Any interest in doing like os.get_terminal_size/shutil.get_terminal_size with
the os function being basic (i.e. current patch) and the shutil version
querying the env var SHELL in addition?
--
nosy: +eric.araujo
___
Éric Araujo added the comment:
Please use ``sh`` or maybe :command:`sh` (check the sphinx doc) instead of `sh`.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16353
___
Mark Lawrence added the comment:
Can this be closed as the code from rev. 54343 is live on Python 3.3. See also
Issue6426.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1605192
Mark Lawrence added the comment:
Are the tests for HTTPAuthDigest still outstanding?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4683
___
Roundup Robot added the comment:
New changeset 18ed608ee594 by Ezio Melotti in branch '3.2':
#16336: fix input checking in the surrogatepass error handler. Patch by Serhiy
Storchaka.
http://hg.python.org/cpython/rev/18ed608ee594
New changeset 8d5c147f030d by Ezio Melotti in branch '3.3':
Ezio Melotti added the comment:
Thanks for spotting the error and fixing it!
--
assignee: - ezio.melotti
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 17b094c08600 by Éric Araujo in branch '3.3':
Add examples for opener argument of open (#13424).
http://hg.python.org/cpython/rev/17b094c08600
--
nosy: +python-dev
___
Python tracker
Stefan Behnel added the comment:
Since it's quite possible that this has nothing to do with the frozen part of
the importlib specifically, I'm removing that bit from the ticket title.
--
title: frozen importlib crashes on circular imports in ext modules - import
crashes on circular
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16339
___
___
Python-bugs-list
Éric Araujo added the comment:
Fixed, thanks!
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13424
Serhiy Storchaka added the comment:
See my comments in Rietveld.
--
nosy: +serhiy.storchaka
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13424
___
Changes by Éric Araujo mer...@netwok.org:
--
resolution: fixed -
stage: committed/rejected - commit review
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13424
___
Robert de Vries added the comment:
Attached you will find the updated patch for the python 3 tree as of now.
I have measured a speed-up of more than a factor 100.
--
nosy: +rhdv
Added file: http://bugs.python.org/file27867/zipdecrypt-3.patch
___
Robert de Vries added the comment:
Patch for python 2.7
Same patch as for python 3, backported to python 2.7
Tested on Linux only.
--
Added file: http://bugs.python.org/file27868/zipdecrypt-2.7.patch
___
Python tracker rep...@bugs.python.org
Éric Araujo added the comment:
fd leak fixed in 95ea024f0569.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13424
___
___
Python-bugs-list
Mark Dickinson added the comment:
Updated patch (only cosmetic fixes with respect to the first patch). Thanks
Ezio Melotti for comments on #python-dev.
--
Added file: http://bugs.python.org/file27869/issue14794_v2.patch
___
Python tracker
Éric Araujo added the comment:
Thanks for the patch. Note that :const:`True` should be ``True``.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16304
___
Antoine Pitrou added the comment:
Are you sure this worked before 3.3?
Regardless, it seems you could fix this issue by adding a single line just
after the PyModule_Create() call:
__pyx_m = PyModule_Create(__pyx_moduledef);
#endif
if (PyDict_SetItemString(PyImport_GetModuleDict(),
A.M. Kuchling added the comment:
Patch looks good with two small changes.
* for consistency's sakes is used in 2 places; this should be sake, not the
plural sakes.
* Normally the *path* argument specified to functions: 'specified to' sounds
wrong, and IMHO would be better as 'provided to' or
Antoine Pitrou added the comment:
A simple test seems to confirm the problem already existed in 3.2.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16392
___
Éric Araujo added the comment:
I will upload my patch and compare it with Serhiy’s. Now that 3.3.0 is
released, there is no hurry.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5411
___
A.M. Kuchling added the comment:
Closing, since the original reporter believes the problem was fixed.
--
nosy: +akuchling
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11166
Antoine Pitrou added the comment:
Note that Py_InitModule4 in Python 2 did add the module object to sys.modules
(by calling PyImport_AddModule) before returning, but PyModule_Create in Python
3 doesn't.
(PEP 3121 doesn't seem to mention PyModule_Create at all, strangely; it seems
the PEP
George Peristerakis added the comment:
Correction a typo error in the test.
--
Added file: http://bugs.python.org/file27870/issue9674.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
Changes by A.M. Kuchling li...@amk.ca:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9584
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +serhiy.storchaka
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10030
___
Terry J. Reedy added the comment:
I think the example should be switched *and* the formats should specify the
endianess so the examples work on all systems.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16349
Changes by George Peristerakis peristera...@gmail.com:
--
nosy: +George.Peristerakis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16190
___
___
A.M. Kuchling added the comment:
Help is still needed to debug the failing test_glob.py on Windows.
I just tried this patch against 3.4trunk. The first hunk of the glob.py patch
doesn't apply because 'for name in glob1(None, basename): yield name' was
changed to 'yield from glob1(None,
Stefan Behnel added the comment:
Hmm, we already do that for packages (i.e. when compiling __init__.py). Looks
like this just needs to be done for all modules in Py3. And unless there is a
compelling reason for Py_InitModule4() not to do it, I think it should be
reverted to its Py2 behaviour.
A.M. Kuchling added the comment:
Patch seems clearly correct; compiles works on MacOS. We could just apply
this.
--
nosy: +akuchling
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7695
Mark Dickinson added the comment:
Updated for Serhiy's comments on Rietveld:
- fix some refleaks in error cases
- streamline the C code somewhat following Serhiy's suggestions.
Serhiy: you made a comment on the slice_indices function in test_slice.py:
Can we use Python implementation for
Sean Ochoa added the comment:
It seems that this has been fixed. Using simple tests from msg147215:
~/hg/cpython/working $ env-py3.3/bin/python
Python 3.3.0 (default, Nov 3 2012, 15:28:29)
[GCC 4.7.2] on linux
Type help, copyright, credits or license for more information.
Antoine Pitrou added the comment:
I have detected a compatibility issue when reverting to the 2.x behaviour:
extension modules which lie about their name in their PyModuleDef are broken.
There are two such modules in 3.3: _io and _decimal.
Patch attached, anyway.
--
keywords: +patch
A.M. Kuchling added the comment:
Installation bug; nothing to fix.
--
nosy: +akuchling
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15076
___
Stefan Behnel added the comment:
Now that you mention it - wouldn't that suffer from not actually knowing the
FQMN? There's that hack in the dynlib loader that stores the package context in
a global variable so that the module creation function can figure it out. That
might be a reason not to
A.M. Kuchling added the comment:
Duplicate of #9974. The tokenizer is choking on lines that end in '\'. So
even this can't be parsed:
a = 1 + \
2
--
nosy: +akuchling
superseder: - tokenizer.untokenize not invariant with line continuations
___
Éric Araujo added the comment:
Suggest closing, as pycountry is available and Babel is excellent.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5894
___
Éric Araujo added the comment:
optparse is not being developed anymore.
--
nosy: +eric.araujo
resolution: - rejected
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4318
Éric Araujo added the comment:
amk: could you say if this applies to argparse?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4318
___
___
A.M. Kuchling added the comment:
I have no idea.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4318
___
___
Python-bugs-list mailing list
Éric Araujo added the comment:
Will apply the doc patches soon™ and wait for Steven’s feedback about the 3.4
behavior change.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15125
___
Christian Heimes added the comment:
Agreed! Like time zones country and language information are altered ever so
often. Babel, zope.i18n and pyicu provide excellent interfaces to the
information and can be updated separately from the stdlib.
--
nosy: +christian.heimes
resolution: -
Christian Heimes added the comment:
The patch looks good to me but it's missing doc updates.
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7695
___
A.M. Kuchling added the comment:
I looked at this a bit and made a revised version of the patch that doesn't add
any line continuations when the token is ENDMARKER. It works on the example
program and a few variations I tried, though I'm not convinced that it'll work
for all possible
A.M. Kuchling added the comment:
MAL suggested adding a comment explaining why this can be done. If Alexander
or someone wants to do that, great! Otherwise, there seems no other reason to
leave this issue open.
--
nosy: +akuchling
___
Python
Roundup Robot added the comment:
New changeset 58776cc74e89 by Antoine Pitrou in branch 'default':
Issue #15837: add some tests for random.shuffle().
http://hg.python.org/cpython/rev/58776cc74e89
--
nosy: +python-dev
___
Python tracker
Antoine Pitrou added the comment:
I've committed the patch, thank you Alessandro.
--
assignee: rhettinger -
nosy: +pitrou
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Jesús Cea Avión added the comment:
This bug was solved in python 3.2. Pyhton 3.1 is affected.
This is not a windows issue: the file reference is kept in all platforms.
This seems to be solved in 2c370065c1b4 and 260ff379115c.
See issue #9846.
--
nosy: +jcea
Antoine Pitrou added the comment:
Now that you mention it - wouldn't that suffer from not actually
knowing the FQMN? There's that hack in the dynlib loader that stores
the package context in a global variable so that the module creation
function can figure it out. That might be a reason not
Jesús Cea Avión added the comment:
This code was not backported to python 2.7. See Issue #16183
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9846
___
New submission from Markus Amalthea Magnuson:
If the default value for a flag is a list, and the action append is used,
argparse doesn't seem to override the default, but instead adding to it. I did
this test script:
import argparse
parser = argparse.ArgumentParser()
parser.add_argument(
Changes by Markus Amalthea Magnuson markus.magnu...@gmail.com:
--
title: argparse: - argparse: append action with default list adds to list
instead of overriding
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16399
Roundup Robot added the comment:
New changeset 6a14f692df1c by Jesus Cea in branch '2.7':
Closes #16183: ZipExtFile object close without file handle closed (backporting
of Issue #9846)
http://hg.python.org/cpython/rev/6a14f692df1c
--
nosy: +python-dev
Roundup Robot added the comment:
New changeset 6a14f692df1c by Jesus Cea in branch '2.7':
Closes #16183: ZipExtFile object close without file handle closed (backporting
of Issue #9846)
http://hg.python.org/cpython/rev/6a14f692df1c
--
nosy: +python-dev
resolution: - fixed
stage: -
Ezio Melotti added the comment:
That's arguably a bug though. If the pragma was critical the program will
silently do the wrong thing by ignoring an existing pragma when the source is
missing (e.g. in production, even after passing all the tests locally).
--
Jesús Cea Avión added the comment:
After reviewing the code, I agree with Martin v. Löwis that stat.py is a
joke. Neither can we trust the numerical constants (each OS is free to choose a
different meaning) neither the code in filemode() can cope with modes with
more than a bit active (like
Changes by Jesús Cea Avión j...@jcea.es:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11016
___
___
Alexander Belopolsky added the comment:
I don't think a comment explaining that default encoding is utf-8 in python 3.x
will improve readability of this code.
if (encoding == NULL)
return PyUnicode_DecodeUTF8(s, size, errors);
seems quite self-explanatory.
--
Mark Lawrence added the comment:
I think this should be closed as slice.indices behaves exactly as I expect it
to, and the returned values are for any sequence and not just range().
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky added the comment:
Is it practical to implement GPS time as datetime given that we don't have
support for leap seconds?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5288
Mark Lawrence added the comment:
Could someone please review this with a view to getting the patch into the 3.4
code base, thanks.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1100942
Terry J. Reedy added the comment:
The original example was about tuples and displaying 'x' instead of '4'. Have
that and *all* the others been fixed?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13349
Changes by Ramchandra Apte maniandra...@gmail.com:
--
title: Improving tee() memory footprint - Reducing tee() memory footprint
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16394
___
Dmytro Korsakov added the comment:
I was unable to reproduce the case with stock python 2.7 neither on OSX nor on
Linux. System python 3.2 seems to be fine too.
At the same time python 2.7 built with debug enabled gets infinite loop and
uses all the cpu.
However, python 3.4 crashes just as
Alexander Belopolsky added the comment:
Juarez,
Are you planning to implement format validation as you described in msg165882?
Without that, date.strptime() is not very useful because it is almost
equivalent to datetime.strptime().date().
--
___
Ezio Melotti added the comment:
Same here, I tested the patch on 3.4 (debug and non-debug) and it seems to fix
the problem.
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15001
Mark Lawrence added the comment:
Please find attached a new file with the copyright notice removed. Would
someone like to review it please.
--
nosy: +BreamoreBoy
Added file: http://bugs.python.org/file27875/fix_reload.py
___
Python tracker
Éric Araujo added the comment:
FixIntern → FixReload
--
stage: - patch review
versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11797
Éric Araujo added the comment:
More importantly, tests would be great.
--
stage: patch review - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11797
___
Changes by Éric Araujo mer...@netwok.org:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1100942
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10182
___
___
Python-bugs-list
Ezio Melotti added the comment:
This seems to be a duplicate of #12634.
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - Random Remarks in class documentation
___
Python tracker rep...@bugs.python.org
Ezio Melotti added the comment:
See also #16048.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12634
___
___
Python-bugs-list mailing list
Roundup Robot added the comment:
New changeset dc96df8556d8 by Ezio Melotti in branch '2.7':
#16304: clarify match objects docs. Initial patch by Jan Duzinkiewicz.
http://hg.python.org/cpython/rev/dc96df8556d8
New changeset 1805fc284201 by Ezio Melotti in branch '3.2':
#16304: clarify match
R. David Murray added the comment:
It doesn't matter whether it is a bug or not (though it is not in the situation
I described). The point is that a working program would stop working. That is
the kind of breakage our backward compatibility policy is designed to protect
against.
--
Ezio Melotti added the comment:
Thanks for the patch!
I committed a slightly modified version.
--
assignee: docs@python - ezio.melotti
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12634
___
___
Python-bugs-list
R. David Murray added the comment:
This behavior is inherited from optparse. I think it is more-or-less
intentional, and in any case it is of long enough standing that I don't think
we can change it. We documented it for optparse in another issue, but I don't
think we made the corresponding
Ezio Melotti added the comment:
The point is that a working program would stop working.
My point is that the program might not be a working program, if the function
fails silently.
Anyway this function is probably not widely used, so I'm fine either ways.
--
101 - 190 of 190 matches
Mail list logo