GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 신뢰성 1: 바이트 패치 길은 관문에 떨어지면 쓰지 않고, 일부만 적용하지 않는다 · Issue #826 · airmang/python-hwpx

신뢰성 1: 바이트 패치 길은 관문에 떨어지면 쓰지 않고, 일부만 적용하지 않는다 #826

New issue
Copy link
New issue
Copy link
Backlog
Backlog
신뢰성 1: 바이트 패치 길은 관문에 떨어지면 쓰지 않고, 일부만 적용하지 않는다#826
Copy link

Description

@airmang
airmang
opened on Nov 25, 2026
Issue body actions

신뢰성 계약(추적 이슈는 python-hwpx에 있다)의 작업 이슈다. 2026-11-25 읽기 전용 감사에서 합성 문서로 확인한 것을 근거로 한다. 기준: python-hwpx main 3930167, python-hwpx-automation main 8899a4e, hwpx-school main c6523e8, 배포본 7.0.1 / 8.0.0.

약속

쓰기 길은 하나다 — 문서 바이트를 쓰는 모든 길이 같은 관문을 거친다.

지금

  • paragraph_patch·apply_body_ops·fill_cells·apply_table_ops·색 지우기 등 바이트 패치 길은 열기 안전 검사에 떨어진 결과도 썼다(패치 판에서 먼저 막는다). 관문에 떨어져 쓰지 않을 때도 결과의 .data에는 열리지 않는 바이트가 실린다.
  • apply_body_ops·fill_cells·apply_table_ops는 거부된 op가 있어도 나머지를 써 놓고 ok=False를 돌려준다. 다시 부르면 두 번 적용된다. paragraph_patch와 edit plan은 전부 아니면 전무라 같은 계열 안에서 규칙이 다르다.
  • replace_package_text는 값 속 줄바꿈을 <hp:t> 안에 글자 그대로 쓴다(hp:lineBreak가 아니다).

끝

  • 바이트 패치 길 전부: 관문에 떨어지면 대상 바이트가 그대로이고 남는 파일이 없다. .data도 돌려주지 않는다.
  • 거부된 op가 하나라도 있으면 아무것도 쓰지 않는 것이 기본이다(부분 적용은 명시해서 고를 때만).
  • replace_package_text의 줄바꿈은 hp:t 안에서 hp:lineBreak, 문단이 아닌 곳에서는 거부. 한/글 확인 1건.
  • 길마다 도는 시험 한 벌(검사에 떨어지는 결과 / 거부 op 섞음 → 대상 그대로).

Activity

  1. airmang
    added a commit that references this issue on Nov 25, 2026

    fix: 쓰기 길의 관문 — 검사에 떨어진 바이트 패치는 쓰지 않고, 이미 있는 .hwp는 덮어쓰지 않고, 거부된 저장은 문…

    636f495
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.