Changes by Nadeem Vawda nadeem.va...@gmail.com:
Added file: http://bugs.python.org/file23158/95016f363e6c.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
Charles-François Natali neolo...@free.fr added the comment:
I don't think that it's a problem to remove private functions.
Alright.
Is it mandatory to send a non-empty message (first argument for sendmsg, b'x'
in your patch)? The original C function sends a random byte :-)
Some
Changes by Nadeem Vawda nadeem.va...@gmail.com:
Added file: http://bugs.python.org/file23159/3017ee1d548d.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
Changes by Nadeem Vawda nadeem.va...@gmail.com:
Removed file: http://bugs.python.org/file23158/95016f363e6c.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
Changes by Nadeem Vawda nadeem.va...@gmail.com:
Removed file: http://bugs.python.org/file23063/f3cf187208ea.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
Changes by Nadeem Vawda nadeem.va...@gmail.com:
Removed file: http://bugs.python.org/file23129/fe2c9998f329.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
Nadeem Vawda nadeem.va...@gmail.com added the comment:
I've attached another patch that includes proper ReST documentation, a
few more tests, and some fixups following Ezio and Amaury's reviews.
--
stage: needs patch - patch review
___
Python tracker
Eric O. LEBIGOT eric.lebi...@normalesup.org added the comment:
Indeed. Thanks. I wish it had been in the documentation. :) This is yet
another reason for me to check how I can submit patches to the doc. :)
I also found out that renaming the .pyo file as .pyc makes Python happy upon
import.
STINNER Victor victor.stin...@haypocalc.com added the comment:
Indeed. Thanks. I wish it had been in the documentation. :) This is yet
another reason for me to check how I can submit patches to the doc. :)
Read http://docs.python.org/devguide/ to learn how to get the source of
the
STINNER Victor victor.stin...@haypocalc.com added the comment:
- if the ancillay data is truncated, struct.unpack will raise an exception
Well, the current C code doesn't check that the data is truncated and it
works correctly, so I don't think that it would be different in Python.
And yes,
Stefan Krah stefan-use...@bytereef.org added the comment:
The buildbots are fine, though I think that in this instance
Gentoo-Non-Debug-3.x is the only bot that actually exercises
the new code path.
So I tested manually on FreeBSD/clang-3.0 and I don't see
anything surprising.
--
New submission from Stefan Krah stefan-use...@bytereef.org:
I'm not sure if this is a good idea: I wonder if it would be an option
to check for overflow behavior at the bottom of ./configure and print a
warning. The patch appears to work for gcc, clang and suncc. It would
have caught the problem
Changes by Stefan Krah stefan-use...@bytereef.org:
--
versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12985
___
Mark Dickinson dicki...@gmail.com added the comment:
I don't see how this is helpful---all it's reporting on is whether that
compiler happened to decide to optimize away that particular comparison;
something which is going to be highly dependent on compiler version, flags,
platform, etc.,
Mark Dickinson dicki...@gmail.com added the comment:
BTW, I suspect that the reason there were no related test failures with the
Intel compiler is that most of the problems in the Python code stem from
multiplications rather than additions. Probably icc isn't sophisticated enough
to optimize
Andrew Jewett jewett@gmail.com added the comment:
Proposed solution and patch to follow. Please let me know if I am posting it
in the wrong place.
The main problem with shlex is that the shlex interface is inadequate to handle
unicode. Specifically it is no longer feasible to provide a
Darren Dale dsdal...@gmail.com added the comment:
Any additional comments?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11610
___
___
Andrew Jewett jewett@gmail.com added the comment:
Not to get side-tracked, but on a related note, it would be nice if there was a
python module which defined sets of unicode characters corresponding to
different categories (similar to the categories listed here:
Ezio Melotti ezio.melo...@gmail.com added the comment:
That can be done programmatically using the unicodedata module. The regex
module (that will hopefully be include in 3.3) is also able to match characters
that belongs to specific categories.
--
John Chandler therealmetal...@gmail.com added the comment:
Just to let you know I haven't forgotten this! I've been pretty busy recently
so might be a while before I implement the changes to the patch suggested in
the code review.
John
--
___
Changes by Evgeny Kapun abacabadabac...@gmail.com:
--
nosy: +abacabadabacaba
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12983
___
___
Changes by Evgeny Kapun abacabadabac...@gmail.com:
--
nosy: +abacabadabacaba
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12729
___
___
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file23147/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12967
___
Éric Araujo mer...@netwok.org added the comment:
Victor: Yes, I know the doc needs an update, that’s why I posted a patch six
weeks ago and asked for a review.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10968
Changes by Éric Araujo mer...@netwok.org:
--
versions: -Python 2.6, Python 3.1, Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12960
___
Éric Araujo mer...@netwok.org added the comment:
Andrew: Thanks for your contribution, but your patch cannot go into 2.7, as we
don’t add new features in stable versions (re-read the whole thread if you need
more info). This report is still open because we need a doc patch to explain
how to
Éric Araujo mer...@netwok.org added the comment:
when installing the distribute package
How? Please tell exactly what command you ran with what Python version.
it could be raised on any other usage as sys.stdout does not have
an 'error' attribute.
It does, in 3.x. Do you think Python has
STINNER Victor victor.stin...@haypocalc.com added the comment:
that’s why I posted a patch six weeks ago and asked for a review
Oh ok, cool, I missed the patches.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10968
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12976
___
___
Python-bugs-list mailing list
Changes by Éric Araujo mer...@netwok.org:
--
components: +Library (Lib) -Extension Modules
nosy: +nadeem.vawda
title: please support lzma compression as an extension and in the tarfile
module - Support xz compression in tarfile module
versions: +Python 3.3 -Python 3.2
Éric Araujo mer...@netwok.org added the comment:
I’ve just found another problem with MANIFEST files created in Windows: they
use CRLF.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue828450
Lars Gustäbel l...@gustaebel.de added the comment:
Attached is a patch with the current state of my work on lzma integration into
tarfile (17 test errors).
--
assignee: - lars.gustaebel
keywords: +patch
Added file: http://bugs.python.org/file23162/2011-09-15-tarfile-lzma.diff
Lars Gustäbel l...@gustaebel.de added the comment:
Today I played around with lzma support for tarfile based on your last patch
(see issue5689). There are a few minor issues that I just wanted to mention, as
they break the tarfile testsuite:
- LZMAFile does not expose a name attribute.
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c6d52971dd2a by Éric Araujo in branch 'default':
Fix packaging.database.Distribution.list_distinfo_files (#12785).
http://hg.python.org/cpython/rev/c6d52971dd2a
--
nosy: +python-dev
New submission from Matt Chaput m...@whoosh.ca:
Currently the 'uuid' module uses os.urandom (in the absence of a system UUID
generation function) to generate random UUIDs in the uuid.uudi4() function.
This patch changes the implementation of uuid4() to use random.getrandbits() as
the source
New submission from jan matejek jmate...@suse.cz:
from Demo/scripts/newslist.py :
# Feel free to copy, distribute and modify this code for
# non-commercial use. If you make any useful modifications, let me
# know!
#
# (c) Quentin Stafford-Fraser 1994
# fra...@europarc.xerox.com
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12986
___
___
Changes by Stefan Krah stefan-use...@bytereef.org:
Added file: http://bugs.python.org/file23164/listobject_overflow.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12973
___
Changes by Stefan Krah stefan-use...@bytereef.org:
Added file: http://bugs.python.org/file23165/itertools_overflow.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12973
___
Stefan Krah stefan-use...@bytereef.org added the comment:
With issue12975.diff, listobject_overflow.diff and itertools_overflow.diff
I don't get any more failures.
Also, of course issue12975.diff looks correct to me if we assume:
Stefan Krah stefan-use...@bytereef.org added the comment:
My rationale was something like this: If a compiler optimizes away signed
arithmetic overflow, this particular comparison will most likely be in
the set of optimizations, since it seems like low hanging fruit.
Of course it doesn't
Changes by Charles-François Natali neolo...@free.fr:
Added file: http://bugs.python.org/file23166/multiprocessing_fd-1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12981
___
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file23156/multiprocessing_fd.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12981
___
Jakob Malm jakob.m...@gmail.com added the comment:
Patch without reflow attached.
This is my first patch to CPython. I considered submitting the patch without
reflowing the paragraph, to make the changes clearer, but I thought that that
would mean more work for the committer, if the patch
Mark Dickinson dicki...@gmail.com added the comment:
Gah; did I really misnumber that issue patch? Sorry.
Mark, did you write those rules down somewhere?
Well, they're all in the standard, which is publicly available. (Or at least,
a draft of the standard that's pretty much
Mark Dickinson dicki...@gmail.com added the comment:
an assumption that the C implementation will never raise an
'implementation-defined' signal (C99 6.3.1.3p3).
Sorry, this should have been more explicit: will never raise ... when
converting long to unsigned long
--
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
-There are two kinds of date and time objects: naive and aware. This
+Date and time objects are either naive or aware. This
Shouldn't we say datetime and time instead of date and time?
There is no tzinfo attribute in date
Mark Dickinson dicki...@gmail.com added the comment:
Those two patches (for listobject and itertools) look fine to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12973
___
Jakob Malm jakob.m...@gmail.com added the comment:
Shouldn't we say datetime and time instead of date and time?
There is no tzinfo attribute in date objects.
Perhaps like this?
:class:`datetime` and :class:`time` objects are...
--
___
Python
Andrew Jewett jewett@gmail.com added the comment:
That can be done programmatically using the unicodedata module.
The regex module (that will hopefully be include in 3.3) is
also able to match characters that belongs to specific categories.
Ezio: Thanks. (New to me, actually) Is
Stefan Krah stefan-use...@bytereef.org added the comment:
Mark Dickinson rep...@bugs.python.org wrote:
Well, they're all in the standard, which is publicly available.
I have the real thing. :)
The correctness of the patch depends on:
(2) an assumption that the C implementation will never
anatoly techtonik techto...@gmail.com added the comment:
On Thu, Sep 15, 2011 at 10:42 PM, Alexander Belopolsky
rep...@bugs.python.org wrote:
Shouldn't we say datetime and time instead of date and time?
There is no tzinfo attribute in date objects.
Does that mean that if aware `datetime` is
STINNER Victor victor.stin...@haypocalc.com added the comment:
The patch looks correct. Did you try it on Linux, FreeBSD and/or Windows?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12981
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
On Thu, Sep 15, 2011 at 4:17 PM, anatoly techtonik
rep...@bugs.python.org wrote:
..
Does that mean that if aware `datetime` is converted to `date` and
then back, the tzinfo information is lost and object implicitly
becomes
Charles-François Natali neolo...@free.fr added the comment:
I only tried on Linux.
By the way, what's the simplest way to create a personal clone to test patches
on some of the buildbots before committing them?
--
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
- Click on Server-side clone on http://hg.python.org/cpython
- on your computer, hg clone default myclone # default if your local clone of
cpython, default branch
- cd myclone; edit code; hg ci
- edit .hg/hgrc to update the
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b5f4c4085ae6 by Ned Deily in branch '2.7':
Issue #12935: Correct typo in findertools.
http://hg.python.org/cpython/rev/b5f4c4085ae6
--
nosy: +python-dev
___
Python
Ned Deily n...@acm.org added the comment:
Thanks for the report. Fixed, although findertools is woefully obsolete and no
longer exists in Python 3. For working with the Finder in current OS X
releases, use appscript instead (http://pypi.python.org/pypi/appscript/).
--
assignee:
New submission from Brian Gernhardt bcg2...@rit.edu:
Python 3.2.1 (default, Jul 10 2011, 20:02:51) [MSC v.1500 64 bit (AMD64)] on
win32
Steps:
1) Start IDLE
2) Open Save dialog (File Save or Ctrl-S)
3) Select Libraries from the buttons on the left or the dropdown on top.
4) Double-click on
Changes by Nadeem Vawda nadeem.va...@gmail.com:
Added file: http://bugs.python.org/file23168/591277fe6b4a.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
Changes by Nadeem Vawda nadeem.va...@gmail.com:
Removed file: http://bugs.python.org/file23159/3017ee1d548d.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Thanks for getting the ball rolling with that. I'll want to try and
familiarize myself with the code for tarfile module before I start
changing stuff, but those points shouldn't be hard to fix, one way
or the other.
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset d3e072083ff3 by Ned Deily in branch 'default':
Issue #12765: Fix packaging.test.test_database failures on OS X due
http://hg.python.org/cpython/rev/d3e072083ff3
--
___
Ned Deily n...@acm.org added the comment:
The database test failures were due to the fact that, on OS X, the tempdir was
created in /var which on OS X is actually a symlink to /private/var so the
tests for path inclusion which used startswith were failing. I added a call to
os.path.realpath
Matt Chaput m...@whoosh.ca added the comment:
Not sure if this is better as a separate feature request or a comment here,
but... the new version of .NET includes an option to specify a time limit on
evaluation of regexes (not sure if this is a feature in other regex libs). This
would be
New submission from Nam Nguyen bits...@gmail.com:
The module search path is constructed from PYTHONPATH env-var, then zip path,
then HKCU PythonPath, then HKLM PythonPath, then PYTHONPATH define (in
pyconfig.h), and finally argv[0]. If PYTHONHOME is available, the PYTHONPATH
define is
Changes by John Reese jre...@leetcode.net:
--
nosy: -jreese
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
___
Python-bugs-list mailing
David Lam d...@dlam.me added the comment:
Hm, it seems right now that the only time that happens is when creating a
message based on an mbox message. The 'status' and 'x-status' attributes are
deleted.
Any hints on what I could to do figure out what special attributes should be
deleted? I
Meador Inge mead...@gmail.com added the comment:
I think Mark's original pointer to issue1762561 was right on. The last
two cases are failing due to the mixed-endian format (mentioned
in that issue) used in OABI.
You can see this in the output of 'test_endian_double':
'182D4454FB210940' !=
Changes by Brian Curtin br...@python.org:
--
keywords: +needs review
stage: - patch review
type: - security
versions: -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12989
___
70 matches
Mail list logo